Year-auto increment number?

Scuttlebutt95

New Member
Joined
May 16, 2018
Messages
6
We have an Excel table we use to create work orders. The work order numbers are structured as Fiscal Year - incremental 3 digit number. For example,
2018-001
2018-002
2018-003
etc.

Right now the numbers are entered manually in a table column each time a new WO is created. I've had some problems with people accidentally skipping a whole series of numbers (I have no idea how). I'm wondering if there is a way to prevent this sort of error. Is it possible to create an auto number with the correct formatting? (there is a new sheet for each fiscal year so that number can be static. Or maybe some sort of Data Validation or Conditional Formatting strategy? Any advice is appreciated.

W are working in Excel 2016 on Windows 10

TIA
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Welcome to the Board!

What row number is the first entry going in?
Let's say it is row 2 (i.e., you have a header row).
Then you could use a formula like this:
="2018-" & TEXT(ROW()-1,"000")
and copy down.
 
Upvote 0
Joe4 - that worked pretty well, but I have to drag it down to fill the next row. Any idea on how to force it to autofill each time a new row is created in the table?
 
Upvote 0
Is it really a "table"? If so, then I think the formulas should populate automatically.
If not, you can use VBA code to do that, if you can define the condition when the formula should be populated.
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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