ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Variable range reference (https://www.excelbanter.com/excel-discussion-misc-queries/51547-variable-range-reference.html)

Kyle Szukaitis

Variable range reference
 
How do I use the value of a cell as a reference to a range?

I have a cell value that is assigned by a series of IF statements. I would
like to use the value of this cell within a INDEX and MATCH function to
define the range.



Dave Peterson

Variable range reference
 
=indirect()
???

=index(indirect(a1), ....)

if A1 contained something that looked like an address.

Kyle Szukaitis wrote:

How do I use the value of a cell as a reference to a range?

I have a cell value that is assigned by a series of IF statements. I would
like to use the value of this cell within a INDEX and MATCH function to
define the range.


--

Dave Peterson


All times are GMT +1. The time now is 06:19 AM.

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