+ Reply to Thread
Results 1 to 12 of 12

Parse text in cells for a column into a new column

  1. #1
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Parse text in cells for a column into a new column

    I have an Excel Table, and in a column is a list of phone numbers. One cell can have several phone numbers in it using a pipe delimiter. I would like to use a dynamic formula that will create a new list of phone numbers in 1 column that has 1 phone number per cell (or just whatever is between the pipe delimiters).

    (BTW, the formula will need to work on a table that has 1,000's of rows)
    Attached Files Attached Files

  2. #2
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,439

    Re: Parse text in cells for a column into a new column

    Cell D3 formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: Parse text in cells for a column into a new column

    Excellent wk9128! However, the issue is that this works for a column that is about 2000 rows. If it's over that, I get a "#CALC!" response and my columns will be many thousands (like maybe 10,000-30,000)

  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,435

    Re: Parse text in cells for a column into a new column

    This formula does not have a limitation of 32768 chracters for the whole table.
    Only a limitation of 32768 characters for each cell.

    Please try
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Parse text in cells for a column into a new column

    A Power Query solution is also available to you

    Please Login or Register  to view this content.
    Power Query is a free AddIn for Excel 2010 and 2013, and is built-in functionality from Excel 2016 onwards (where it is referred to as "Get & Transform Data").

    It is a powerful yet simple way of getting, changing and using data from a broad variety of sources, creating steps which may be easily repeated and refreshed. I strongly recommend learning how to use Power Query - it's among the most powerful functionalities of Excel.

    - Follow this link to learn how to install Power Query in Excel 2010 / 2013.

    - Follow this link for an introduction to Power Query functionality.

    - Follow this link for a video which demonstrates how to use Power Query code provided.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  6. #6
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,439

    Re: Parse text in cells for a column into a new column

    pls try this code

    Cell D3 formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Please Login or Register  to view this content.

  7. #7
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: Parse text in cells for a column into a new column

    You guys are awesome! Thank you all for supplying great solutions!
    I'll probably go with Hansdouwe's solution for the simplicity of just having a dynamic formula, but all great solutions!

  8. #8
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,435

    Re: Parse text in cells for a column into a new column

    Thanks for your feedback, Glad to have helped.

    If you haven't already, please consider adding reputation to all helpers you think they deserve.
    In that case please click * Add Reputation left below their answers.

  9. #9
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Parse text in cells for a column into a new column

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, 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 those who helped.

  10. #10
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,435

    Re: Parse text in cells for a column into a new column

    Thanks for your feedback and rep . Glad to have helped.

  11. #11
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,294

    Re: Parse text in cells for a column into a new column

    Power Query
    Please Login or Register  to view this content.
    Attached Files Attached Files

  12. #12
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,439

    Re: Parse text in cells for a column into a new column

    @Gregb11 You're Welcome. Glad to help . Thank You for the feedback and rep.

    It is a great honor to get your Reputation, thank you very much!

+ 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] Parse specific column values and create new column based on ID matching
    By markallan20 in forum Excel General
    Replies: 5
    Last Post: 04-28-2022, 03:54 PM
  2. [SOLVED] Lookup for a string under column B within text inside a range of cells under Column A
    By mrrimal in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-03-2022, 10:12 AM
  3. [SOLVED] duplicate text in empty cells along the column until new text appears in that column
    By aaaaa34 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-23-2019, 07:01 AM
  4. Formula to parse, split data inside a text and combine with a column
    By djmatok in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-25-2018, 05:03 PM
  5. Replies: 2
    Last Post: 04-17-2014, 03:30 PM
  6. [SOLVED] Expand on Parse Function/ Column to Column - Contiguous Data to include quantities
    By arcamp in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-21-2013, 05:18 PM
  7. Replies: 1
    Last Post: 02-07-2013, 03:14 AM

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