+ Reply to Thread
Results 1 to 7 of 7

Autofill sequence of numbers with a suffix

  1. #1
    Registered User
    Join Date
    07-04-2023
    Location
    UK
    MS-Off Ver
    2021
    Posts
    4

    Question Autofill sequence of numbers with a suffix

    Hi all,

    I want to autofill a sequence of numbers that are prefixed and suffixed by letters. I only want the numbers to change sequentially. Any clue on how to do this?

    For example, I have MMDR_Area_2541.JPG and I want that to become MMDR_Area_2541.JPG,MMDR_Area_2542.JPG, MMDR_Area_2543.JPG....

    Is it possible?

    Thanks for the help!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,902

    Re: Autofill sequence of numbers with a suffix

    Welcome to the forum.

    Try this:

    ="MMDR_Area_"&SEQUENCE(20,,2541,1)&".JPG"

    Change 20 to however many rows you wish to generate.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-04-2023
    Location
    UK
    MS-Off Ver
    2021
    Posts
    4

    Re: Autofill sequence of numbers with a suffix

    Wow Ali, thank you so much!!! That has worked a charm! Thank you for your help!

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,902

    Re: Autofill sequence of numbers with a suffix

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

  5. #5
    Registered User
    Join Date
    07-04-2023
    Location
    UK
    MS-Off Ver
    2021
    Posts
    4

    Re: Autofill sequence of numbers with a suffix

    Thanks Ali, I am (obviously) new to the forum and really appreciate the guidance!

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: Autofill sequence of numbers with a suffix

    With your starting value in A2, you can use this formula in A3:

    ="MMDR_Area_"&MID(A2,11,4)+1&".JPG"

    Copy down as far as you need to.

    Hope this helps.

    Pete

    EDIT: I'm a bit late to the party !!

  7. #7
    Registered User
    Join Date
    07-04-2023
    Location
    UK
    MS-Off Ver
    2021
    Posts
    4

    Re: Autofill sequence of numbers with a suffix

    Thanks Pete!! Wow you guys are so helpful!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Autofill with Letters as a Suffix to a fixed Number
    By Dogwap in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-15-2021, 10:40 AM
  2. Replies: 4
    Last Post: 10-20-2020, 04:15 PM
  3. [SOLVED] Separate sequence of numbers with sequence of letters
    By dell001 in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 07-02-2020, 07:09 AM
  4. [SOLVED] Changing a positive or negative value based on the input's suffix, then removing suffix
    By Theredwind in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-06-2014, 05:19 AM
  5. Macro to Autofill down numbers in Sequence order.
    By awagenhurst in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-31-2013, 07:57 AM
  6. Autofill sequence of.....
    By shutchinson in forum Excel General
    Replies: 1
    Last Post: 05-10-2011, 08:17 AM
  7. Autofill Sequence
    By quincythequill in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-22-2006, 07:25 AM

Tags for this Thread

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