Automatic separate duplicate with two or three columns.

rudzkien

New Member
Joined
Feb 21, 2020
Messages
5
Office Version
  1. 2010
Platform
  1. Windows
  2. Mobile
Hi Guys,

Can you please help me I would like to know how to separate automatically the same names with two or three columns. I manage to separate automatically the first column with the help of Mr. @DanteAmor (Thank you!). But how can I include Batch 2 and Batch 3 List in Duplicate List?

As you can see in the photo below. All same name in 1st Batch are in Duplicate list with quantity. But the 2nd batch was not included in Duplicate List.

Please help!

Duplicate List w Batch 2 & 3.PNG
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
For that example, with the following formulas:

varios 21feb2020.xlsm
ABCDEFGHIJKL
1No1stQtyNo2ndQtyNo3rdQtyDuplicateQty
21Monitor126Laptop151PC2PC2
32Key227Charger152Cable2Key2
43Mouse128Mouse253Mouse3Cable2
54System129PC154CPU4Mouse3
65Motherboard130Monitor2550Monitor2
76CPU231Flashdrive2560CPU4
87Phone332CPU3570Flashdrive2
98Router1330580Phone3
109Lan cable1340590 0
1110Key1350600 0
1211Pen1360610 0
1312Paper1370620 0
1413Coffe1380630 0
1514CPU1390640 0
1615Cable1400650 0
1716Printer1410660 0
1817Phone2420670 0
1918Mug1430680 0
2019Phone1440690 0
2120HDD1450700 0
2221Flashdrive1460710 0
23220470720 0
24230480730 0
25240490740 0
26250500750 0
Hoja1
Cell Formulas
RangeFormula
K2:K26K2=IFERROR(INDIRECT(TEXT(SMALL(IF($B$2:$H$26<>"",IF($C$2:$I$26=2,ROW($B$2:$H$26)*1000+COLUMN($B$2:$H$26))),ROWS($A$2:$A2)),"R000C000"),0),"")
L2:L26L2=MAX(($B$2:$H$26=K2)*(IF(ISNUMBER($C$2:$I$26),$C$2:$I$26)))
C2:C26C2=COUNTIF(B2:B$26,B2)
F2:F26F2=COUNTIF($B$2:B$26,E2)+COUNTIF(E2:E$26,E2)
I2:I26I2=COUNTIF($B$2:B$26,H2)+COUNTIF($E$2:E$26,H2)+COUNTIF(H2:H$26,H2)
Press CTRL+SHIFT+ENTER to enter array formulas surrounded with curly braces.
 
Upvote 0

Forum statistics

Threads
1,214,893
Messages
6,122,121
Members
449,066
Latest member
Andyg666

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