Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Neil_Pattison
 
Posts: n/a
Default Making a formula continuous


I have the formula =SUM(K$5:K10)/5. I need the next cell down to have
the formula =SUM(K$5:K11)/6 and then the next down =SUM(K$5:K12)/7 and
so on.

The problem I have is getting the last number to add by 1 each time,
without typing it in by hand.

Does anyone know how to do this. Any help would be greatly appreciated.


--
Neil_Pattison
------------------------------------------------------------------------
Neil_Pattison's Profile: http://www.excelforum.com/member.php...o&userid=27696
View this thread: http://www.excelforum.com/showthread...hreadid=474141

  #2   Report Post  
Neil_Pattison
 
Posts: n/a
Default


This is sorted now, it was the AVERAGE function I was after


--
Neil_Pattison
------------------------------------------------------------------------
Neil_Pattison's Profile: http://www.excelforum.com/member.php...o&userid=27696
View this thread: http://www.excelforum.com/showthread...hreadid=474141

  #3   Report Post  
AlfD
 
Posts: n/a
Default


Hi!

You could use the fact that ROW() reads the number of the row in which
the formula appears.

Alf


--
AlfD
------------------------------------------------------------------------
AlfD's Profile: http://www.excelforum.com/member.php...fo&userid=4785
View this thread: http://www.excelforum.com/showthread...hreadid=474141

  #4   Report Post  
B. R.Ramachandran
 
Posts: n/a
Default

Hi,

From your formulas, it looks like the denominator is one less than the
number of values added. So the following formula should work,

=SUM(K$5:K10)/(COUNT(K$5:K10-1)

Regards,
B. R. Ramachandran

"Neil_Pattison" wrote:


I have the formula =SUM(K$5:K10)/5. I need the next cell down to have
the formula =SUM(K$5:K11)/6 and then the next down =SUM(K$5:K12)/7 and
so on.

The problem I have is getting the last number to add by 1 each time,
without typing it in by hand.

Does anyone know how to do this. Any help would be greatly appreciated.


--
Neil_Pattison
------------------------------------------------------------------------
Neil_Pattison's Profile: http://www.excelforum.com/member.php...o&userid=27696
View this thread: http://www.excelforum.com/showthread...hreadid=474141


  #5   Report Post  
B. R.Ramachandran
 
Posts: n/a
Default

Hi,

There was a typo in the formula in my earlier reply. It should be,
=SUM(K$5:K10)/(COUNT(K$5:K10)-1)

Regards,
B. R. Ramachandan

"Neil_Pattison" wrote:


I have the formula =SUM(K$5:K10)/5. I need the next cell down to have
the formula =SUM(K$5:K11)/6 and then the next down =SUM(K$5:K12)/7 and
so on.

The problem I have is getting the last number to add by 1 each time,
without typing it in by hand.

Does anyone know how to do this. Any help would be greatly appreciated.


--
Neil_Pattison
------------------------------------------------------------------------
Neil_Pattison's Profile: http://www.excelforum.com/member.php...o&userid=27696
View this thread: http://www.excelforum.com/showthread...hreadid=474141


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
writing a formula for a colored value aaronwexler New Users to Excel 11 September 1st 05 03:11 PM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Cease Excel's "formula making" Buff Excel Discussion (Misc queries) 3 December 23rd 04 05:12 PM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM


All times are GMT +1. The time now is 11:03 PM.

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

About Us

"It's about Microsoft Excel"