Excel Averageif help

Elshe

New Member
Joined
Mar 16, 2015
Messages
17
I need to work out an averageif calculation but I'm having an issue with future data.

So I get data on a weekly basis and log them column A, B, C, D etc. I don't get this in a monthly format so I want to add a calculation to find the average of ABCD (the weeks in Jan) and some will be blank.

Easy, do an Averageif but when I'm setting it up for the weeks that go into Jan, then Feb and so on, the cell that holds the AverageIF for the weeks in December are showing a DIV error.

I need to do it so the cell stays blank or gives you the average. At the end of each row I have an overall average for the year and with the DIV error that doesn't work.

This is what I currently have : =AVERAGEIF($E3:$H3,">0") Any suggestions?
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
How about

=IFERRORRAVERAGEIF($E3:$H3,">0"),"")

It wasn't quite it but I amended it to this, =IFERROR(AVERAGEIF($BA3:$BD3,">0"),"") and it works. Thanks for the point in the right direction. It's bugged me for weeks.
 
Upvote 0
Oops, I didn't notice the typo in the formula when I posted it, glad you figured it out :)
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,214
Members
453,024
Latest member
Wingit77

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