=AVERAGEIF formula error help

redspanna

Well-known Member
Joined
Jul 27, 2005
Messages
1,602
Office Version
  1. 365
Platform
  1. Windows
Hi all

I'm using the following formula to try and obtain an average of the values stored through AT2:AT86 if the value in AW1:AW86 is equal to 'September'

Code:
=AVERAGEIF(AW1:AW86, "September", AT2:AT86)

because the values stored through AW1:AW86 to get 'September' are Formulas I'm getting a #DIV/0 error

How to I get the formula above to work??

Thanks in advance

regards
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
...ok and a work around to solve this??
any thoughts please

thanks
 
Upvote 0
Hard to say. What is the formula you are using?

I will have a look at the file if you can upload it to DropBox or similar and provide a link (not all members can or will access file-sharing sites, however).
 
Upvote 0
I've used a formula to put the required result into a 'TEXT' format like below
Code:
=IF(ISBLANK(A2),"",TEXT(A2,"MMMM"))
Then used my original formula above =AVERAGEIF(AW1:AW86, "September", AT2:AT86) and this has fixed the issue

many thanks and Happy Christmas to all :)
 
Upvote 0

Forum statistics

Threads
1,214,520
Messages
6,120,016
Members
448,936
Latest member
almerpogi

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