Avatar of Bill Golden
Bill Golden
Flag for United States of America asked on

Using a numeric value in a formula based on existence of a value in another cell in Excel

B1 contains a numeric value.
I want the value in B4 to be a percentage of B1 based upon the following:

If only A2 contains an "X", then B4 is to be 20.00% of B1
If only A3 contains an "X", then B4 is to be 15.00% of B1
If both A2 and A3 contain an "X", then B4 is to be 35.00% of B1
Microsoft ExcelOffice Suites-OtherMicrosoft Office

Avatar of undefined
Last Comment
Bill Golden

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Rgonzo1971

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
GrahamSkan

How about
=IF(A2="X",IF(A3="X",B1*35/100,B1*20/100),IF(A3="X",B1*15/100,"?"))

Open in new window

Bill Golden

ASKER
Worked Beautifully!
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck