averageifs Issue

Ironman2

New Member
Joined
Oct 11, 2016
Messages
6
I am trying to average a set of data from column V to column AE. The data in these columns are pulled using a formula that returns "" if no value is there, so not all cells in this area are populated. I need the columns averageif, based on the 3 criteria, one being whether the name in A:A matches the column header, and if the values in column B are between 2 row headers. I have tried using the formula =AVERAGEIFS(V2:AE520,H:H,">="&AW6,H:H,"<"&AW7,A:A,BC1) where H:H has the values which I want returned between, and A:A has the column header. Whenver I run this formula it returns error. I cannot seem to have any luck with this, can anyone tell me what is causing this issue? If I average with no conditions, it will average just fine.
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Try the following formula (to be entered using Ctrl+Shift+Enter,not just Enter):
Note: lightly tested.

=AVERAGE(IF(($H$2:$H$520>=$AW$6)*($H$2:$H$520<$AW$7)*($A$2:$A$520=$BC$1),$V$2:$AE$520))
 
Upvote 0

Forum statistics

Threads
1,214,908
Messages
6,122,187
Members
449,072
Latest member
DW Draft

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