+ Reply to Thread
Results 1 to 4 of 4

Formula to Fill a Column with sequential serial #s

  1. #1
    Registered User
    Join Date
    05-31-2018
    Location
    Calif
    MS-Off Ver
    Office 2010
    Posts
    2

    Formula to Fill a Column with sequential serial #s

    Hello,

    And want to thank you ahead of time for any help.

    What im looking to do is a formula to fill a column on my log sheet with serial numbers that are sequential.

    the thing is they are in batches and can vary in amount 10 to 25, so lets say I have a batch of 20 stickers with a starting number of F321450 going up by 1 each sticker.

    I would like to have the serials filled with a data/value cells off the print page where I can enter the starting sequence, next cell over same row would enter how many stickers. Then have that info populate on the log in the appropriate column. I will use different page for each batch.

    lets say,
    starting number to enter is cell K7 and How many is K8
    and the column to fill is at D6 thru D31


    Thank you

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: Formula to Fill a Column with sequential serial #s

    Hi, welcome to the forum

    Assuming the format of your stickers is as shown (1 letter and a bunch of numbers - doesnt matter how many), then try this...
    D6=K7
    D7=IF(ROWS($1:1)<=$L$7,LEFT(D6,1)&RIGHT(D6,LEN(D6)-1)+ROWS(1:1),"")
    copied down

    If your sticker serials will always only contain 1 letter and 6 numbers...
    D7=IF(ROWS($1:1)<=$L$7,LEFT(D6,1)&RIGHT(D6,6)+ROWS(1:1),"")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    05-31-2018
    Location
    Calif
    MS-Off Ver
    Office 2010
    Posts
    2

    Thumbs up Re: Formula to Fill a Column with sequential serial #s

    Ford,

    Thank you so much, its actually 2 characters then 6 numbers. so I used the first example with a correction to allow for 2 characters and works perfect

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: Formula to Fill a Column with sequential serial #s

    Great stuff, happy to help

    2nd formula with 2 letters + 6 numbers...
    D7=IF(ROWS($1:1)<=$L$7,LEFT(D6,2)&RIGHT(D6,6)+ROWS(1:1),"")

+ 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. Auto fill / sequential numbering in a filtered column
    By Kaycee831 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-26-2018, 09:09 PM
  2. [SOLVED] Fill Series of Sequential Numbers in Column A Based on Last Value in Column B - VBA
    By CC268 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-24-2017, 01:09 PM
  3. [SOLVED] breaking a sequential serial range
    By shon in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-20-2012, 09:34 PM
  4. Purchase form with auto-sequential serial numbers
    By psanghvi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-25-2012, 05:40 PM
  5. [SOLVED] Date to TEXT. NOT to sequential serial number
    By Gene in forum Excel General
    Replies: 2
    Last Post: 05-26-2006, 04:35 PM
  6. [SOLVED] Fill a column with sequential numbers
    By GISDude in forum Excel General
    Replies: 4
    Last Post: 05-01-2006, 09:45 AM
  7. [SOLVED] Renaming Sequential Rows to create serial numbers
    By forceten32 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-13-2005, 07:20 PM

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