Conditional Formatting with Specific Text

fben96

New Member
Joined
Jul 30, 2018
Messages
15
Hi, I am trying to conditionally format a large amount of cells. These cells have these formulas in them.

Code:
=IFERROR(IF(VALUE(VLOOKUP(B7,'Equipment Replacement Tracker'!$C$4:$G$3583,5,FALSE))=0,"Incomplete WO",VALUE(VLOOKUP(B7,'Equipment Replacement Tracker'!$C$4:$G$3583,5,FALSE))), "No Record")
I would like for the cells to change color when "Incomplete WO" populates the cell. And for it to change a different color when, "No Record" populates the cell. I have tried specific text containing ="...." but it isn't working.
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Select the cells you want to highlight > In CF > New Rule > Use a formula > =$A1="Incomplete WO" > select format > OK
and repeat for other values.

The $A1 needs to match the first cell in the Applies to range
 
Upvote 0
in the formula for the condition you also have to specify the cell

for example... .lets say all your formulas are in column X starting in the second row

in your conditional formatting formulas put

=$X2="Incomplete WO"

then add another condition for the other case

=$X2="No Record"

and set your colors
 
Upvote 0
it will automatically apply to the entire column

which is why we only make the column Absolute and not the row number

$X2
 
Last edited:
Upvote 0
In that case simply remove the $ sign
 
Upvote 0
Glad we could help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,199
Members
453,022
Latest member
RobertV1609

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