IF Formula

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

Guest

I am getting error messages for this:

=IF(D6=H,"27",IF(D6=M,"18", IF(D6=L,"9")))

I am trying to assign a value to a certain letter (High, Medium, Low). Is
this the wrong formula, or where do I need to make changes?
 
You need to quote your letters and not your numbers.

=IF(D6="H",27,IF(D6="M",18, IF(D6="L",9)))

Regards,
Paul
 

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

Formula Now Working 7
How do I write this formula 1
How to keep formula and be able to input value in cell? 0
Large Formula Help 1
need help with formula 7
Nested If 3
Excel 2
IF Function 6

Back
Top