Conditional formatting based on vlookup/ NA Value

rachel06

Board Regular
Joined
Feb 3, 2016
Messages
126
Office Version
  1. 365
Platform
  1. Windows
Hi!

I've been posting here a lot lately and I appreciate all of the help. I have my brain in a bit of a knot on this one, and I'm not sure if what I want is possible with conditional formatting.

Basically, if this formula finds an #N/A value, I don't want the conditional formatting to do anything, but if it finds a value, I want it to highlight the cell. Just need to know how to writhe the formula:

=VLOOKUP(B3,'Quarter Lookup'!B:C,2,0)

Thanks!!
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Let's say that formula is in cell A1.
Then use this Conditional Formatting formula:
Excel Formula:
=NOT(ISNA(A1))
and choose your desired formatting color.
 
Upvote 1
Solution
Let's say that formula is in cell A1.
Then use this Conditional Formatting formula:
Excel Formula:
=NOT(ISNA(A1))
and choose your desired formatting color.
Thanks!

I'm actually trying to use that formula within the conditions of the conditional formatting. Is that possible?

I tried this but it's not doing anything as far as formatting as I'd like it to. It's not formatting at all.

Code:
=NOT(ISNA(VLOOKUP(B3,'Quarter Lookup'!B:C,2,0)))


Is something like this possible? I feel like I'm on the right track but I'm getting stuck!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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