Only get one value from a list of duplicates

Takes2ToTango

Board Regular
Joined
May 23, 2023
Messages
71
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I need help with a formula.

I have attached a screenshot below. I have a list of data where the order number is the same in multiple rows. When I pivot table, it will sum up all Qty with the same order number. I am trying to get it so it only picks up the first one and then ignores the rest. I should end up with the 4th column with only one singular '20' in and the rest blank. I hope this explains it enough!

1737472621708.png
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Assuming your table is called Table1, you can do the following:

In a new sheet called Sheet3, in cell H2, enter the formula:

Excel Formula:
=UNIQUE(Table1[#All])


In Name Manager, we can create a table called DistinctTable and set it to Sheet3!$H$2# like the screenshot below


Now we can create a pivot table and reference the DistinctTable named range.

1737473455632.png
1737473487047.png
 
Upvote 0
Many thanks.

I have done that and it has worked great!

Is there a way to attach that non-duplicated information to another pivot table I have? I need the sum of all qty done in the week number.
 
Upvote 0
You should be able to just reference the DistinctTable in any of those pivot tables. I might be confused by your question. Can you explain a little more what you are trying to accomplish?
 
Upvote 0

Forum statistics

Threads
1,226,114
Messages
6,189,051
Members
453,522
Latest member
Seeker2025

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