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

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
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,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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