Custom numbering

nynemout42

New Member
Joined
Jan 6, 2014
Messages
2
I need column A to sequentially number...not so hard until I throw in that the number is hyphenated and only the first part needs to sequence. I've searched until my eyes fell out and rolled onto the floor. Please help!

ex:

0001-2014
0002-2014
0003-2014
0004-2014
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Go to format cells, then choose custom number format,

Enter 0000"-2014"

Then in the cell you will only enter "1". "2" and so on,
do not enter 2014.
 
Upvote 0
Another option:

Enter 0001-2014 in cell A1

Then in A2 enter the formula: =TEXT(LEFT(A1,4)+1,"0000")&"-2014" and copy down.

Excel Workbook
A
10001-2014
20002-2014
30003-2014
40004-2014
50005-2014
60006-2014
70007-2014
80008-2014
90009-2014
100010-2014
110011-2014
120012-2014
130013-2014
140014-2014
Sheet1
 
Upvote 0
Dude...you're awesome! I've been trying to get this done for a year and no one could come up with the answer. I've been trying out tons of custom formats to no avail until now! Problem solved! Even works with "fill the series"!

Thanks,
Jeremy
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,632
Latest member
jladair

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