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.
Project Work Id</SPAN>
8069000</SPAN>
8069000</SPAN>
8069000</SPAN>
8069000.1</SPAN>
8168000</SPAN>
8168000</SPAN>
8169000</SPAN>
8169000</SPAN>
9034000</SPAN>
9034000</SPAN>
9034000</SPAN>
9034000.1</SPAN>
10000948</SPAN>
10000948</SPAN>
10000948</SPAN>
10000948.1</SPAN>
10000948</SPAN>
10000948.2</SPAN>

<TBODY>
</TBODY>


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

Jeanette
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
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
80690008069000.0=A1
80690008069000.1=IF(COUNTIF($A$1:A2,A2)>1,A2+COUNTIF($A$1:A2,A2)*0.1-0.1,A2)
81680008168000.0=IF(COUNTIF($A$1:A3,A3)>1,A3+COUNTIF($A$1:A3,A3)*0.1-0.1,A3)
81690008169000.0=IF(COUNTIF($A$1:A4,A4)>1,A4+COUNTIF($A$1:A4,A4)*0.1-0.1,A4)
80690008069000.2=IF(COUNTIF($A$1:A5,A5)>1,A5+COUNTIF($A$1:A5,A5)*0.1-0.1,A5)
90340009034000.0=IF(COUNTIF($A$1:A6,A6)>1,A6+COUNTIF($A$1:A6,A6)*0.1-0.1,A6)
1000094810000948.0=IF(COUNTIF($A$1:A7,A7)>1,A7+COUNTIF($A$1:A7,A7)*0.1-0.1,A7)
1000094810000948.1=IF(COUNTIF($A$1:A8,A8)>1,A8+COUNTIF($A$1:A8,A8)*0.1-0.1,A8)
1000094810000948.2=IF(COUNTIF($A$1:A9,A9)>1,A9+COUNTIF($A$1:A9,A9)*0.1-0.1,A9)

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,440
Messages
6,124,882
Members
449,193
Latest member
PurplePlop

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