Formula that creates a unique number for repeating list numbers

goldiekratz437

New Member
Joined
May 14, 2013
Messages
9
Hi Mr. Excel Whiz Kids:

I need a formula that will add .1, .2, .3, etc. to a repeating list number. See the example below.
[TABLE="width: 211"]
<TBODY>[TR]
[TD]Project Work Id</SPAN>
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]8069000</SPAN>
[/TD]
[TD="align: right"]8069000</SPAN>
[/TD]
[/TR]
[TR]
[TD="align: right"]8069000</SPAN>
[/TD]
[TD="align: right"]8069000.1</SPAN>
[/TD]
[/TR]
[TR]
[TD="align: right"]8168000</SPAN>
[/TD]
[TD="align: right"]8168000</SPAN>
[/TD]
[/TR]
[TR]
[TD="align: right"]8169000</SPAN>
[/TD]
[TD="align: right"]8169000</SPAN>
[/TD]
[/TR]
[TR]
[TD="align: right"]9034000</SPAN>
[/TD]
[TD="align: right"]9034000</SPAN>
[/TD]
[/TR]
[TR]
[TD="align: right"]9034000</SPAN>
[/TD]
[TD="align: right"]9034000.1</SPAN>
[/TD]
[/TR]
[TR]
[TD="align: right"]10000948</SPAN>
[/TD]
[TD="align: right"]10000948</SPAN>
[/TD]
[/TR]
[TR]
[TD="align: right"]10000948</SPAN>
[/TD]
[TD="align: right"]10000948.1</SPAN>
[/TD]
[/TR]
[TR]
[TD="align: right"]10000948</SPAN>
[/TD]
[TD="align: right"]10000948.2</SPAN>
[/TD]
[/TR]
</TBODY>[/TABLE]


Thank you so much. You guys/gals are great!

Jeanette
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
If your ID's is in column A starting in cell A2
Copy this formula to cell B2

=IF(COUNTIF(A$2:A2,A2)>1,A2&"."&COUNTIF(A$2:A2,A2)-1,A2)

Copy the formula down
 
Upvote 0
are the numbers always going to be in order

I think this will work -

=IF( (A2=A1), B1+0.1,A2)

Excel Workbook
AB
280690008069000
380690008069000.1
481680008168000
581690008169000
690340009034000
790340009034000.1
81000094810000948
91000094810000948.1
101000094810000948.2
Sheet1
 
Upvote 0
[TABLE="width: 662"]
<tbody>[TR]
[TD]8069000[/TD]
[TD="align: right"]8069000.0[/TD]
[TD]=A1[/TD]
[/TR]
[TR]
[TD]8069000[/TD]
[TD="align: right"]8069000.1[/TD]
[TD]=IF(COUNTIF($A$1:A2,A2)>1,A2+COUNTIF($A$1:A2,A2)*0.1-0.1,A2)[/TD]
[/TR]
[TR]
[TD]8168000[/TD]
[TD="align: right"]8168000.0[/TD]
[TD]=IF(COUNTIF($A$1:A3,A3)>1,A3+COUNTIF($A$1:A3,A3)*0.1-0.1,A3)[/TD]
[/TR]
[TR]
[TD]8169000[/TD]
[TD="align: right"]8169000.0[/TD]
[TD]=IF(COUNTIF($A$1:A4,A4)>1,A4+COUNTIF($A$1:A4,A4)*0.1-0.1,A4)[/TD]
[/TR]
[TR]
[TD]8069000[/TD]
[TD="align: right"]8069000.2[/TD]
[TD]=IF(COUNTIF($A$1:A5,A5)>1,A5+COUNTIF($A$1:A5,A5)*0.1-0.1,A5)[/TD]
[/TR]
[TR]
[TD]9034000[/TD]
[TD="align: right"]9034000.0[/TD]
[TD]=IF(COUNTIF($A$1:A6,A6)>1,A6+COUNTIF($A$1:A6,A6)*0.1-0.1,A6)[/TD]
[/TR]
[TR]
[TD]10000948[/TD]
[TD="align: right"]10000948.0[/TD]
[TD]=IF(COUNTIF($A$1:A7,A7)>1,A7+COUNTIF($A$1:A7,A7)*0.1-0.1,A7)[/TD]
[/TR]
[TR]
[TD]10000948[/TD]
[TD="align: right"]10000948.1[/TD]
[TD]=IF(COUNTIF($A$1:A8,A8)>1,A8+COUNTIF($A$1:A8,A8)*0.1-0.1,A8)[/TD]
[/TR]
[TR]
[TD]10000948[/TD]
[TD="align: right"]10000948.2[/TD]
[TD]=IF(COUNTIF($A$1:A9,A9)>1,A9+COUNTIF($A$1:A9,A9)*0.1-0.1,A9)[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,971
Members
452,371
Latest member
Frana

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