Conditional Formatting if Cell Contains Certain Character

AnetShe

New Member
Joined
Apr 27, 2017
Messages
20
Any help would be amazing - I've built an order form in excel and using conditional formatting I want to have the size value columns that are in the 'size scale' entered not have any color format (as all size values cells start with being formatted with Grey). Basically just want to show people where they are allowed to enter order units in - example, if S,M,L is entered in the 'size scale' column then only those three size should have no format/be white).
I am using this formula for the conditional formatting - =ISNUMBER(SEARCH("S",$Z6)).
I've run into a problem because my size scale info has characters that the conditional formatting is picking up when it shouldn't - snapshot attached of this example.
If I have conditional formatting looking for an 'S' it will correctly remove formatting in the 'S' (size Small) column, but also will incorrectly remove it in the 'S' column if the value in the 'size scale' column is XS (extra small) - because it includes the 'S'.

Let me know if you need more info - I am open to any way to automate this (will have approx 2,000 rows in sheet)!
The want is for the size value column to have formatting removed if it is within the size scale column.
Am also open to the reverse, how can I grey out all size columns not in the size scale field.

THANK YOU!!
 

Attachments

  • example.jpg
    example.jpg
    52.1 KB · Views: 94
Last edited:

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,223,885
Messages
6,175,183
Members
452,615
Latest member
bogeys2birdies

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