Auto numbering to start at another character than the first character

lmaritz

New Member
Joined
Feb 13, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Good day.

I am battling to find a solution to my problem,

I have a dataset in which I have to assign a unique value to each record. I have been trying to automate the process but to no avail.

The problem is that the unique value should start with 2 letters followed by 19 numbers. Highlighting and dragging 2 or more unique numbers does not work.

Using a column that has been numbered (Column A) can work if I replace the value of the numbered column in a formula that contains the rest of the letters and numbers but I don't want to do this because I want to use the auto numbered column (Column B) to check whether the values in the first (Column A) are correct because it is possible with this dataset that the numbers in (Column A) may skip 1 on more sequential numbers.


Herewith an example of the information
 

Attachments

  • example.jpg
    example.jpg
    33.6 KB · Views: 14

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Are you looking for this? Check this and revert -

Book1
ABC
1NumberCodeSolution
210480C03900050001048000000C03900050001048000000
310481C03900050001048100000
410482C03900050001048200000
510483C03900050001048300000
610484C03900050001048400000
710485C03900050001048500000
810486C03900050001048600000
910487C03900050001048700000
Sheet1
Cell Formulas
RangeFormula
C2:C101C2="C0390005000"&SEQUENCE(100,,10480,1)&"00000"
A3:A9A3=A2+1
Dynamic array formulas.
 
Upvote 1
This might work:
Excel Formula:
=LET(first,"C03900050001048"&SEQUENCE(COUNTA(A2:A12),1,1),first&REPT("0",22-LEN(first)))
 
Upvote 1

Forum statistics

Threads
1,223,894
Messages
6,175,252
Members
452,623
Latest member
Techenthusiast

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