+ Reply to Thread
Results 1 to 5 of 5

Format cell filled with values seperated by | into new seperate cells

  1. #1
    Forum Contributor
    Join Date
    10-10-2015
    Location
    nj
    MS-Off Ver
    Office 2021
    Posts
    203

    Format cell filled with values seperated by | into new seperate cells

    Hi all.

    Have a column of cells filled with item descriptions separated by the | symbol.

    How can I get the values separated by | into new separate cells?

    Please see attached highlighted column
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: Format cell filled with values seperated by | into new seperate cells

    Have you tried text to columns?
    Ben Van Johnson

  3. #3
    Valued Forum Contributor jtakw's Avatar
    Join Date
    05-05-2018
    Location
    CA, USA
    MS-Off Ver
    2016
    Posts
    668

    Re: Format cell filled with values seperated by | into new seperate cells

    Hi,

    If I understand correctly, use this formula in Z2 copied down and across as far as needed:

    =TRIM(MID(SUBSTITUTE($Y2,"|",REPT(" ",LEN($Y2))),COLUMNS($Z2:Z2)*LEN($Y2)-LEN($Y2)+1,LEN($Y2)))

  4. #4
    Forum Contributor
    Join Date
    10-10-2015
    Location
    nj
    MS-Off Ver
    Office 2021
    Posts
    203

    Re: Format cell filled with values seperated by | into new seperate cells

    Mmmm close except the other half of the original cell needs to be moved to cell AA2 "Extra soft and comfy for a great sleep".

    If there is multiple breaks in the original cell then a 3rd or 4th column would be needed based on the total |

  5. #5
    Valued Forum Contributor jtakw's Avatar
    Join Date
    05-05-2018
    Location
    CA, USA
    MS-Off Ver
    2016
    Posts
    668

    Re: Format cell filled with values seperated by | into new seperate cells

    If you're talking to me...

    That's what my formula does. Did you change something within the formula?? And, did you read my post telling you to copy the formula DOWN and ACROSS as far as needed??

    Download the file in my post #3 and see for yourself.

    Edit: I've re-uploaded the file, download it from this post. No change in formula, same as Post #3.
    Attached Files Attached Files
    Last edited by jtakw; 06-26-2018 at 09:25 PM.

+ 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. Seperate single cell values that are seperated by |
    By forestavekids in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-16-2017, 10:48 PM
  2. [SOLVED] Trying to Create a Time Format From Seperate Cell Values
    By sbernard in forum Excel General
    Replies: 5
    Last Post: 02-11-2014, 04:28 PM
  3. Continuous changing cell values - record highest and lowest values in seperate cells
    By attienel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-11-2013, 05:12 PM
  4. Seperate Values in single cell seperated by [alt+enter] into seperate cells
    By Coquito in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-22-2012, 04:24 PM
  5. Data in cell needs to be seperated to seperate row.
    By bissalinn in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-07-2012, 11:43 AM
  6. [SOLVED] Seperate Comma seperated values in seperate rows in different tab of same worksheet
    By amlan009 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-28-2012, 04:54 AM
  7. Conditional Format in a cell when 5 other cells are filled
    By raehippychick in forum Excel General
    Replies: 8
    Last Post: 04-03-2007, 06:22 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