+ Reply to Thread
Results 1 to 5 of 5

Need a special sort method completed

  1. #1
    Registered User
    Join Date
    05-08-2012
    Location
    Missouri, USA
    MS-Off Ver
    Excel 2003
    Posts
    11

    Question Need a special sort method completed

    I have the following setup on a worksheet :

    5427 Data
    5427 Data
    5427 Data
    6565 Data
    6565 Data
    7765 Data

    all I want to do is have the above table look like this :

    5427 Data
    6565 Data
    7765 Data

    The concept being that I can double click that row to see the additional information(i.e. expand to show extra information)

    Real life use would be of such, the first column contains the invoice number, the 2nd 3rd etc contain item associated with such invoice.
    In grouping the column invoice number, you only have to look at one invoice, instead of it duplicating for each item contained within the invoice.

    Thanks a lot for anyone up to the task!

    Edit : This will need to be done in an efficient manner(over 4000 rows need grouped)

    Edit : I realize I could just create a list that has one copy of the duplicates, but I want to extract the original information as well. For example, it would look like the following :

    Original :
    1212 Data
    1212 Data 2
    1212 Data 3
    2323 Data 1
    2323 Data 2

    Edited :
    1212
    2323

    double click 1212 for :
    1212
    +Data 1
    +Data 2
    +Data 3
    2323

    Note : This grouping will also have to span across the whole row, sample rows :
    Invoice# Price Color Weight Item
    1212 Column1Data Column2Data Column3Data Column4Data etc.
    1212 Column1Data Column2Data Column3Data Item2Column4Data etc.
    Last edited by ace2go; 07-09-2013 at 11:46 AM.

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: Need a special sort method completed

    Just a quick thought, would subtotal work?
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Need a special sort method completed

    You need to create a unique list for your numbers...

    http://www.get-digital-help.com/2009...om-one-column/
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    05-08-2012
    Location
    Missouri, USA
    MS-Off Ver
    Excel 2003
    Posts
    11

    Question Re: Need a special sort method completed

    All that method does is remove duplicates. My end goal is to basically create a tree heirarchy of the data, in which you would double click a cell to expand to show all values hidden before you expanded it.

    Example -

    Condense this :

    Item1 SubitemColumn1Data1 SubitemColumn2Data1
    Item1 SubitemColumn1Data2 SubitemColumn2Data2
    Item1 SubitemColumn1Data3 SubitemColumn2Data3
    Item2 SubitemColumn1Data1 SubitemColumn2Data1
    Item2 SubitemColumn1Data2 SubitemColumn2Data2

    To This :

    Item1(ex)
    Item2(ex)

    The above will show the full field of columns and rows after you double click "Item1(ex)" or "Item2(ex)"

    In my case, instead of looking at a spreadsheet that has 1000 items associated with an invoice number, I will be able to condense
    the view to showing 1 copy of each invoice number, and see the additional items upon double clicking to expand the invoice number cell.

    Thanks a lot!

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: Need a special sort method completed

    I go with my original reply, have you tried the subtotal function, that seems like it would work for you at least given the list you typed.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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