Creating Unique list from Customer Order Amount, Customer Name and Order Identifier using the Unique function

bearcub

Well-known Member
Joined
May 18, 2005
Messages
731
Office Version
  1. 365
  2. 2013
  3. 2010
  4. 2007
Platform
  1. Windows
Is it possible to use to create a list of values based upon three different columns? I create a unique list of customer orders so I aggregate commissions paid against a customer order.

I calculated rep commissions and I get a data dump from our commission system.

Each commission paid llsts the customer name, the order amount , commissions paid etc for each order. If 50 people receiving payment on the same order then the customer order amount will appear 50 times in the list. The way the sheet is presently set up it is difficult to get a unique customer list.

Customers can have multiple orders during the year. We identify each order by "order Code".

I can create a unique list from the order using the Order Code Feld. But the order code is in the 4th column in the array.

If I include multiple items to create the list, how would I specify the column order? Or is this possible?

This is the data that I am trying to create a unique list from (the unique identified for the order is the Order Code field which I have highlighted in yellow)

1724085929935.png


The lines shown above are for 1 person's commission. Every person that is paid commissions will have the same structure but different payment orders. I would like to create a unique list from the above table for every month
 
unique will do that
if you ignor the earning group , as they are all unique

Book2
ABCDEFGHIJKLMNO
1Credit AmountCustomer NameOrder Item CodeOrder CodeIncentive DateEarning GroupCredit AmountCustomer NameOrder Item CodeOrder CodeIncentive Date
2224,371.00Ingram Micro Inc.NARR_2024-02-29_From_Connect0064X00002M7t6pQAB2/29/24NARR224,371.00Ingram Micro Inc.NARR_2024-02-29_From_Connect0064X00002M7t6pQAB2/29/24
31.00Ingram Micro Inc.NARR_2024-02-29_From_Connect0064X00002M7t6pQAB2/29/24New Logo1.00Ingram Micro Inc.NARR_2024-02-29_From_Connect0064X00002M7t6pQAB2/29/24
4224,371.00Ingram Micro Inc.NARR_2024-02-29_From_Connect0064X00002M7t6pQAB2/29/24New Logo NARR105,550.00Ingram Micro Inc.NARR_2024-02-29_From_Connect0064X00002M7t6pQAB2/29/24
5105,550.00Ingram Micro Inc.NARR_2024-02-29_From_Connect0064X00002M7t6pQAB2/29/24Professional Services
Sheet1
Cell Formulas
RangeFormula
J1:N4J1=UNIQUE(A1:E5)
Dynamic array formulas.
unique will do that
if you ignor the earning group , as they are all unique

Book2
ABCDEFGHIJKLMNO
1Credit AmountCustomer NameOrder Item CodeOrder CodeIncentive DateEarning GroupCredit AmountCustomer NameOrder Item CodeOrder CodeIncentive Date
2224,371.00Ingram Micro Inc.NARR_2024-02-29_From_Connect0064X00002M7t6pQAB2/29/24NARR224,371.00Ingram Micro Inc.NARR_2024-02-29_From_Connect0064X00002M7t6pQAB2/29/24
31.00Ingram Micro Inc.NARR_2024-02-29_From_Connect0064X00002M7t6pQAB2/29/24New Logo1.00Ingram Micro Inc.NARR_2024-02-29_From_Connect0064X00002M7t6pQAB2/29/24
4224,371.00Ingram Micro Inc.NARR_2024-02-29_From_Connect0064X00002M7t6pQAB2/29/24New Logo NARR105,550.00Ingram Micro Inc.NARR_2024-02-29_From_Connect0064X00002M7t6pQAB2/29/24
5105,550.00Ingram Micro Inc.NARR_2024-02-29_From_Connect0064X00002M7t6pQAB2/29/24Professional Services
Sheet1
Cell Formulas
RangeFormula
J1:N4J1=UNIQUE(A1:E5)
Dynamic array formulas.
Thank you, yes this is what I needed to know. The unique function behaves like "Remove Duplicates" on the Data menu. I have noticed that if I have more than 1 column of data I get a message asking if I want to use both columns in creating the unique list.


1724092213971.png
 
Upvote 0

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top