View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Glenn Glenn is offline
external usenet poster
 
Posts: 1,240
Default Calculate row/column number in reference formula

mirin wrote:
Hello,

I have the below formula in a cell:
=Sheet1!A19

Now instead of 19 I want to calculate the value 19 like (current row
number -1) but obviously putting the formula as =Sheet1!A(Row()-1)
doesn't work. How can I set it as a calculated value?

Thanks!


=INDIRECT("Sheet1!A"&ROW()-1))