ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   using Number from Cell for Celladress (https://www.excelbanter.com/excel-discussion-misc-queries/146801-using-number-cell-celladress.html)

maqqusz

using Number from Cell for Celladress
 
Hi,

For Example in Cell A1 is the Number 1234 and in Cell B1 is the
Number 5678. How can I use the Number in the Cells A1 and B1 to
Adress other Cells.

For example I want to Count the Cells with content from D1234 to D5678,
how can I put that into a formula whitch uses the Content from the Cells
A1 and B1 for adressing.

In Cell C1 I want to have something like this:
=Count("D"+Content(A1):"D"+Content(B1))

It that possible?

Markus

http://home.arcor.de/maqqusz/wetterr...elquestion.PNG

Trevor Shuttleworth

using Number from Cell for Celladress
 
Markus

=COUNT(INDIRECT("D" & A1 & ":D" & B1))
=SUM(INDIRECT("D" & A1 & ":D" & B1))

Regards

Trevor


"maqqusz" wrote in message
...
Hi,

For Example in Cell A1 is the Number 1234 and in Cell B1 is the
Number 5678. How can I use the Number in the Cells A1 and B1 to
Adress other Cells.

For example I want to Count the Cells with content from D1234 to D5678,
how can I put that into a formula whitch uses the Content from the Cells
A1 and B1 for adressing.

In Cell C1 I want to have something like this:
=Count("D"+Content(A1):"D"+Content(B1))

It that possible?

Markus

http://home.arcor.de/maqqusz/wetterr...elquestion.PNG





All times are GMT +1. The time now is 12:39 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com