Generating an alphanumeric sequence based on given data & serialization

murexcel

New Member
Joined
Jan 4, 2020
Messages
19
Office Version
  1. 2010
Platform
  1. Windows
Hi,

I have a project wherein I need to generate an alphanumeric sequence based on certain values. An example is below:

AU1VT11201M (START)
AU1VT1120120M (END)
AU1CB1120121M (START)
AU1CB1120240M (END)​

AU1 = LOCATION
VT OR CB = Product code
1120 = MONTH & YEAR
1-240 = SERIES
M = SUPPLIER INITIALS

I need to create such series for almost 22 locations. Is there a way I can create a data entry form wherein I can feed these details & it will generate the all the data in a single column.

Also note that 1-120 & 121-240 the product code changes. Rest of the fields are constant apart from location.

Will appreciate any help! Thanks.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,214,908
Messages
6,122,187
Members
449,071
Latest member
cdnMech

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