Custom Serial Number Format Based Upon Julian Date.

MKTetzlaff

New Member
Joined
Apr 8, 2006
Messages
20
Hello:

I need to create a serial number that auto increments based upon the following format:

Last two digits of the year + Julian day of the year + two digit unique incremented number.

1610604 would be 2016 on the 106th day and the 4th unit and the next number would be 1610605.

I do not believe that we will ever exceed 99 units per day.

I have Access 2016 and believed that I could do it in the Format section of a AutoNumber field.

Any help would be greatly appreciated.

- Mike T.
 

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.
Thanks for the heads up.

It was my first concern; however the serial number is tied to another legacy system and I was told I could not change the format.

So we will probably have to cross that bridge in the future.

Thanks again for the input.

- Mike T.
 
Upvote 0
Hi Joe:

I just started on this project and your code and directions worked perfectly.

Thank you for your time and patience.

- Mike T.
 
Upvote 0

Forum statistics

Threads
1,225,725
Messages
6,186,650
Members
453,367
Latest member
bookiiemonster

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