+ Reply to Thread
Results 1 to 3 of 3

Add date to next available cell, ignore existing date entries

  1. #1
    Registered User
    Join Date
    08-20-2012
    Location
    Houston,TX
    MS-Off Ver
    Excel 2010
    Posts
    7

    Talking Add date to next available cell, ignore existing date entries

    I searched the forum posts using "date" as my search criteria and did not see an answer for what I would like to accomplish. I need to specify just the column where the date will be placed/exist which is started at B8. The logic is fairly straight forward as it needs to check to see if there is already a date there. If the cell is occupied nothing happens. If the cell is empty then it triggers using = NOW() to insert date. I would like this to happen when the spreadsheet opens. There will be only one workbook so nothing special to deal with there.

    Summarized the program will parse the B column for existing dates, when it finds the next available cell it will add the date. As stated it will trigger on open of the spreadsheet. I look forward to seeing the solution.

    Regards,

    Mel

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

    Re: Add date to next available cell, ignore existing date entries

    Hi Mel,

    You request is vague, but let's try this - this will put the date in B8 in case the cell is empty, will do nothing if the cell is occupied.

    Please Login or Register  to view this content.
    If that's not what you want, try this - this will check if B8 or lower is occupied; if not, it will do nothing, if B8 or lower is occupied, the date will be put in the bottom cell in column B.

    Please Login or Register  to view this content.
    Alternatively, you could try this - this start checking for empty cells in column B, starting in row 8 (so B8) if the cell is empty - if it hits an empty cell, it'll put the current date in there. If it's not, it skips the cell and looks for the next empty cell.

    Please Login or Register  to view this content.
    Please click the * below if this helps
    Last edited by JasperD; 05-24-2013 at 10:28 AM.

  3. #3
    Registered User
    Join Date
    08-20-2012
    Location
    Houston,TX
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Add date to next available cell, ignore existing date entries

    Thanks JasperD!

+ 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