#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Capt Bill
 
Posts: n/a
Default Averaging data


I need to average only the last 30 entrys in a row of data. Is thier a
way?


--
Capt Bill
------------------------------------------------------------------------
Capt Bill's Profile: http://www.excelforum.com/member.php...o&userid=32850
View this thread: http://www.excelforum.com/showthread...hreadid=526652

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dav
 
Posts: n/a
Default Averaging data


Their are lots of ways and it depends on what data is in other rows and
where the data is continuous. Average ignores blank cells. If there are
no blank cells and there are at least 30 cells something like the
following should work
=SUM(OFFSET(A10,0,COUNT(B10:BD10)-29,1,30))/30

where the data is in the range b10:bd10

Regards

Dav


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=526652

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Averaging data

=AVERAGE(LARGE(1:1,ROW(INDIRECT("1:"&MIN(COUNT(1:1 ),30)))))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

This will cater for less than 30 entries in the row.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Capt Bill" wrote
in message ...

I need to average only the last 30 entrys in a row of data. Is thier a
way?


--
Capt Bill
------------------------------------------------------------------------
Capt Bill's Profile:

http://www.excelforum.com/member.php...o&userid=32850
View this thread: http://www.excelforum.com/showthread...hreadid=526652



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
ranking query JaimeTimbrell Excel Discussion (Misc queries) 2 February 16th 06 08:09 AM
Inserting a new line when external data changes Rental Man Excel Discussion (Misc queries) 0 January 11th 06 07:05 PM
incremental averaging of data ndflyguy Excel Discussion (Misc queries) 1 October 27th 05 04:50 PM
Line Graph Data Recognition Nat Charts and Charting in Excel 2 April 30th 05 02:07 PM
Averaging only cells with data Randy Lefferts Excel Discussion (Misc queries) 9 November 30th 04 08:02 PM


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