+ Reply to Thread
Results 1 to 20 of 20

Split text into columns - formula only, no vba or excel Text to Columns

  1. #1
    Registered User
    Join Date
    01-13-2016
    Location
    Grafton
    MS-Off Ver
    2013 Office Pro
    Posts
    59

    Split text into columns - formula only, no vba or excel Text to Columns

    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

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Split text into columns - formula only, no vba or excel Text to Columns

    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.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Split text into columns - formula only, no vba or excel Text to Columns

    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))

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Split text into columns - formula only, no vba or excel Text to Columns

    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.

  5. #5
    Registered User
    Join Date
    01-13-2016
    Location
    Grafton
    MS-Off Ver
    2013 Office Pro
    Posts
    59

    Re: Split text into columns - formula only, no vba or excel Text to Columns

    AliGW...perfect - every address follows the same format. Thanks sooooo much.

  6. #6
    Registered User
    Join Date
    01-13-2016
    Location
    Grafton
    MS-Off Ver
    2013 Office Pro
    Posts
    59

    Re: Split text into columns - formula only, no vba or excel Text to Columns

    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.

  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,703

    Re: Split text into columns - formula only, no vba or excel Text to Columns

    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.)
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Split text into columns - formula only, no vba or excel Text to Columns

    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.

  9. #9
    Registered User
    Join Date
    01-13-2016
    Location
    Grafton
    MS-Off Ver
    2013 Office Pro
    Posts
    59

    Re: Split text into columns - formula only, no vba or excel Text to Columns

    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".

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Split text into columns - formula only, no vba or excel Text to Columns

    See post #7.

    Nobody can help until you comply with this request.

  11. #11
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,703

    Re: Split text into columns - formula only, no vba or excel Text to Columns

    Quote Originally Posted by CRJ42 View Post
    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".
    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.

  12. #12
    Registered User
    Join Date
    01-13-2016
    Location
    Grafton
    MS-Off Ver
    2013 Office Pro
    Posts
    59

    Re: Split text into columns - formula only, no vba or excel Text to Columns

    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.

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Split text into columns - formula only, no vba or excel Text to Columns

    But you have been responding on both forums.

    Still waiting for you to post the link.

  14. #14
    Registered User
    Join Date
    01-13-2016
    Location
    Grafton
    MS-Off Ver
    2013 Office Pro
    Posts
    59

    Re: Split text into columns - formula only, no vba or excel Text to Columns

    The Link: https://www.mrexcel.com/board/thread...lumns.1196271/

    I don't recall responding to both.

  15. #15
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,703

    Re: Split text into columns - formula only, no vba or excel Text to Columns

    It appears that you got solutions in both places, which duplicates the effort of people trying to help.

    Quote Originally Posted by CRJ42 View Post
    I don't recall responding to both.
    5 hours ago:

    Capture.JPG

  16. #16
    Registered User
    Join Date
    01-13-2016
    Location
    Grafton
    MS-Off Ver
    2013 Office Pro
    Posts
    59

    Re: Split text into columns - formula only, no vba or excel Text to Columns

    This is very confusing...yes i did respond to Marcilio to indicate his solution worked, however, your solution was simpler to use.

  17. #17
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,811

    Re: Split text into columns - formula only, no vba or excel Text to Columns

    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.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  18. #18
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Split text into columns - formula only, no vba or excel Text to Columns

    Quote Originally Posted by CRJ42 View Post
    This is very confusing...yes i did respond to Marcilio to indicate his solution worked, however, your solution was simpler to use.
    What is confusing?

    I'm out, sorry.

  19. #19
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,703

    Re: Split text into columns - formula only, no vba or excel Text to Columns

    Quote Originally Posted by CRJ42 View Post
    This is very confusing...yes i did respond to Marcilio to indicate his solution worked, however, your solution was simpler to use.
    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.

  20. #20
    Registered User
    Join Date
    01-13-2016
    Location
    Grafton
    MS-Off Ver
    2013 Office Pro
    Posts
    59

    Re: Split text into columns - formula only, no vba or excel Text to Columns

    Thanks...I need to continue using Excel - it is being shared with multiple users.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Need to split text into columns with a formula
    By Mendonk in forum Excel General
    Replies: 11
    Last Post: 11-03-2021, 08:51 AM
  2. Import from text files and split into columns in Excel
    By kay007 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-03-2018, 07:22 AM
  3. Split cell contents by comma with formula *Can't use text to columns*
    By DannyJ in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-20-2017, 06:47 AM
  4. Split data by delimiters but by formula (not Text to Columns)
    By STUARTXL in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-19-2016, 05:44 AM
  5. Formula(s) to Split Text String Across Columns Using Columns as Seperator
    By WaylettChris in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-24-2016, 01:13 PM
  6. Using 'Text to columns' when value to split is derived from a formula
    By Aysha in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-03-2014, 06:49 AM
  7. split text into more columns excel
    By ibarrera in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-08-2006, 12:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1