+ Reply to Thread
Results 1 to 4 of 4

quick formula help - replicate alphanumeric string but increase by 1

  1. #1
    Registered User
    Join Date
    07-01-2013
    Location
    Scotland, U.K.
    MS-Off Ver
    Excel 2010
    Posts
    2

    Question quick formula help - replicate alphanumeric string but increase by 1

    hi there,

    I need a worksheet for checks of assets in work - their codes are created by the same letters with unique number within the string - what I'm looking for is a way to get excel to copy the letter string (1 to 5000) but automatically increase the number by 1 in each row -

    for example:
    LHTG1HQQ
    LHTG2HQQ
    LHTG3HQQ
    LHTG4HQQ
    LHTG5HQQ

    all the way to LHTG5000HQQ - nothing changes in the string except for the number, and it will correspond to the row number, it's probably so easy & obvious but I cannot figure out what formula to point to, am pulling my hair out! Can anyone give me a steer in the right direction?

    Many thanks
    From joe, new member from Glasgow, Scotland

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: quick formula help - replicate alphanumeric string but increase by 1

    Hi and welcome to the forum.

    Assuming the list starts in row 1 then in say A1

    ="LHTG"&Row()&"HQQ"

    and copy this down

    If the list starts on say row 12 then modify it to

    ="LHTG"&Row()-11&"HQQ"
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    07-01-2013
    Location
    Scotland, U.K.
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: quick formula help - replicate alphanumeric string but increase by 1

    Richard,

    Thank you so much, that made sense as soon as I read the first line, I am sorted you are a star thanks very much!

    Best regards

    Joe.

  4. #4
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: quick formula help - replicate alphanumeric string but increase by 1

    If the list starts on say row 12 then modify it to
    Or, alternately

    ="LHTG"&Row(A1)&"HQQ"
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1