+ Reply to Thread
Results 1 to 5 of 5

Split information from one column to others

  1. #1
    Registered User
    Join Date
    03-07-2019
    Location
    Oregon
    MS-Off Ver
    2013
    Posts
    4

    Split information from one column to others

    Hi everyone, I'm having issues with a database. I want to create 4 columns from a single one. Let me explain: There's a column where every cell have "all" the information for an specific project. That cell contains 4 elements of information (some have 3, 2 or even just 1) divided by an "-" if there's more than one type of information.

    text 1 - text 2 - text 3 - text 4
    text 1 - text 3
    text 1
    text 1 - text 3 - text 4


    Attached is a sample of what I have and I what I need.


    Do someone know how can I make that possible? There's 15k rows that I need to filter depending on the text (1,2,3,4)
    Attached Files Attached Files

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

    Re: Split information from one column to others

    Because you have missing fields in the middle, the only way to do this is to provide a detailed specification of the format of data that can appear in each of the four fields. This one is especially confusing:

    NO_BUSROLE - NO BUSINESS ROLE

    which ends up being just one column with NO_BUSROLE.

    It might not be possible at all. If there are only three elements, I see no way to tell the difference between a missing application and missing product name.

    I suspect this is going to require VBA, but I can't be sure without seeing your specification.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Split information from one column to others

    Hi,

    Will you allow a Power Query answer for this problem? Can you supply a few more rows of example and what you expect the result to be?

    Power Query has a better Split() function where you can do it from the right or left. It also looks like your second column will always have the word "active" in it.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  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,820

    Re: Split information from one column to others

    Why is this query in the Access section of the forum? Is it in fact an Excel query?
    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.

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

    Re: Split information from one column to others

    Moved from Access Tables & Databases since the sample file makes it clear that this is an Excel question.

+ 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. VBA Split PDF according information in excel
    By flint001 in forum Excel General
    Replies: 0
    Last Post: 08-15-2017, 07:54 AM
  2. Need Macro code to split data split in 7 sheets based on variable rows in column A
    By Alija_21 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-31-2015, 08:03 AM
  3. [SOLVED] Multiple values in single cell (known column) split into rows with duplicate information
    By bwashbourne in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-06-2015, 05:00 PM
  4. Split information in one cell to multiple cells
    By wintheranders in forum Excel General
    Replies: 1
    Last Post: 01-13-2014, 11:07 AM
  5. [SOLVED] how to split the information between 3 listbox's
    By Quicksnot in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-23-2013, 11:00 PM
  6. [SOLVED] split the events and paste it with same information
    By faddies in forum Excel General
    Replies: 8
    Last Post: 07-26-2012, 01:39 AM
  7. split information in column to other columns
    By babar48 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-14-2011, 11:39 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