Hi guys,
I was wondering if anyone knows a way to seach in excel for unique charachters.
For example, I would like to look for a 2 upper case letters ( for instance: "NY")
Is there any way to to mimic the regex [A-Z] function?
Thanks.
Hi guys,
I was wondering if anyone knows a way to seach in excel for unique charachters.
For example, I would like to look for a 2 upper case letters ( for instance: "NY")
Is there any way to to mimic the regex [A-Z] function?
Thanks.
Hi there! I was actually thinking about this and put together a formula that might do the trick. It's not regex but it basically does what you are asking.
Let me know how this works:
=IFERROR(AND(LEN(A1)=2,FIND(LEFT(A1),"ABCDEFGHIJKLMNOPQRSTUVWXYZ")>0,FIND(RIGHT(A1),"ABCDEFGHIJKLMNOPQRSTUVWXYZ")>0),FALSE)
Cell to check is A1 in this example.