+ Reply to Thread
Results 1 to 4 of 4

Need to move multiple responses in single cell to single response in multiple cells

  1. #1
    Registered User
    Join Date
    05-03-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    10

    Need to move multiple responses in single cell to single response in multiple cells

    I am looking for a way to move information that is listed in a single cell into multiple cells, as shown as an example below.

    Current Format:
    Label A Label B
    X 1, 2, 3 GG, HH, II, JJ
    Y 4, 5 RR, SS, TT


    Desired Format:
    X 1 Label A
    X 2 Label A
    X 3 Label A
    X GG Label B
    X HH Label B
    X II Label B
    X JJ Label B
    Y 4 Label A
    Y 5 Label A
    Y RR Label B
    Y SS Label B
    Y TT Label B


    Any ideas are much appreciated!
    Last edited by BBExcelusr; 02-21-2014 at 05:32 PM.

  2. #2
    Registered User
    Join Date
    05-03-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Need to move multiple responses in single cell to single response in multiple cells

    I should have included an Excel attachment with the same example given. Please see attached.
    Excel Example - Single to multiple cells.xlsx

  3. #3
    Registered User
    Join Date
    02-14-2013
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Need to move multiple responses in single cell to single response in multiple cells

    I'm not sure I understand why you have A and B under Column A, Lines 3 and 4 - however, I might use an IF OR statement
    i.e:

    =if(or(B8=1,B8=2,B8=3,B8=4,B8=5),"Label A", "Label B")

    or better yet - if the Label B's are always text and the Label A's are always numbers:

    =if(isnumber(B8),"Label A", Label B")

    And copy that down

  4. #4
    Registered User
    Join Date
    05-03-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Need to move multiple responses in single cell to single response in multiple cells

    I realize now that it probably wasn't smart to use "A" and "B" as my variables. I've updated them to be "X" and "Y" instead to hopefully alleviate any more confusion.

+ 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] How to subtract single cells with double digits into a single digit of a single cell.
    By greenfox74 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-11-2021, 02:05 AM
  2. Replies: 5
    Last Post: 02-09-2014, 11:04 PM
  3. Replies: 5
    Last Post: 05-25-2013, 07:12 AM
  4. Dealing with single and multiple responses
    By mfubib in forum Excel General
    Replies: 2
    Last Post: 12-09-2010, 07:57 PM
  5. Replies: 2
    Last Post: 03-23-2010, 07:59 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