automatic numerical code sequence

BDRAKUL

New Member
Joined
Dec 6, 2021
Messages
3
Office Version
  1. 2019
Platform
  1. Windows
good morning everyone!

the problem: auto generate a numerical sequence followed by /+ current year;
and sequentially in the table sheet (in my case there are one for each month of the year)and the numerical sequence must continue sequentially regardless of the sheet.
ex: january -01/2021, 02/2021, .....
february -03/2021, 04/2021, .....

and if i go back to january i can put 05/2021.

what have i managed to do:
I've already managed to do the sequence, automatic filling between the tables, almost the whole problem I've already solved

what i couldn't do:
delete a row, if I delete any row from the table, all subsequent numbers change too, regressing to the number in the same amount as they are deleted, another problem I have is that once I start for example the February sheet, if I go back to include something in January for example all subsequent lines will be added by the same amount.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
good morning everyone!

the problem: auto generate a numerical sequence followed by /+ current year;
and sequentially in the table sheet (in my case there are one for each month of the year)and the numerical sequence must continue sequentially regardless of the sheet.
ex: january -01/2021, 02/2021, .....
february -03/2021, 04/2021, .....

and if i go back to january i can put 05/2021.

what have i managed to do:
I've already managed to do the sequence, automatic filling between the tables, almost the whole problem I've already solved

what i couldn't do:
delete a row, if I delete any row from the table, all subsequent numbers change too, regressing to the number in the same amount as they are deleted, another problem I have is that once I start for example the February sheet, if I go back to include something in January for example all subsequent lines will be added by the same amount.
I was already forgetting, I don't know if this can influence, but the code is only generated if the other previous cells are filled (8 atm)
 
Upvote 0

Forum statistics

Threads
1,214,661
Messages
6,120,794
Members
448,994
Latest member
rohitsomani

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