Can someone please tell me where I am going wrong here?
=AND(LEN(A62)=5,ISTEXT(LEFT(A62,3),ISNUMBER(0+RIGHT(A62,2))))
the ISTEXT function will return TRUE for things like A12, 3B4, 56C, and the like. Also, since its argument is a Text function, ISTEXT will return TRUE even if the LEFT function returns all digits (see the first part of this response). You will need a different test to do what you want... let me think about it for a bit.
Your thread title said 3 letters so that is what I responded to.I think allowing A12, 3B4 etc, may actually be what I want.
I thought 3 Letters + 2 Numbers was what I wanted but when I read your message, I realised I have an account G4S01. Didn't mean to be misleading, just an oversight which was made clear to me once I read your message. Sorry about that.Your thread title said 3 letters so that is what I responded to.
Given the change, can you clearly re-state in words exactly what the DV requirements are?I thought 3 Letters + 2 Numbers was what I wanted but when I read your message, I realised I have an account G4S01.
I have assumed that any letters must be upper case. If so, try this for your custom DV formula.3 letters or numbers followed by 2 numbers. Thanks.
I have assumed that any letters must be upper case. If so, try this for your custom DV formula.
=AND(LEN(A1)=5,OR(MAX(ABS(77.5-CODE(MID(A1,ROW(INDIRECT("1:3")),1))))<13,ISNUMBER(-MID(A1,ROW(INDIRECT("1:3")),1))),ISNUMBER(-MID(A1,ROW(INDIRECT("4:5")),1)))