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
faheem khanAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rgonzo1971Commented:
HI,

What do you intend to do?

Regards
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Do you want to exclude the cell with zero from the multiplication?
If so, try this Array formula which requires confirmation with Ctrl+Shift+Enter instead of Enter alone. i.e. copy the below formula, press F2 in formula cell and paste the formula by pressing Ctrl+V and now hold down the Ctrl+Shift keys together and hit Enter.
When you enter an array formula, you will notice in the formula bar that the formula gets surrounded by the curly braces.

=PRODUCT(IF(A1:C1=0,1,A1:C1))

Open in new window


For details, refer to the attached.
Product-Without-Zeros.xlsx

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
faheem khanAuthor Commented:
THANKS ALLOT
Ensure Business Longevity with As-A-Service

Using the as-a-service approach for your business model allows you to grow your revenue stream with new practice areas, without forcing you to part ways with existing clients just because they don’t fit the mold of your new service offerings.

Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
You're welcome Faheem! Glad I could help.
Rob HensonFinance AnalystCommented:
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)
Rob HensonFinance AnalystCommented:
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
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Asker endorsed the solution.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.