A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Hold a cell range for an "average formula"



 
 
Thread Tools Display Modes
  #1  
Old May 28th, 2010, 09:30 PM posted to microsoft.public.excel.worksheet.functions
Wendy Akers
external usenet poster
 
Posts: 1
Default Hold a cell range for an "average formula"

I add a column every week to my work sheet and want the formula to always
calculate the current 5 column range.


  #2  
Old May 28th, 2010, 09:45 PM posted to microsoft.public.excel.worksheet.functions
Glenn[_6_]
external usenet poster
 
Posts: 1,245
Default Hold a cell range for an "average formula"

Wendy Akers wrote:
I add a column every week to my work sheet and want the formula to always
calculate the current 5 column range.



Add a column WHERE?

What "formula"?

Where is the "current 5 column range"?
  #3  
Old May 29th, 2010, 12:14 AM posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_]
external usenet poster
 
Posts: 1,764
Default Hold a cell range for an "average formula"

Hi,

Let's say your data is in range C3:H3. In cell K3, enter the following
array formula (Ctrl+Shift+Enter) to get the average

=AVERAGE(OFFSET(INDIRECT(ADDRESS(3,MAX(ISNUMBER(C3 :J3)*COLUMN(C3:J3))+1)),0,-5,1,5))

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Wendy Akers" Wendy wrote in message
...
I add a column every week to my work sheet and want the formula to always
calculate the current 5 column range.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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