Increment a serial number containing a /

Ninja_nutter

New Member
Joined
Mar 1, 2016
Messages
21
Office Version
  1. 365
Platform
  1. Windows
Hi,

I would like to create a formula or macro to increment a specific serial number by 1 in Cell A2. I would like to generate the next serial number once a value is placed in the adjacent cell.

ie A2 serial number 17/0001 with a value in B2. when a value is placed in B3 I want the next serial number 17/0002 to appear in cell A3.

I have tried using ISBLANK and ROWS to no avail.

Any help would be greatly appreciated!!! :)
 
this will do soemthing similar but when it gets to 10 it will still have 3 zeros in front of it
Code:
=IF(B3="","","17/000" & ROW() - 1)
 
Upvote 0
Thanks for the rapid response.

PaddyD's formula is exactly what I needed.

Thanks for your input Michael.
 
Upvote 0

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