Average of ratios - with IF statement

A follup up Q to :
https://secure.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_28135694.html


How would I modify

=AVERAGE(IF(C4:C8<>0,B4:B8/C4:C8))
if I want to exclude all ratios where EITHER the denominator is 0 OR the numerator is blank?
enduranceAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Saqib Husain, SyedConnect With a Mentor EngineerCommented:
Try

=AVERAGE(IF((C4:C8<>0)*(B4:B8<>""),B4:B8/C4:C8))
0
 
enduranceAuthor Commented:
thx!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.