Hi all,
I've been looking around but I can't find an easy solution to this one based on some other answers in threads, so I'm putting this out there. I think this is me being rather stupid more than anything else, but we'll see!
I'm creating a column in which the user has to enter a UK vehicle registration plate, of (for example) "MM45 TGR" - 2 letters, 2 numbers, a space and then 3 letters at the end. I want the cell to be highlighted if the entered text isn't of this format; just as a nudge to make people check what they've entered (not all plates fit that format but the vast majority do).
I feel that the required formula is somewhere along the lines of:
=NOT(AND(ISTEXT(LEFT(A1,1,2))),ISNUMBER(LEFT(A1,3,4)*1),ISTEXT(RIGHT(A1,1,2,3)))
but I know this not to be correct as a) it's a bodge from another thread that I've tried to adapt without quite fully understanding and b) Excel tells me so.
All help appreciated!
Bookmarks