HELP WITH FORMULA

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

How do I split the state and the city into 2 column?

ie

column A ...............like to see in column B as State............Column
C as City
AZ-CHANDLER AZ
Chandler


Thanks
Soth
 
Assuming all of your data follows the same format (State Dash City) then use
these formulas:

In Column B:
=LEFT(A1,2)

In Column C:
=RIGHT(A1,LEN(A1)-3)

HTH,
Elkar
 
You're the best ! Thank you.

Elkar said:
Assuming all of your data follows the same format (State Dash City) then use
these formulas:

In Column B:
=LEFT(A1,2)

In Column C:
=RIGHT(A1,LEN(A1)-3)

HTH,
Elkar
 

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

Similar Threads


Back
Top