• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 162
  • Last Modified:

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?
0
endurance
Asked:
endurance
1 Solution
 
Saqib Husain, SyedEngineerCommented:
Try

=AVERAGE(IF((C4:C8<>0)*(B4:B8<>""),B4:B8/C4:C8))
0
 
enduranceAuthor Commented:
thx!
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now