+ Reply to Thread
Results 1 to 3 of 3

Sorting part numbers in order

  1. #1
    Registered User
    Join Date
    09-04-2012
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    49

    Sorting part numbers in order

    I have a list of part numbers and sales figures for them, for Cars. For example:
    Jan 2012
    100-000-001Car 5
    100-000-002Car 6
    100-000-003Car 4

    I have a list of part numbers and sales figures for them, for Trucks -- and there is a lot of overlap in part numbers. For example:

    Jan 2012
    100-000-001Truck 5
    100-000-003Truck 6

    I have a list of part numbers and sales figures for them, for Motorcycles, with a lot of overlap. For example:

    Jan 2012
    100-000-001Bike 7
    100-000-002Bike 4

    And I have a list of part numbers and sales figures, for Total.

    Jan 2012
    100-000-001Total 17
    100-000-002Total 10
    100-000-003Total 10

    Right now I have these figures in separate tabs; I could put them in the same tab if necessary.

    I want to put this info in order, like this:

    Jan 2012
    100-000-001Car 5
    100-000-001Truck 5
    100-000-001Bike 7
    100-000-001Total 17
    100-000-002Car 6
    100-000-002Bike 4
    100-000-002Total 10

    etc.

    How do I put this all together? I think VLOOKUP will be part of it, and sorting, but I'm confused.

    Thanks!

  2. #2
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Sorting part numbers in order

    A couple of potential solutions come to mind. First, get all of this data into one table on one sheet. Second, you will need to add a date column. Third, get rid of the Totals since what I propose will automatically calculate that for you.

    First option is to use 'Subtotal'. Go to the 'Data' ribbon and on the right there should be an icon called Subtotal. Play around with that and you will likely get what you are looking for.

    Second option is to use pivot tables. More complex, but also more powerful. You should be able to achieve your goals with a pivot table, too.

    There are plenty of tutorials on how to use subtotal and pivot tables. Google for those if you need help. Or, if you are really stuck, post your workbook in this thread. People generally hate having to type in data to replicate your spreadsheet - and they usually make invalid assumptions when typing it in.
    Pauley
    --------
    If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).

  3. #3
    Registered User
    Join Date
    09-04-2012
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: Sorting part numbers in order

    Thank you, Pauley!

+ 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