+ Reply to Thread
Results 1 to 7 of 7

Group a single row cell to multiple row cells

  1. #1
    Registered User
    Join Date
    08-19-2011
    Location
    New York, New York
    MS-Off Ver
    Excel 2011
    Posts
    20

    Group a single row cell to multiple row cells

    Hello all,

    I'm sure there's some very simple solution to this, but I'm not seeing it:

    I am trying to group columns together that have an uneven set of rows. I want to be able to sort by Column C, to show all the Names and Websites associated with Item 1.

    Any way to "merge" or "group" and maintain sorting capabilities?


    Column A | Column B | Column C
    Name A Website A Item 1
    Website B
    Name B Website C Item 2
    Name C Website D Item 1
    Website E
    Website F

    Thanks so much in advance!

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Group a single row cell to multiple row cells

    Try this method, to populate the empty cells:

    Select column A and then hold the CTRL key and select A1.

    Then go to Edit|Go To and click Special....select Blanks and click Ok.

    enter an = sign and hit the up arrow key.

    Hold the CTRL key again and hit ENTER.

    You may have to fix whatever was in A1.


    Repeat for column C, etc...
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    08-19-2011
    Location
    New York, New York
    MS-Off Ver
    Excel 2011
    Posts
    20

    Re: Group a single row cell to multiple row cells

    That is a very cool trick, thanks for showing that to me. However, is there a way to keep my column A as single lines? Basically, I'm being asked to have a single line of Column A Names and then have a list of websites associated with a single name. For some reason, we don't want to sort with multiple Names... Any other way? I thought I could perhaps merge cells in column A to have that one cell associated with the multiple cells of Column B, but you can't sort that way...

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Group a single row cell to multiple row cells

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!

  5. #5
    Registered User
    Join Date
    08-19-2011
    Location
    New York, New York
    MS-Off Ver
    Excel 2011
    Posts
    20

    Re: Group a single row cell to multiple row cells

    Sorry! Please see attached and thanks again!
    Attached Files Attached Files

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Group a single row cell to multiple row cells

    Besides what I have already showed you, the only other way really is to add helper columns that basically fill in those cells with what's above.

    So, in D2 enter:

    =LOOKUP(REPT("z",255),A$2:A2)

    copied down

    and in E2 enter:

    =LOOKUP(REPT("z",255),C$2:C2)

    Now include these columns in your filter and use them instead to filter the data.

  7. #7
    Valued Forum Contributor Miraun's Avatar
    Join Date
    04-03-2009
    Location
    New England
    MS-Off Ver
    2003, 2007, 2010, 2013
    Posts
    554

    Re: Group a single row cell to multiple row cells

    To tack on the NBVC's comment, after you've added the additional information to the raw data, you can run a pivot table off of the data and easily extract it in a way that's pleasing to the eye, or the end stakeholder.

    The problem is that you're trying to make your raw data appealing for reporting. Excel is great at generating reports off of raw data, but not always for making raw data look good.
    Going for Guru! Click the Star to the bottom left of this post if I helped!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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