• 412K Members
• 7,697 Online
• 468K Conversations
SOLVED

New Contributor

# Conditional Formatting with formulas and VLOOKUP

I am working on a scheduling spreadsheet and I have Column D & Column E with drop down list data for a range of time starting with "MINUTES" to "> 3 Months." These are assigned values 0-30 with a VLOOKUP function.

=VLOOKUP(D6,LISTS!\$A\$2:\$B\$19,2,0)

=VLOOKUP(E6,LISTS!\$A\$2:\$B\$19,2,0)

I want to use conditional formatting to make the contents in column E turn RED if the value is greater than the value in D. What is the formula if I have these hidden "helper columns" ?

ALSO, is there any better way to do do this, maybe without the helper columns? Can I inject the VLOOKUP into the > formula?

Some sample data example attached.

3 Replies
Solution

# Re: Conditional Formatting with foumulas and VLOOKUP

Hi,

Try the attached.  Hopefully it will give what you want.

Kind regards

# Re: Conditional Formatting with foumulas and VLOOKUP

OK thanks! I did end up using something similar but I may have over complicated it...

=IF(B6>=C6,"OK","PROBLEM") - Helper Column
=\$D6="Problem" - Conditional Formatting Formula

# Re: Conditional Formatting with foumulas and VLOOKUP

Hi Jamie, I see no problem using helper columns, if you need to, as long as it achieves what you want that's the most important point.
Related Conversations
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
Edge insider Dev bypasses IE mode website list
HotCakeX in Enterprise on
4 Replies