+ Reply to Thread
Results 1 to 2 of 2

Comparing and sorting multiple column groups

  1. #1
    Registered User
    Join Date
    02-28-2014
    Location
    Minneapolis, MN
    MS-Off Ver
    O365
    Posts
    9

    Comparing and sorting multiple column groups

    So I would appreciate any help that I could get here. I'm am trying to take multiple column-groups and sort them by product ID number.

    I am trying to put together a sales record for the past 26 months for around 2000 different items and sorting them manually would obviously be a nightmare.

    I would like to sort them so that all the drugs with the same NDC (prod ID) have the correct data for each month displayed on the correct row for that NDC. Right now I have each set of data for that month sorted by product ID number but some months we used certain products and others we did not. Is there any sort of Macro that I could use? To give you an idea of what I am trying to do I attached two files. The "before" and my desired "after".

    Thanks to anyone who can help.

    starting point.xlsx
    end product.xlsx

  2. #2
    Forum Expert
    Join Date
    01-25-2011
    Location
    Belgium, Alveringem
    MS-Off Ver
    Excel 2003, 2007, 365
    Posts
    1,419

    Re: Comparing and sorting multiple column groups

    use a table and a pivottable
    Attached Files Attached Files
    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.

+ 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. Sorting groups of named multiple rows - how to?
    By CapClark in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-21-2013, 03:30 PM
  2. Sorting 2 data ranges by comparing one column in each and sorting to match
    By MDKsmiffy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-17-2013, 03:30 PM
  3. Need column with subtotal of multiple criteria groups
    By markmellow in forum Excel General
    Replies: 3
    Last Post: 08-01-2012, 09:18 PM
  4. Replies: 3
    Last Post: 03-07-2012, 08:52 PM
  5. Comparing two groups of numbers
    By RalphJ in forum Excel General
    Replies: 6
    Last Post: 07-04-2010, 04:06 PM

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