AVERAGEIFS with different options for criteria

Random Stranger

New Member
Joined
May 10, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Web
Hi,
So I have this formula, and it's working correctly but I'm missing one criteria, I want it to look for "SB" or "SBChat" and then average it if it receives the result of either "SB" or "SBChat"
=AVERAGEIFS(E:E,F:F,"SB",$C:$C,$C3)

I can't seem to figure out how.

Thanks!
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
You can't use multiple criteria with averageifs on an OR basis, only an AND basis.

If there is nothing else that starts with "sb" in column F then you could use a wildcard, "sb*" (the formula is not case sensitive so it will count "SB" and "sb" with or without wildcards).

If there are other entries starting with "SB" that should not be included then you need to divide sum by count.
Excel Formula:
=SUM(SUMIFS(E:E,F:F,{"SB","SBChat"},$C:$C,$C3))/SUM(COUNTIFS(F:F,{"SB","SBChat"},$C:$C,$C3))
 
Upvote 0
Solution

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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