Automatically generate/separate duplicate value in cell.

rudzkien

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

I need your help. I want to separate automatically the duplicate names in my list while typing them. I want to include also the quantity of duplicate names. The image "2" is only a sample which I would like to happen.
Duplicate - Excel.jpg
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Hi and welcome to MrExcel.

If you change the formula in column C, you can use the following:

Note: The formula in column E is an Array formula.

Dante Amor
ABCDEF
1No1stQtyDuplicateQty
21Monitor1Phone3
32Key2CPU2
43Mouse1Key2
54System1  
65Motherboard1  
76CPU2  
87Phone3  
98Router1  
109Lan cable1  
1110Key1  
1211Pen1  
1312Paper1  
1413Coffe1  
1514CPU1  
1615Cable1  
1716Printer1  
1817Phone2  
1918Mug1  
2019Phone1  
21
22
Hoja1
Cell Formulas
RangeFormula
E2:E20E2=IFERROR(INDEX($B$2:$B$200,LARGE(IF($C$2:$C$200=2,ROW($C$2:$C$200)-1),ROWS($E$1:E1))),"")
F2:F20F2=IFERROR(VLOOKUP(E2,$B$2:$C$200,2,0),"")
C2:C20C2=COUNTIF(B2:B$200,B2)
Press CTRL+SHIFT+ENTER to enter array formulas surrounded with curly braces.
 
Upvote 0
Wow! Thank you so much. There's some small changes like the quantity(QTY) of the list but I guessed that's the only way to do this thing. This is very helpful. THANK YOU!!!.:geek:

P.S. I would like to add additional question: What if I need to add 2 to 3 columns on the list, like I have Batch 1 and I want to add second and third column on the list for Batch 2 and 3. (I'm not sure if I need to make another topic for this)
 
Upvote 0
Hi @DanteAmor ,

This was the one I was referring (please see attached photo). I want to add 2nd Batch and 3 Batch list. But the Mouse and Monitor(Batch 2) are not included in Duplicate List.

How can we include Batch 2 and Batch 3 List in Duplicate List?
Duplicate List w Batch 2 & 3.PNG
 
Upvote 0

Forum statistics

Threads
1,214,867
Messages
6,122,002
Members
449,059
Latest member
mtsheetz

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