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 can a1 reference style and r1c1 style be used in same formula?

I need to use a formula like sum(c1.c5)/r[4]c[-1].

Since as and when I add any rows between row 1 & 5 the formula should
automatically change to sum(c1.c6) but the cell as a divison should always be
the value in the cell 4 rows down in B column.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 266
Default can a1 reference style and r1c1 style be used in same formula?

"rjagga" skrev i en meddelelse
...
I need to use a formula like sum(c1.c5)/r[4]c[-1].

Since as and when I add any rows between row 1 & 5 the formula should
automatically change to sum(c1.c6) but the cell as a divison should always
be
the value in the cell 4 rows down in B column.



rjagga

This formula will do the job:

=SUM($C$1:$C$5)/OFFSET($C$1:$C$5,(ROWS($C$1:$C$5)-1)+4,-1,1,1)


--
Best regards
Leo Heuser

Followup to newsgroup only please.


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
Puzzled by statement about R1C1 style in "Escape from Excel Hell" [email protected] Excel Discussion (Misc queries) 3 April 12th 06 01:04 AM
R1C1 Reference Style won't STAY gone? khrystle Excel Discussion (Misc queries) 5 March 1st 06 11:36 PM
I switched on the R1C1 reference style but I can't switch it off a gello Excel Discussion (Misc queries) 1 January 18th 06 04:33 PM
R1C1 reference style Peg P Excel Discussion (Misc queries) 2 November 15th 05 07:48 PM
R1C1 reference Tony S Excel Discussion (Misc queries) 1 May 10th 05 05:58 PM


All times are GMT +1. The time now is 07:10 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"