I have a six digit reference in one cell.
On the same worksheet I would like to format a cell if the 2nd digit of the number is greater than 3.
I don't mind using a lookup rather than a conditional format. Because, I ideally I would like to put a cross "x" in the box, or at the very least grey out the box with formatting, if the 2nd digit in the referenced cell is greater than 3.
Let the reference be in cell A1. Put the following formula in B1 and apply conditional formating checking for >0:
=if(right(left(A1;2);1)*1;1;0)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.