Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
yirawan
 
Posts: n/a
Default Last Number to Average


Is it possible to average up to certain row indicated in "Last number to
average" or C8

A B C
1 5
2 7
3 8
4 10
5 6
6 10
7
8 Last number (NO.) to average: 4 (i would like to average from
A1 to A4)

REsult = 7.5 or (5+7+8+10)/4

Thanks much


--
yirawan
------------------------------------------------------------------------
yirawan's Profile: http://www.excelforum.com/member.php...o&userid=29036
View this thread: http://www.excelforum.com/showthread...hreadid=487681

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bpeltzer
 
Posts: n/a
Default Last Number to Average

=AVERAGE(OFFSET($A$1,0,0,A8,1)). This will start in A1 and average the
number of rows indicated in A8.

"yirawan" wrote:


Is it possible to average up to certain row indicated in "Last number to
average" or C8

A B C
1 5
2 7
3 8
4 10
5 6
6 10
7
8 Last number (NO.) to average: 4 (i would like to average from
A1 to A4)

REsult = 7.5 or (5+7+8+10)/4

Thanks much


--
yirawan
------------------------------------------------------------------------
yirawan's Profile: http://www.excelforum.com/member.php...o&userid=29036
View this thread: http://www.excelforum.com/showthread...hreadid=487681


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Harlan Grove
 
Posts: n/a
Default Last Number to Average

bpeltzer wrote...
=AVERAGE(OFFSET($A$1,0,0,A8,1)). This will start in A1 and average the
number of rows indicated in A8.

....

Variation on this using nonvolatile functions.

=AVERAGE($A$1:INDEX($A:$A,A8))

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
yirawan
 
Posts: n/a
Default Last Number to Average


thanks much


--
yirawan
------------------------------------------------------------------------
yirawan's Profile: http://www.excelforum.com/member.php...o&userid=29036
View this thread: http://www.excelforum.com/showthread...hreadid=487681

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
Pivot Table - Average of counts Dan in NY Excel Worksheet Functions 0 August 19th 05 08:57 PM
Average of count in pivot tables Dan in NY Excel Worksheet Functions 0 August 17th 05 11:31 PM
Count number of runs above or below average waxwing Excel Worksheet Functions 1 August 11th 05 12:12 AM
average function in Excel 2002 Sherry New Users to Excel 13 May 8th 05 01:49 PM
Random Number Questions Greegan Excel Worksheet Functions 1 January 5th 05 02:00 AM


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