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 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
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.


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
if is error then "No Data", if not then average range SK08 Excel Worksheet Functions 1 February 4th 10 09:21 PM
how to write formula for countif (range,"<2" &"3") Vinod Tripathi Excel Discussion (Misc queries) 1 May 1st 09 07:27 AM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
Formula to figure an average on a range of cells with an "if" form lucyo912 Excel Worksheet Functions 6 August 5th 08 11:48 PM
Array as a "named range" - formula ok in cells, but error as "named range" tskogstrom Excel Discussion (Misc queries) 11 December 28th 06 04:44 PM


All times are GMT +1. The time now is 04:55 AM.

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"