Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Use a value as a cell reference
I want to be able to use a number in a cell as a row reference in a formula.
For example, suppose a1=95, a2=149. I want to be able to create a formula equivalent to "=max(d95:d149)" using the values in a1 and a2 to define the range. Thanks for your help |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Use a value as a cell reference
=MAX(INDIRECT("D"&A1&":D"&A2))
-- Kind regards, Niek Otten Microsoft MVP - Excel "Rachel" wrote in message ... |I want to be able to use a number in a cell as a row reference in a formula. | For example, suppose a1=95, a2=149. I want to be able to create a formula | equivalent to "=max(d95:d149)" using the values in a1 and a2 to define the | range. | Thanks for your help |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Nesting a sheet name reference within a cell reference??? | Excel Discussion (Misc queries) | |||
Formulas that reference cells that reference another cell | Excel Discussion (Misc queries) | |||
absolute cell reference A spreadsheet cell reference that does no | Excel Discussion (Misc queries) | |||
problem with cell reference in =sum(offset(cell reference,x,y,z,a)). Want cell ref to be variable. | Excel Worksheet Functions | |||
Problem with =sum(offset(cell reference,w,x,y,z). I want cell reference to be variable | Excel Worksheet Functions |