Next Number In Sequence?

Elliot46

New Member
Joined
Dec 19, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi All,

New here and new to excel really... I had a question & don't know if it is something easily solved.

Below is a screen grab of a work drawing list with drawing numbers as per below example... D0001, D0002, D0003 etc.

Is there anyway to get the cell below (Next Drawing No.) to automatically update with the next number in the sequence, after D0003 respectively is entered into a cell? Taking into consideration that previous numbers
will be entered frequently with letters a, b, c etc behind them for drawing revisions.

Sequence.jpg


Thank you for any help in advance.

Regards,
Elliot
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Because D is a built-in custom format code (for day) so it needs to be escaped to be a literal D.
 
Upvote 0
Because D is a built-in custom format code (for day) so it needs to be escaped to be a literal D.

Thanks for the info.

one more
Does "\" always used to specify the format?
 
Upvote 0
Does "\" always used to specify the format?
\ is an escape character for the character that follows it. You can also enclose them in quotes - since the format string is already in quotes for the TEXT function, you'd need to double them so using \ was easier.
 
Upvote 0

Forum statistics

Threads
1,215,038
Messages
6,122,798
Members
449,095
Latest member
m_smith_solihull

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