What function do I use to add a comma to seperate the following information in a cell?
CHICAGOIL60611
The format I need it in is Chicago, IL, 60611
Thanks!
What function do I use to add a comma to seperate the following information in a cell?
CHICAGOIL60611
The format I need it in is Chicago, IL, 60611
Thanks!
I have assumed that the lenght of thr 60611 field is always 5 charaters, The IL is always 2 characters & Chicargo is variable number of characters depending on City Name
CHICAGOIL60611 In A1
This formula in b1
=PROPER(LEFT(A1,LEN(A1)-7))&", "&MID(A1,LEN(A1)-6,2)&", "&RIGHT(A1,5)
Please Read Forum Rules Before Posting
Wrap VBA code by selecting the code and clicking the # icon or Read This
How To Cross Post politely
Top Excel links for beginners to Experts
If you are pleased with a member's answer then use the Scales icon to rate it
If my reply has assisted or failed to assist you I welcome your Feedback.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks