+ Reply to Thread
Results 1 to 6 of 6

How to extract unique ids in order to pivot them (not removing them)

  1. #1
    Registered User
    Join Date
    12-17-2020
    Location
    Los Angeles, CA
    MS-Off Ver
    Microsoft 2016
    Posts
    23

    How to extract unique ids in order to pivot them (not removing them)

    Hello friends,

    I have a question. Will be very grateful if someone can help me.

    I need to have a unique count of order IDs in column B.

    For example, column A has 5 S01-1217855-6422013 and later 2 S01-3290782-2346839 etc. They are duplicates but I cannot remove those duplicates because they are connected to an another criterion (ASIN number, they differ for duplicates).

    At the end, I want to pivot data based on the unique count of order id and not based on the line level (with duplicates).

    Does anyone know?

    I strongly appreciate your time.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    12-17-2020
    Location
    Los Angeles, CA
    MS-Off Ver
    Microsoft 2016
    Posts
    23

    Re: How to extract unique ids in order to pivot them (not removing them)

    Does anyone know?

  3. #3
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2404
    Posts
    1,251

    Re: How to extract unique ids in order to pivot them (not removing them)

    Try this array formula in B2. Paste it and confirm with Ctrl+Shift+Enter instead of just Enter. Then copy down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Good luck!

  4. #4
    Registered User
    Join Date
    12-17-2020
    Location
    Los Angeles, CA
    MS-Off Ver
    Microsoft 2016
    Posts
    23

    Re: How to extract unique ids in order to pivot them (not removing them)

    Hello Estevaoba I really appreciate your help. Thank you!!

    However, it is not completly what I need.

    I need not just to filter duplicates but I need to have in Column B 1 unique order IDs in front of their group.

    Grouping.JPG

    Like this. Empty space near duplicates.

    Capture2.JPG

    The reason is that later I plan to pivot that unique order id and compare it to how fast the order was shipped. So this unique order id needs to be on the same row with the information how fast the order was shipped.

    Capture3.JPG

    Order count is great, it matches, but with the formula that you have provided I get a list of all unique orders and they are not on the same row with other specifics of the order.

    If you may know, please let me know.

    I extremely appreciate your kindness and desire to help.

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: How to extract unique ids in order to pivot them (not removing them)

    Try in B2:

    Please Login or Register  to view this content.
    Drag down
    Quang PT

  6. #6
    Registered User
    Join Date
    12-17-2020
    Location
    Los Angeles, CA
    MS-Off Ver
    Microsoft 2016
    Posts
    23

    Re: How to extract unique ids in order to pivot them (not removing them)

    bebo021999 it worked!! Thank you very much!!! I really appreciate!! Thank you

+ 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. Created calculated pivot field for unique "order numbers"
    By michellepace in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-02-2018, 05:03 AM
  2. [SOLVED] Extract unique limited, number of values based on criteria in ascending order
    By Villalobos in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-03-2017, 04:56 AM
  3. Replies: 5
    Last Post: 09-04-2016, 07:09 AM
  4. [SOLVED] Sum of Order Total Based on Unique Order ID
    By ivdezine in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 07-31-2015, 08:10 AM
  5. Sum of Order Total Based on Unique Order ID
    By ivdezine in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-31-2015, 07:55 AM
  6. Sum of Order Total Based on Unique Order ID
    By ivdezine in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-31-2015, 07:35 AM
  7. [SOLVED] Extract Unique Values from Long list and Put in Sorted Order
    By snapfade in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 04-08-2013, 09:10 PM

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