Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Calculate row/column number in reference formula

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!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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))
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Calculate row/column number in reference formula

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


"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!
.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reference a number from a different column in a formula rhhince[_2_] Excel Worksheet Functions 2 November 9th 08 11:15 PM
Calculate a number for 80% of column Hennie[_2_] Excel Worksheet Functions 2 November 29th 07 06:49 PM
How to calculate and display the number of values in a column control engineer Excel Discussion (Misc queries) 2 April 9th 07 08:02 PM
How do I Calculate Percentages for each number in a column? Dena B Excel Discussion (Misc queries) 5 August 10th 05 08:46 PM
Calculate number of days in a column of dates Barbara Excel Discussion (Misc queries) 3 May 25th 05 04:21 PM


All times are GMT +1. The time now is 02:08 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"