[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 209
  • Last Modified:

Auto increment alphanumeric field

I need to auto-increment an alphanumeric value in cell b2.  The value in cell b2 is: A000001

In cell b3 I want this: A000002
In cell b4 I want this: A000003
etc...
In cell b9 I want this: A000010
etc..

What formula can I use to increment an alphanumeric value like this?

Thanks for any help.
0
-Dman100-
Asked:
-Dman100-
2 Solutions
 
deanomacCommented:
Would selecting the cell A000001, click and hold on the little square at the bottom right of the cell and dragging down the column not solve that?

Just tested in in Excel 2013 and it left the A but added 1 to each number going down.
0
 
Shaun KlineLead Software EngineerCommented:
If the fill down mentioned by deanomac is not to your liking, try this formula in b3:
=LEFT(B2, 1) &  RIGHT("000000" & NUMBERVALUE(MID(B2, 2, LEN(B2)-1)) + 1, 6)

Open in new window

0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now