Average every 3rd column in a row

JTL9161

Well-known Member
Joined
Aug 29, 2012
Messages
567
Office Version
  1. 365
Platform
  1. Windows
I am trying to average every 3rd cell in a row starting B then F, I,...etc. to BH.

I am using this =AVERAGE(IF(MOD(COLUMN(B$38:BH$38),3)=0,B$38:BH$38,"")) but when answer should be 100 i am getting 10

Thanks,
James
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Every 3rd cell starting at B would be B, E, H. Not B, F, I.
If it should be B,E H etc then the Mod should =2 not 0
 
Upvote 0
What would it be for B, F, I, L.... I am using the one i entered abovie
 
Upvote 0
But B to F is 4 columns & the others are 3 columns.
 
Upvote 0
Ok, how about
Excel Formula:
=AVERAGE(FILTER(B$38:BH$38,MOD(COLUMN(B$38:BH$38),3)=0))
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,842
Messages
6,127,230
Members
449,371
Latest member
strawberrish

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