Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add 2 colors to an IIf function that already has 4 conditions

Status
Not open for further replies.

Correenie

Technical User
Feb 28, 2007
9
US
Greetings All!

Here is what works:
=IIf([Toured]=True,"GT",IIf([Not Qualified]=True,"NQ",IIf([No Show]=True,"NS",IIf([No Tour]=True,"NT",Null))))

I need to make "NQ" appear on top of a light-orange background and "NS" appear on top of a light-blue background. (If impossible, the text to appear the same colors).

How is this done?

Thanks,

~Correenie
 
Format -> Conditional Formatting

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Yes, but there is no transparent option (which is why I wanted to put it in the IIf).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top