Formula Help

Hello All, I have the formula below, I am trying to figure out a way to code it so if E14=0, then in the formula, make E14=.01 (formula b), if E12=0 then formula C, if both E14 and E12 are  0,  then formula D


Formula B

Formula C

Formula D
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

Basically for each one, instead of


You get the value from

IF(E14 = 0, 0.01, E14)

so that when E14 is non-zero, it is still E14, but if it is zero, you get 0.01
byundtMechanical EngineerCommented:
I believe that you can do the job with two IF functions (rather than the four required by cyberkiwi's approach) if you eliminate the common factors and extra parentheses:

or the even simpler:

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
OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.


= ((((6.11*10*(7.5*IF(E14=0,0.01,E14)/(237.7+IF(E14=0,0.01,E14)))/(6.11*10*(7.5*IF(E12=0,0.01,E12)/(237.7+IF(E12=0,0.01,E12))))))))*100
Change all E14 to 0.01 for E14 = 0, (this formula contains 2 E14)
Change all E12 to 0.01 for E12 = 0, (this formula contains 2 E12)
Thus, the formula is
= ((((6.11*10*(7.5*IF(E14=0,0.01,E14)/(237.7+IF(E14=0,0.01,E14)))/(6.11*10*(7.5*IF(E12=0,0.01,E12)/(237.7+IF(E12=0,0.01,E12))))))))*100
byundtMechanical EngineerCommented:
Or even a few characters less, though with logic a trifle harder to see:
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.