Link to home
Start Free TrialLog in
Avatar of faheem khan
faheem khan

asked on

about multipulication of three cells

a1*b1*c1= some value,if any cell contains zero than all will be zero send me some solution for zero
Avatar of Rgonzo1971
Rgonzo1971

HI,

What do you intend to do?

Regards
ASKER CERTIFIED SOLUTION
Avatar of Subodh Tiwari (Neeraj)
Subodh Tiwari (Neeraj)
Flag of India 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 faheem khan

ASKER

THANKS ALLOT
You're welcome Faheem! Glad I could help.
Without the Control Shift Enter requirement, you can also use:

=MAX(A1,1)*MAX(B1,1)*MAX(C1,1)

This assumes that all values will be integer greater than 1, ie not a decimal value between 0 and 1.

If decimal values are likely then this will cover that:

=IF(A1<>0,A1,1)*IF(B1<>0,B1,1)*IF(C1<>0,C1,1)
Please note the accepted solution will only work where the cells are next to each other, ie A1, B1 and C1 or at least on the same row or column. It will still work with blank cells between eg A1 to E1 but B1 and D1 are blank.

However, for cells that are dispersed, eg A1, B3 and C5, it will need to be one of the other options.

Thanks
Rob H
Asker endorsed the solution.