Averageif Statement

DarrenF

Board Regular
Joined
Jun 9, 2014
Messages
85
I'm unsuccessful at using the below formula to average the numbers in column V, but need to set certain criteria. I'll try and break it down to make sense.

=AVERAGEIFS(DATA!$I:$I,">="&$A$2,DATA!$I:$I,"<="&$C$2,DATA!$F:$F,"*Home Internet*",$V:$V)

DATA!$I:$I,">="&$A$2,DATA!$I:$I,"<="&$C$2 is my date range. Example: Between 6/21/2020 and 6/27/2020

DATA!$F:$F,"*Home Internet*" is only Home Internet ticket types

$V:$V based on the 2 above column criteria average only the criteria numbers in column V should be averaged.
 

Some videos you may like

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Eric W

MrExcel MVP
Joined
Aug 18, 2015
Messages
10,639
For an AVERAGEIFS, you need to put the average range first:

=AVERAGEIFS($V:$V,Data!$I:$I,">="&$A$2,Data!$I:$I,"<="&$C$2,Data!$F:$F,"*Home Internet*")

And is the $V:$V column not on the Data sheet too?
 

Watch MrExcel Video

Forum statistics

Threads
1,123,143
Messages
5,599,975
Members
414,354
Latest member
Flaxarn

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
Top