Closed Thread
Results 1 to 11 of 11

Group Like Items Together

  1. #1
    Registered User
    Join Date
    03-05-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    15

    Group Like Items Together

    Explaination of Data:

    I have 2 Columns in the "RawData" sheet in the file attached. One says the Shipment Number, and the other says the Product Code. One shipment, will always never have duplicate product codes.

    I want to organize the data in the following fashion (as seen in the "Format" Sheet). I wish to acquire the trends of grouping of products, meaning what product (by product code) is sold together, to understand the hottest combinations.

    Can someone help me suggest the best way to do this? Thank you for your help.

    Book1.xlsx

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Group Like Items Together

    Ended up making a mess of variable names (and probably the structure) but I think it works...
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-05-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    15

    Smile Re: Group Like Items Together

    Hi,

    Thank you for your response. I think I didn't make it clear, and I'd like to sincerely apologise for the mistake.

    The idea is to see which product sells more with a particular product. Keeping in that spirit, I think you are almost there, but there is a change I'd like to request.

    As you can see in the attached file, I'd like to know how many times a particular product (by product code) was sold with the other. As you can imagine, I have about 300 shipments, but have about 1500 different product codes to deal with, this activity will save me hours of time.

    Thank you once again for so much help, and time you have given. I sincerely appreciate it.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Group Like Items Together

    Again, apologies for the mess but I think it does the job:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    03-05-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Group Like Items Together

    I'm sorry but I get a type mismatch error. Also, the "Number of Times" column appears in the RawData sheet.

  6. #6
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Group Like Items Together

    Try:
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    03-05-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Group Like Items Together

    I get a type mismatch error. But yes, the "Number of Times" column appearing in RawData sheet has stopped.

  8. #8
    Registered User
    Join Date
    03-05-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Group Like Items Together

    I've uploaded the datafile with which I am working. It also shows the result in sheet3, and has the code. This should ease the process.

    Thank you so much for your time.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    03-05-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Group Like Items Together

    Sorry for being pushy, and believe me I usually am not - but I could really use some help to fix this - as I need to figure this out - without doing it manually, which would eat up like an entire day - probably with loads of erros

  10. #10
    Registered User
    Join Date
    03-05-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Group Like Items Together

    Can someone help me with this problem?

  11. #11
    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: Group Like Items Together

    Thread closed as Op started a new thread in Commercial Sub Forum.
    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.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Using conditional formatting to group items
    By scottrperry in forum Excel General
    Replies: 3
    Last Post: 03-29-2019, 03:35 PM
  2. Group Items in vba
    By treva31 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-17-2011, 04:01 AM
  3. How to group orders and order items?
    By madsylar in forum Excel General
    Replies: 1
    Last Post: 03-24-2011, 12:45 AM
  4. How to group items into a JPG ?
    By Reema in forum Word Formatting & General
    Replies: 3
    Last Post: 08-03-2009, 09:35 AM
  5. Replies: 1
    Last Post: 07-31-2005, 02:10 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