Conditional Formatting Formula

easybpw

Active Member
Joined
Sep 30, 2003
Messages
407
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
Hello everyone,

Thanks in advance for the help. I'm trying to do conditional formatting using a formula with a vlookup and OR statement. However I can't figure it out. My preference is to use wild cards but I understand conditional formatting doesn't allow for this. Below is what I have but it clearly isn't working. I can get it to work if I only have one condition but not if I have more than one. Any help is appreciated.

=VLOOKUP($T2,PAY!$A$4:$E$35,5,0)=(OR("H","E"))
 

Some videos you may like

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
55,586
Office Version
  1. 365
Platform
  1. Windows
Try
Excel Formula:
=OR(VLOOKUP($T2,PAY!$A$4:$E$35,5,0)="H",VLOOKUP($T2,PAY!$A$4:$E$35,5,0)="E")
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
55,586
Office Version
  1. 365
Platform
  1. Windows
Another possibility
Excel Formula:
=ISNUMBER(SEARCH(VLOOKUP($T2,PAY!$A$4:$E$35,5,0),"HE"))
 

Watch MrExcel Video

Forum statistics

Threads
1,127,682
Messages
5,626,272
Members
416,170
Latest member
Urraco

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top