Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
bachya1208
 
Posts: n/a
Default Automation of Averages (X-posted)


Hi everyone,

I have the following situation: I have 10,000 numbers all in the first
column (A) in an Excel spreadsheet. I need to computer the averages of
every 10 numbers (that is, the average of A1:A10, A11:A20, A21:A30, and
so on). I know how to do this for every 1 cell (just by dragging down),
but no idea how to do it for every 10 cells. Doing this by hand means
that I'm going to have to deal with 1,000 separate values,
manually...and that's not fun.

Any ideas? Thanks.
Edit/Delete Message


--
bachya1208
------------------------------------------------------------------------
bachya1208's Profile: http://www.excelforum.com/member.php...o&userid=34026
View this thread: http://www.excelforum.com/showthread...hreadid=537863

  #2   Report Post  
Posted to microsoft.public.excel.misc
Jerry W. Lewis
 
Posts: n/a
Default Automation of Averages (X-posted)

One approach is to put
=AVERAGE(A1:A10)
in B1, select cells B1:B10 (the formula and 9 blank cells) then either drag
down or copy, select the rest of the 10000 rows in column B and paste.

Jerry

"bachya1208" wrote:


Hi everyone,

I have the following situation: I have 10,000 numbers all in the first
column (A) in an Excel spreadsheet. I need to computer the averages of
every 10 numbers (that is, the average of A1:A10, A11:A20, A21:A30, and
so on). I know how to do this for every 1 cell (just by dragging down),
but no idea how to do it for every 10 cells. Doing this by hand means
that I'm going to have to deal with 1,000 separate values,
manually...and that's not fun.

Any ideas? Thanks.
Edit/Delete Message


--
bachya1208
------------------------------------------------------------------------
bachya1208's Profile: http://www.excelforum.com/member.php...o&userid=34026
View this thread: http://www.excelforum.com/showthread...hreadid=537863


  #3   Report Post  
Posted to microsoft.public.excel.misc
Elkar
 
Posts: n/a
Default Automation of Averages (X-posted)

Try this:

=AVERAGE(OFFSET($A$1:$A$10,ROW()*10-10,0))

HTH,
Elkar


"bachya1208" wrote:


Hi everyone,

I have the following situation: I have 10,000 numbers all in the first
column (A) in an Excel spreadsheet. I need to computer the averages of
every 10 numbers (that is, the average of A1:A10, A11:A20, A21:A30, and
so on). I know how to do this for every 1 cell (just by dragging down),
but no idea how to do it for every 10 cells. Doing this by hand means
that I'm going to have to deal with 1,000 separate values,
manually...and that's not fun.

Any ideas? Thanks.
Edit/Delete Message


--
bachya1208
------------------------------------------------------------------------
bachya1208's Profile: http://www.excelforum.com/member.php...o&userid=34026
View this thread: http://www.excelforum.com/showthread...hreadid=537863


  #4   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default Automation of Averages (X-posted)

One way

=AVERAGE(INDEX(A:A,ROWS($A$1:A1)*10-9):INDEX(A:A,ROWS($A$1:$A1)*10))

--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com


"bachya1208" wrote
in message ...

Hi everyone,

I have the following situation: I have 10,000 numbers all in the first
column (A) in an Excel spreadsheet. I need to computer the averages of
every 10 numbers (that is, the average of A1:A10, A11:A20, A21:A30, and
so on). I know how to do this for every 1 cell (just by dragging down),
but no idea how to do it for every 10 cells. Doing this by hand means
that I'm going to have to deal with 1,000 separate values,
manually...and that's not fun.

Any ideas? Thanks.
Edit/Delete Message


--
bachya1208
------------------------------------------------------------------------
bachya1208's Profile:
http://www.excelforum.com/member.php...o&userid=34026
View this thread: http://www.excelforum.com/showthread...hreadid=537863



  #5   Report Post  
Posted to microsoft.public.excel.misc
bachya1208
 
Posts: n/a
Default Automation of Averages (X-posted)


Thank you both for your help.


--
bachya1208
------------------------------------------------------------------------
bachya1208's Profile: http://www.excelforum.com/member.php...o&userid=34026
View this thread: http://www.excelforum.com/showthread...hreadid=537863

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
Calculating weighted averages rgl Excel Discussion (Misc queries) 6 February 22nd 06 06:15 PM
averages in pivot tables emcnaughton Excel Discussion (Misc queries) 1 January 6th 06 07:14 PM
Function for generating monthly & weekly averages picklet222 Excel Worksheet Functions 4 December 8th 05 09:00 PM
calculating averages Golf Averages Excel Discussion (Misc queries) 1 August 15th 05 08:25 PM
Excel Automation SelectionChange event cpotts Excel Discussion (Misc queries) 1 December 20th 04 05:15 PM


All times are GMT +1. The time now is 01:10 AM.

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"