Conditional Formatting

Mikeyabosbht

New Member
Joined
Jan 13, 2017
Messages
24
Hi Guys,

Definitely a stupid question, but....

I want to highlight every instance of the text string "eligible" when I return a lookup value in a table. Unfortunately, it also appears to highlight other string returns such as "Non eligible".

How can I ensure that it just highlights just "eligible" and not non eligible as well?

I hope this makes sense.

thanks so much!
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Special-K99

Well-known Member
Joined
Nov 7, 2006
Messages
8,352
Select the range, e.g. A1:A50

Conditional Formatting
New Rule
Use a formula to determine...

=(A1="eligible")

Format as required
 

Mikeyabosbht

New Member
Joined
Jan 13, 2017
Messages
24
I should mention that the return from the text string is from a nested index array formula that is pulling out multiple values when I enter a unique ID.

I have tried as you mention, but to no avail.

It could be because the values in the cell is actually a formula rather than an actual string. Would that make a difference?
 

Special-K99

Well-known Member
Joined
Nov 7, 2006
Messages
8,352
No, no difference.
It's a common misconception that some formulas don't work because they contain a formula rather than a value but it's not true, cells should be regarded the same whether they contain formulas or values.


Post a sample spreadsheet with expected results, remove any sensitive data, create a mockup example if necessary.
You cant attach files on this forum. There are tools on this forum for adding small spreadsheet images

Attachments

Or upload the file to an online storage site and post a link to it, though some people may not download the file for fear of viruses.
 
Last edited:

Forum statistics

Threads
1,136,956
Messages
5,678,766
Members
419,783
Latest member
yazan

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
Top