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: 95
Last edited:

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Forum statistics

Threads
1,224,817
Messages
6,181,149
Members
453,021
Latest member
Justyna P

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