Question asked by user @ Excel forum:-
I am trying to highlight cells that contain an X number of characters before the - sign. For e.g.. lets say I have a list like this:
From the above list I would like to highlight cells that contain 2 characters before the dash, i.e., 12-2929 and 10-2929. I was wondering, what would be the best way of doing this via conditional formatting or using the Len formula in combination with another formula?
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.