Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 457
  • Last Modified:

Conditional Formatting with a List

I have a list of values that I want conditional formatting to use to highlight certain text.

Sheet 2 A1:A13 contains the values that I want to search through each cell in Column H. I want to highlight the text as red
  • 3
  • 2
1 Solution
Rob HensonIT & Database AssistantCommented:
Are the values in column A excerpts from or whole values the same as column H.

If whole value you could use the MATCH function in a formula based Conditional Formatting like this:


Rob H
If I understood correctly.....

select column H and invoke conditional formatting...

assuming Excel 2007 or later, that would be through Home|Conditional Formatting|New Rule

Then select use a formula to determine which cells to format..

enter formula:


where H1 is top most cell you selected in column H.

then choose Format and select from Font tab.  

If you are using pre-Excel2007, then go to Format|Conditional Formatting and choose Formula Is, then do as above.

If A1:A13 is in a separate sheet from column H, then first name the A1:A13 range by selecting it, and typing a name in the Name Box (just to the left of the formula bar at the top)... call it something like MyList... then substitute that in the formula e.g.


Hope it helps.
wrt1meaAuthor Commented:
The values are exerpts from the values in column H....will that change the formula?
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Yes it will... try then:



wrt1meaAuthor Commented:
I got this one to work, =LOOKUP(9.99999E+307,SEARCH($A$1:$A$13,H1))

But it highlights the the entire text in the cell, not just the text that contains the specific values.
You can't highlight just the specific text within the cell, the whole cell will get highlighted..... not with Conditional Formatting....

You would probably need VBA to do that, and it's not in my scope....

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now