Average Array Formula

G

Guest

I would like to calculate the Average Passed % (Column C).

0%s should only be included in the average calculation if the corresponding
Total Number in Column A is more than 0.

Should it be something like this array formula?

{=AVERAGE(IF((B1509:B1519=>0)*(D1509:D1519<>0),D1509:D1519))}

Please help.

Thanks & best wishes.

Rachael


Total Number Number Passed Passed % Number Failed
125 118 94% 7
0 0 0% 0
325 319 98% 5
105 103 98% 2
0 0 0% 0
1 0 0% 1
 
M

Mangesh Yadav

Sorry forgot to mention that this is an array formula.

=AVERAGE(IF(A1:A4=0,"",B1:B4))

Mangesh
 
G

Guest

Thanks very much. I have used a variation of your formula suggestion.

Best wishes.

Rachael
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top