Averages - HELP!!!

rduncan

New Member
Joined
Apr 6, 2010
Messages
10
I have a sheet that contains data that repeats. For example, e10 to e27 contains a mail quantity, revenue, credit payments, etc. These same 18 sets of data are duplicated down the sheet for different groups. I need to find the average of the following: e26,e45,e64,e83,e102,e121,e140,e159. if it helps, the cells that i need to get the average of is every 19th cell. how the heck can i get this average??? :ROFLMAO:
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Try this array formula

=AVERAGE(IF((MOD(ROW(E26:E159),19)=7)*(E26:E159<>""),E26:E159))
 
Upvote 0
Try the following formula, which needs to be confirmed with CONTROL+SHIFT+ENTER, not just ENTER...

=AVERAGE(IF(MOD(ROW(E26:E159)-ROW(E26),19)=0,E26:E159))

To allow empty cells...

=AVERAGE(IF(MOD(ROW(E26:E159)-ROW(E26),19)=0,IF(E26:E159<>"",E26:E159)))

...which also needs to be confirmed with CONTROL+SHIFT+ENTER.
 
Last edited:
Upvote 0
Pick an empty cell...type into it =AVERAGE(
Hold down the ctrl key and click on each of those 8 cells then hit the enter key.
 
Upvote 0
i forgot to mention that i don't want it to average in any of those cells if they contain 0. does that change the formulas put forth so far, any?
 
Upvote 0
i forgot to mention that i don't want it to average in any of those cells if they contain 0. does that change the formulas put forth so far, any?

Try...

=AVERAGE(IF(MOD(ROW(E26:E159)-ROW(E26),19)=0,IF(E26:E159>0,E26:E159)))

...confirmed with CONTROL+SHIFT+ENTER.
 
Upvote 0

Forum statistics

Threads
1,215,196
Messages
6,123,578
Members
449,108
Latest member
rache47

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