Average Cells In a Column

KBurns

New Member
Joined
Oct 13, 2002
Messages
1
Sounds simple but I'm a new user and can't quite figure it out:
I have a column with over 100 numbers listed. I want to average cells A2, A7, A12, A17, A22, A27, etc. for the entire workbook in that one column.
Please use simple words so I get it! :smile:
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
It's easy if you don't mind using another column... a formula can be easily copied down to pull only every 5th number, then you use the average function to get the average. Shoot me an email if that doesn't makes sense..

scott@thefuturesbroker.com
 
Upvote 0
On 2002-10-14 15:15, KBurns wrote:
Sounds simple but I'm a new user and can't quite figure it out:
I have a column with over 100 numbers listed. I want to average cells A2, A7, A12, A17, A22, A27, etc. for the entire workbook in that one column.
Please use simple words so I get it! :smile:

(1.) Select the vertical range of interest in A.
(2.) Go to the Name Box on the Formula Bar.
(3.) Type Srange (or something more intelligible to you) and hit enter.
(4.) Use the following formula to sum every 5th number in Srange starting from its first value...

=SUMPRODUCT((MOD(ROW(Srange)-CELL("Row",Srange)+0,5)=0)*(Srange))


And for the average...

=SUMPRODUCT((MOD(ROW(Srange)-CELL("Row",Srange)+0,5)=0)*(Srange))/MAX(1,SUMPRODUCT((MOD(ROW(Srange)-CELL("Row",Srange)+0,5)=0)+0))
This message was edited by Aladin Akyurek on 2002-10-14 15:42
 
Upvote 0
{=AVERAGE(A2,IF(MOD(ROW(A7:A27)-2,5),"",A7:A27))}

Note: This is an array formula which must be entered using the Control+Shift+Enter key combination. The outermost braces, { }, are not entered by you -- they're supplied by Excel in recognition of a properly entered array formula. For more on array formulas see the Excel Help topic for "About array formulas and how to enter them".
 
Upvote 0

Forum statistics

Threads
1,222,435
Messages
6,166,019
Members
452,008
Latest member
Customlogoflipflops

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top