Conditional Formatting Formula

easybpw

Active Member
Joined
Sep 30, 2003
Messages
437
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"))
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Try
Excel Formula:
=OR(VLOOKUP($T2,PAY!$A$4:$E$35,5,0)="H",VLOOKUP($T2,PAY!$A$4:$E$35,5,0)="E")
 
Upvote 0
Another possibility
Excel Formula:
=ISNUMBER(SEARCH(VLOOKUP($T2,PAY!$A$4:$E$35,5,0),"HE"))
 
Upvote 0

Forum statistics

Threads
1,215,086
Messages
6,123,031
Members
449,092
Latest member
ikke

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
Back
Top