+ Reply to Thread
Results 1 to 4 of 4

Auto Fill Blank Cells - Using Differing "Start" Numbers

  1. #1
    Registered User
    Join Date
    08-22-2011
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Auto Fill Blank Cells - Using Differing "Start" Numbers

    Howdy, all.

    I'm not sure if I'm using the correct terminology, and it's hard for me to explain so I am attaching illustrations of what I am attempting to describe.

    I don't want to "thread-jack" so I'm starting a fresh thread.

    I found discussions that tell how to
    • Fill empty cells with the same value up until the last empty cell
    • Do the same as above but with rows of empty cells within a column (e.g. fill down a constant value until the last empty cell is reached; then fill down using that same value until the next value, etc.)

    I need something similar to
    http://www.excelforum.com/excel-form...th-series.html

    For the thread referenced above, I was not able to get it to recognize that a new value is to be used as a starting point for the next series.

    I have a list of serial numbers giving the first number, the last number, and the quantity of items produced:
    orig.jpg

    I was able to automatically insert blank rows based on the quantity of items produced so that I have empty rows in between using a script, results as illustrated:
    autorows.jpg

    I was also able to fill down the constants using another script, results as illustrated:
    constants.jpg

    What I would like to end up with is as illustrated:
    results.jpg

    After I have the constants (date) in an adjacent column I am able to manually autofill the serial numbers by selecting a value and double-clicking on the plus sign as I hold down Alt. I'd like to do that all in one shot for a particular column via a script without having to manually change the range of cells each time.

    I did not post the other scripts because I did not write the scripts and I would like to (for now) keep these separate so as not to confuse things.

    Hopefully I was able to explain this clearly enough.

    Thanks in advance for your patience, and for any help you can give,
    HowD
    Last edited by HowD; 05-23-2013 at 01:06 PM. Reason: Marking it as "Solved."

  2. #2
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: Auto Fill Blank Cells - Using Differing "Start" Numbers

    Try this :

    Please Login or Register  to view this content.
    Please click the * below if this helps

  3. #3
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,125

    Re: Auto Fill Blank Cells - Using Differing "Start" Numbers

    Please Login or Register  to view this content.
    David
    (*) Reputation points appreciated.

  4. #4
    Registered User
    Join Date
    08-22-2011
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Auto Fill Blank Cells - Using Differing "Start" Numbers

    JasperD:
    I did not test yours but I very much appreciate the reply.

    Tinbendr (David):

    OK, so I come here and ask for a little help. What I received was one relatively short script that does the whole job at one time.
    Tremendous! Thank you very much.

    I'll set this as "solved."

+ 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