I need to average only the last 30 entrys in a row of data. Is thier a
way?--
Capt Bill
------------------------------------------------------------------------
Capt Bill's Profile: www.excelforum.com/member.php...oamp;userid=32850
View this thread: www.excelforum.com/showthread...hreadid=526652
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: www.excelforum.com/member.php...oamp;userid=27107
View this thread: www.excelforum.com/showthread...hreadid=526652=AVERAGE(LARGE(1:1,ROW(INDIRECT(quot;1:quot;amp;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)
quot;Capt Billquot; gt; wrote
in message ...
gt;
gt; I need to average only the last 30 entrys in a row of data. Is thier a
gt; way?
gt;
gt;
gt; --
gt; Capt Bill
gt; ------------------------------------------------------------------------
gt; Capt Bill's Profile:
www.excelforum.com/member.php...oamp;userid=32850
gt; View this thread: www.excelforum.com/showthread...hreadid=526652
gt;
- Dec 18 Thu 2008 20:48
Averaging data
close
全站熱搜
留言列表
發表留言