Link to home
Start Free TrialLog in
Avatar of Ian Bell
Ian BellFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Modify div by zero error formula

Hi,
I'd like a formula modified to ignore blank cells or zero cells when target cells are a negative value.
Please see attached for example.
Many Thanks
Ian
divbyzeroerror.xlsx
Avatar of Saqib Husain
Saqib Husain
Flag of Pakistan image

=SUMPRODUCT(((0&B3:F3)*(B1:F1>=0))^ABS(B$1:F$1))
ASKER CERTIFIED SOLUTION
Avatar of Saqib Husain
Saqib Husain
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ian Bell

ASKER

Nice job again Saqib. Thanks a million.
Ian