conditional formula in Excel

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hey,

Please help. I'm trying to write a formula for the following:

If A <= 0.35, then "Level I" or if A > 0.35 and <= 0.70, then "Level II" or
if A > 0.70, then "Level III".

Can somebody help me with this?
 
Assuming your number is in A1, then try this out in B1:

=IF(A1<=0.35,"Level I",IF(A1<=0.7,"Level II","Level III")

Hope this helps.

Pete
 
=IF(A5<=0.35,"Level 1",IF(A5<=0.7,"Level 2","Level3"))

Regards

Trevor
 
Try one of these:

=IF(A1<=0.35,"L1",IF(A1<=0.7,"L2","L3"))

The robust version:

=IF(ISNUMBER(A1),IF(A1<=0.35,"L1",IF(A1<=0.7,"L2","L3")),"")
 
Thanks for the quick help, that was much easier than I thought it would be.
 
Yes, the logic is that by the time you get to the second IF you have
already tested for A1 being <=0.35, so you don't need to test for that
again, and if it is <=.7 then it must also be above 0.35.

Glad it worked for you - thanks for feeding back.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Complex 2 table formula 4
YES/NO statement 2
Indirect function 2
IFSUM 6
Help with Formula 5
Conditional Formatting Copy down Rows 2
alternatives to embedded ifs 6
Auto Change in Cell Color 1

Back
Top