+ Reply to Thread
Results 1 to 6 of 6

Auto fill downwards until row value change

  1. #1
    Registered User
    Join Date
    12-08-2008
    Location
    Sweden
    Posts
    2

    Thumbs up Auto fill downwards until row value change

    Thanks for any help with this.
    Attached Images Attached Images
    Last edited by dmjogeman; 09-03-2009 at 09:26 AM.

  2. #2
    Registered User
    Join Date
    09-02-2009
    Location
    Edinburgh, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    77

    Re: Auto fill downwards until row value change

    Select the area, columns, or a single cell within the table you want to fill, then run this macro:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    12-08-2008
    Location
    Sweden
    Posts
    2

    Thumbs up Re: Auto fill downwards until row value change

    WONDERFUL! Darn, that works like a clock!

    Many, many THANKS blackworx! u made my day

    Best regards
    David

  4. #4
    Registered User
    Join Date
    09-02-2009
    Location
    Edinburgh, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    77

    Re: Auto fill downwards until row value change

    No worries - and thank you for asking. I've been meaning to write something to automate this exact thing for a while, but never got round to it.

    Since posting I've made it a little more robust:

    Please Login or Register  to view this content.
    if you run the macro on an entire column or several columns, then only the rows which fall in the first contiguous area covered by the selection will be filled. Hope that makes sense. if not, don't worry about it - it probably won't make any difference.
    Last edited by blackworx; 09-03-2009 at 10:20 AM. Reason: change code

  5. #5
    Registered User
    Join Date
    05-12-2011
    Location
    Tampa, Florida
    MS-Off Ver
    Excel 2007
    Posts
    1

    Thumbs up Re: Auto fill downwards until row value change

    Hello,

    I know this EXTREMELY helpful tip was posted in 2009, but just in case you receive Email notification when anyone responds to your post, I just wanted to let you know I have literally been searching online for three hours on how to fill multiple ranges with different values in one column. Your post was so very helpful to me, I am working on a 3,600 company profile list of which many of the companies, addresses and zip codes are listed several times. Would have taken me months, I appreciate the assistance!

    Marcella

  6. #6
    Registered User
    Join Date
    09-02-2009
    Location
    Edinburgh, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    77

    Re: Auto fill downwards until row value change

    Hi Marcella, yes I had left notifications on so thanks for letting me know - glad to help!

    I'm always surprised at how many people in my office find this particular wee macro helpful.


+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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