How do I use IF in Excel to string the two text values (high,low)

G

Guest

I am trying to build an IF statement that will string the 2 column text
values of "high" and "low" to return a specific text value in the 3rd column.


I have 4 categories of reference to consider when writing this formula:
=IF("high","high", then "gold"); IF("high", "low", then "silver"); IF("low",
"high", then "bronze"); IF("low", "low", then "lead").
 
R

Ron Rosenfeld

I am trying to build an IF statement that will string the 2 column text
values of "high" and "low" to return a specific text value in the 3rd column.


I have 4 categories of reference to consider when writing this formula:
=IF("high","high", then "gold"); IF("high", "low", then "silver"); IF("low",
"high", then "bronze"); IF("low", "low", then "lead").


=IF(AND(A1="high",A2="high"),"gold",
IF(AND(A1="high",A2="low"),"silver",
IF(AND(A1="low",A2="high"),"bronze",
IF(AND(A1="low",A2="low"),"lead"))))

It will return FALSE if none of the conditions match.


--ron
 
G

Guest

Hi,

You may try this.

if
(and(cell="high",cell1="high"),"gold",if(and(cell="high",cell1="low"),"silver",if(and(cell="low",cell1="high"),"bronze",if(and(cell="low",cell1="low"),"lead",0))))

Regards,

Ashish Mathur
 
G

Guest

Ron,

Your assistance has been invaluable.....thanks so much for that.

Kind regards,
f
 

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

Top