How to Give serial numbering to Group of Duplicate values ?

navinrb

Board Regular
Joined
Jun 9, 2020
Messages
82
Office Version
  1. 2019
Platform
  1. Windows
  2. Mobile
  3. Web
How do i give numbering to each bunch of duplicate values
Eg : 3471113 as 1
3471116 as 2
3471117 as 3 and so on
As shown in figure... I can count duplicate usung countif but want to number those duplicates too ..thanks for reading
 

Attachments

  • FB_IMG_16023445310848450.jpg
    FB_IMG_16023445310848450.jpg
    174.2 KB · Views: 10

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
like this?
RawResult
34711133471113.01
34711163471113.02
34711173471113.03
34711133471113.04
34711193471116.01
34711133471117.01
34711133471119.01

use XL2BB to post representative example of source data and expected result (not a picture)
 
Upvote 0
Listen to the advice of colleague @sandy666
You are not clear enough for me.
You should have set an example of the expected results.

Try one of these two formulas below
in the 'X2' cell (copy down)
Code:
=R2&"."&COUNTIF(R$2:R2,R2)
or
in the 'Y2' cell (ARRAY formula, finished with CSE), (copy down)
Code:
=IF(COUNTIF(R$2:R2,R2)=1,MAX(Y$1:Y1)+1,INDEX(Y$1:Y1,MATCH(R2,R$1:R1,0)))
 
Upvote 0
like this?
RawResult
34711133471113.01
34711163471113.02
34711173471113.03
34711133471113.04
34711193471116.01
34711133471117.01
34711133471119.01

use XL2BB to post representative example of source data and expected result (not a picture)
Sorrythat's not my desired result. I want to give serial numbering to group of duplicate values like 1 for all duplicates 371113 and 2 for all 371116 ...so on...
 
Upvote 0
Listen to the advice of colleague @sandy666
You are not clear enough for me.
You should have set an example of the expected results.

Try one of these two formulas below
in the 'X2' cell (copy down)
Code:
=R2&"."&COUNTIF(R$2:R2,R2)
or
in the 'Y2' cell (ARRAY formula, finished with CSE), (copy down)
Code:
=IF(COUNTIF(R$2:R2,R2)=1,MAX(Y$1:Y1)+1,INDEX(Y$1:Y1,MATCH(R2,R$1:R1,0)))
Thank you i will try this one. Hope it works
 
Upvote 0

Forum statistics

Threads
1,215,679
Messages
6,126,186
Members
449,296
Latest member
tinneytwin

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