Returning a Value if 3 Conditions are True

  • Thread starter Thread starter brownie224
  • Start date Start date
B

brownie224

I have a large worksheet of text data.

I need a formula or function to return the value in Column D if thre
(3) conditions are true in Columns A, B & C.

e.g. If A1="Name" and B1="Grade" and C1="HOR" then DesMoines

A B C D
1 Name Grade HOR DesMoines

Thanks for the advice in advance.

Browni
 
I'm not sure what you are looking for if one of those is NOT Name Grade
or HOR but this will work for you...

=IF(A1="name",IF(B1="grade",IF(C1="HOR","DesMoines")))
 
In D1, =IF(AND(A1="Name",B1="Grade",C1="HOR),"Des Moines","")

If all three conditions are met, you will ge Des MMoines in cell D1,
otherwise D! will be blank.

Modify to meet the conditions you are looking to fulfill.
 
Let me clarify a point.

The data in Column D varies. I want it to return whatever is in colum
D if all conditions in Column A, B & C are true.

If the conditions are NOT met then return a blank cell.

Thank
 
I think you should use the both the AND and IF function like this:
=IF(AND(A1="Name";B1="Grade";C1="HOR");"Des Moines";"")

Per Erik
 
I think you should use the both the AND and IF function like this:
=IF(AND(A1="Name";B1="Grade";C1="HOR");"Des Moines";"")

=IF(AND(A1="Name",B1="Grade",C1="HOR"),D1,"")
 

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

Back
Top