Sequential alphanumeric cell value

DataMan123

New Member
Joined
Dec 19, 2016
Messages
5
I need a formula to follow a numbering from a designated cell and increase by a letter.
Like this:
if cell A1 is 161201A then cell A2 is 161201B and cell A3 is 161201C
and if possible to continue to 161201AA, 161201AB, 161201AC...
Anyone?
 
Preferably an open ended formula would be nice, though rarely has the sequence pasted 'AR'.
Well, AR equates to only 44 rows, so István's solution will be way more than enough as it will handle up to 16,386 rows of data. I would suggest, one small change to the formula he posted. Instead of this...

=SUBSTITUTE(161201&ADDRESS(1,ROW(C1),4)&"ß","1ß","")

I would use this...

=SUBSTITUTE(161201&ADDRESS(1,ROWS($1:1),4)&"ß","1ß","")

as it will withstand your inserting rows before Row 3 (where you currently have the first value) without changing the entire series of values (if you insert at Row 3, you would have to copy the first formula down with either formula).
 
Upvote 0

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
István

Worked perfectly!
=SUBSTITUTE(161201&ADDRESS(1,ROW(C1),4)&"ß","1ß","")
It seems the ROW() needs only any cell reference to function as I need; regardless of the value of referenced cell.
Many thank and Merry Christmas!


You are welcome, thanks for the feedback.
 
Upvote 0
Well, AR equates to only 44 rows, so István's solution will be way more than enough as it will handle up to 16,386 rows of data. I would suggest, one small change to the formula he posted. Instead of this...

=SUBSTITUTE(161201&ADDRESS(1,ROW(C1),4)&"ß","1ß","")

I would use this...

=SUBSTITUTE(161201&ADDRESS(1,ROWS($1:1),4)&"ß","1ß","")

as it will withstand your inserting rows before Row 3 (where you currently have the first value) without changing the entire series of values (if you insert at Row 3, you would have to copy the first formula down with either formula).

Thanks Rick for the useful suggestion.
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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