CF rule for Cell Value Containing LV, AL, SL, etc

squirrellydw

Board Regular
Joined
Apr 2, 2015
Messages
90
Office Version
  1. 365
Platform
  1. Windows
I'm back with another question. Trying to clean up some CF I made years ago with something easier. I currently have a bunch of CF rules for LV, AL, SL, etc. Is there away to have them all in one CF rule to cover the entire spreadsheet? I would like it to strikeout the name in the cell whenever the cell has " LV", " AL", " or " SL" listed in it. I currently have a rule for each column and it works fine but it's a lot of rules. So for example if the cell has Danny AL listed it would strike it out with a line through it. The AL has a space in front so if a name has AL in it, it would ignore it. It would need to cover B4 to Q34 if that helps.

Hope you guys can help me out one more time
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Try this CF formula
Excel Formula:
=FIND(RIGHT(B4,3)," LV AL SL")
 
Upvote 0
Solution
Got it working,
Good news! :)

What does the 3 in the formula do?
RIGHT(B4,3) takes the last 3 characters from the cell. In your cells-of-interest that would be " AL" or " LV" etc

Was I correct in thinking that those texts you are looking for would always be at the end of the text?
.. or might a cell contain something like "Danny AL was early"
 
Upvote 0
Good news! :)


RIGHT(B4,3) takes the last 3 characters from the cell. In your cells-of-interest that would be " AL" or " LV" etc

Was I correct in thinking that those texts you are looking for would always be at the end of the text?
.. or might a cell contain something like "Danny AL was early"
ok got it. your thinking was correct. Thank you again for all the help
 
Upvote 0

Forum statistics

Threads
1,226,463
Messages
6,191,181
Members
453,646
Latest member
BOUCHOUATA

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