How to find if a string starts with a digit

  • Thread starter Thread starter galsaba
  • Start date Start date
G

galsaba

I am trying to difrentiate between USA zip codes to Canada Post Codes.
As USA zip codes always start with a digit, and Canada Post code always
start with a letter, what would be the right formula to detect if a
string starts with a digit, or with a letter?

Galsaba
 
One way:

=IF(ISERROR(LEFT(A1)*1),"Canada","US")

HTH
Jason
Atlanta, GA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top