+ Reply to Thread
Results 1 to 3 of 3

Fill Blank Cells in Columns with Specified Header with a Specific Date

  1. #1
    Forum Contributor
    Join Date
    10-27-2005
    Posts
    177

    Fill Blank Cells in Columns with Specified Header with a Specific Date

    Hi everyone

    Please see attached.

    In the initial sheet, there are columns with blanks (highlighted in yellow). Basically, all I want to do is put some dummy date (say 1/1/1900) in those blanks. This is so that I can run pivot tables with a date filter.

    I know exactly the header names, but these aren't fixed and can change columns.

    The result is in the Desired Result sheet.

    I guess the logic would be something like:
    - for each column with a specified header (in this case, Deyt, Date, and Daeet), select blanks until column A's last populated cell row count, and fill these blanks with 1/1/1900.

    I'm just not sure how to do this in code.

    Any help would be much appreciated.
    Attached Files Attached Files
    Last edited by uberathlete; 07-26-2014 at 10:44 PM.

  2. #2
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Fill Blank Cells in Columns with Specified Header with a Specific Date

    Hi uberathlete,

    try this:
    Please Login or Register  to view this content.
    Cheers,
    berlan

  3. #3
    Forum Contributor
    Join Date
    10-27-2005
    Posts
    177

    Re: Fill Blank Cells in Columns with Specified Header with a Specific Date

    Works like a charm berlan. Thank you so much!

+ 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. [SOLVED] Macro to fill blank cells in column A based on non-blank cells
    By ktalamantez in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-28-2014, 02:47 PM
  2. [SOLVED] Auto Fill from other columns and using IF with related to blank or Zero cells
    By Psionicrnd in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-05-2014, 05:45 AM
  3. How to color-fill blank cells, then once data is entered cell is no-fill
    By hatemail13 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-28-2013, 07:57 PM
  4. How to send date columns to access when there are some blank cells?
    By Wullie in forum Access Tables & Databases
    Replies: 0
    Last Post: 08-06-2010, 09:45 PM
  5. Fill cells with x's between 2 specific columns
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-30-2005, 01:40 AM

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