AverageifS on a range containing Div/Value/Error...

Interrogation

New Member
Joined
Nov 22, 2018
Messages
3
Hi all,

[TABLE="width: 500"]
<tbody>[TR]
[TD]10[/TD]
[TD]Correct[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Correct[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]#Div/0![/TD]
[TD]Correct[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]#Value![/TD]
[TD]Correct[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I simplified my problem in the above table. I want to use the averageifS formula on the first column using criteria: Correct and Yes.
I know I can use a simple criteria: ">0".
Is there a way to use averageifS and take out all the error cell out of the range like [A1:A5]\Error or "<>Error".
One of my request for the solution would be to keep averageifS and to keep the formula as simple as possible.
Do you see something that could work?

Many thanks
 

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
You cannot use arrays (which one could use to test for error type) in AVERAGEIFS so I believe you need to proceed with the ">0" condition:

=AVERAGEIFS(A1:A5,A1:A5,">0",B1:B5,"Correct",C1:C5,"Yes")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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