If you only want to format the cell when the third character is "/" then you could put this in the FormulaIs box :-
MID(A1,3,1)="/"
Should be =MID(A1,3,1)="/"
Re: Should be =MID(A1,3,1)="/"
How about using Search or Find ?
Try, in conditional formatting formula
=ISNUMBER(SEARCH("/",A1))
And format as Arial 7
Juan Pablo
But that depends upon whether all cells containing "/" need to be formatted, or only cells containing 5 characters. How about using Search or Find ? Try, in conditional formatting formula =ISNUMBER(SEARCH("/",A1)) And format as Arial 7 Juan Pablo
If you have in A1:A3 the sample data he provided:
{8;8/L;4L/4S} then if you select A1:A3, goto Conditional Formatting, put the formula [=ISNUMBER(SEARCH("/",A1))], and select, for example, a yellow background pattern, Cells A2 and A3 will become highlited, it doesn't matter how "long" the strings are... as long as there's a "/" in there...
Juan Pablo But that depends upon whether all cells containing "/" need to be formatted, or only cells containing 5 characters. : How about using Search or Find ? : Try, in conditional formatting formula : =ISNUMBER(SEARCH("/",A1)) : And format as Arial 7 : Juan Pablo :
I guess the poster will use whatever one fits his needs.
I interpreted his requirement to be to format only cells containing 5 characters (he said "if the cell is **/** ") If you have in A1:A3 the sample data he provided: {8;8/L;4L/4S} then if you select A1:A3, goto Conditional Formatting, put the formula [=ISNUMBER(SEARCH("/",A1))], and select, for example, a yellow background pattern, Cells A2 and A3 will become highlited, it doesn't matter how "long" the strings are... as long as there's a "/" in there... Juan Pablo : But that depends upon whether all cells containing "/" need to be formatted, or only cells containing 5 characters.