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

x
  • 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
0
wrt1mea
Asked:
wrt1mea
  • 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:

=MATCH(H1,$A$1:$A$13,0)

Thanks
Rob H
0
 
NBVCCommented:
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:

=MATCH(H1,$A$1:$A$13,0)

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.

=MATCH(H1,MyList,0)

Hope it helps.
0
 
wrt1meaAuthor Commented:
The values are exerpts from the values in column H....will that change the formula?
0
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!

 
NBVCCommented:
Yes it will... try then:

=LOOKUP(9.99999E+307,SEARCH($A$1:$A$13,H1))

or

=LOOKUP(9.99999E+307,SEARCH(MyList,H1))
0
 
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.
0
 
NBVCCommented:
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....
0

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