I need a series of formulas to convert a single lie of text into 4 columns.
1927 S Apple Valley Rd., Madison, WI, 34561
Convert To:
Column A2
1927 S Apple Valley Rd.
Column B2
Madison
Column C2
WI
Column D2
34561
I need a series of formulas to convert a single lie of text into 4 columns.
1927 S Apple Valley Rd., Madison, WI, 34561
Convert To:
Column A2
1927 S Apple Valley Rd.
Column B2
Madison
Column C2
WI
Column D2
34561
One single example will NOT be enough unless every address follows EXACTLY the same format.
There are instructions at the top of the page explaining how to attach your sample workbook.
A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
If they DO all follow the same format, try this in B1 copied across:
=TRIM(MID(SUBSTITUTE($A1,",",REPT(" ",100)),COLUMN(A1)*100-99,100))
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.
AliGW...perfect - every address follows the same format. Thanks sooooo much.
AliGW...is there a simple way to explain your formula. I have spent so much time on trying to solve this challenge that took you minutes to solve - I would appreciate understanding the formula logic. Thanks again for your help.
You have people duplicating effort by solving it elsewhere.
Administrative Note:
Welcome to the forum.
We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.
Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.
(Note: this requirement is not optional. No help to be offered until the link is provided.)
You have messaged me asking for further assistance. Post your request here, and also the link requested to your cross-post. No further help can be offered until this has been done.
I'm confused as to how to accomplish "the link requested to your cross-post". You solved my original post yesterday regarding "Split Text into Different Columns".
See post #7.
Nobody can help until you comply with this request.
You have asked the same question in a completely different web site and people are also trying to help you there. That is called a cross-post. We both have rules that if you do this you must provide a link to the other web site.
Please add a link that takes us to your question in the other web site.
I inadvertently posted the same question on the mrexcel.com, prior to sending my request to the excelforum.com - I didn't realize that I double posted, my mistake.
But you have been responding on both forums.
Still waiting for you to post the link.
The Link: https://www.mrexcel.com/board/thread...lumns.1196271/
I don't recall responding to both.
It appears that you got solutions in both places, which duplicates the effort of people trying to help.
5 hours ago:
Capture.JPG
This is very confusing...yes i did respond to Marcilio to indicate his solution worked, however, your solution was simpler to use.
Both forums are Excel forums, but, maybe just to be contrary, I will add that by far the easiest formula based solution to this problem is to drop Excel like a hot potato, run over to Google Sheets with your data, and use Google Sheets' SPLIT() function https://support.google.com/docs/answer/3094136
You've said no VBA, but does that extend to UDFs? If you could use a VBA UDF in the spreadsheet, it's a relatively simple programming exercise to make a VBA UDF "container" that makes VBA's Split() function available to the spreadsheet.
I don't know what limitations you are working under, but if you could use Google Sheets instead of Excel, this becomes a lot easier to do by formulas.
Originally Posted by shg
Your response to Marcilio was on a different web site, on the same day you said you did not recall responding to both sites.
Let's not waste any more time on this. Just read the rules and follow them next time.
Thanks...I need to continue using Excel - it is being shared with multiple users.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks