+ Reply to Thread
Results 1 to 6 of 6

Formula to Auto-populate Date

  1. #1
    Registered User
    Join Date
    11-07-2019
    Location
    Oakland, CA
    MS-Off Ver
    Office16
    Posts
    7

    Formula to Auto-populate Date

    Hello Everyone,
    As you can see I have placed a formula in column O that has a target completion date of 90 days or 110 days from the date entered in Column H depending on the selection in Column I. However, when no date is entered in Column H, Column O has a default date of "19-Apr-00" signifying 110 days from Jan 1st, 2000. How do I make it so Column O is blank if no date has been entered in Column H?

    Thank you for the help!
    Date.PNG
    Last edited by kijones; 11-08-2019 at 02:06 PM.

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.95 for Mac MS 365
    Posts
    8,690

    Re: Formula to Auto-populate Date

    try =IF(I2="","",IF(I2="GILEAD",(H2+90),(H2+110)))
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,421

    Re: Formula to Auto-populate Date

    Try it like this:

    =IF(H2="","",IF(I2="GILEAD",H2+90,H2+110))

    No need for the SUM function.

    Hope this helps.

    Pete

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.95 for Mac MS 365
    Posts
    8,690

    Re: Formula to Auto-populate Date

    Oh, I see, I was using the visible formula in your snapshot instead of column H. Pete's is more clean and apparently gives you the correct cell reference so disregard mine.

  5. #5
    Registered User
    Join Date
    11-07-2019
    Location
    Oakland, CA
    MS-Off Ver
    Office16
    Posts
    7

    Re: Formula to Auto-populate Date

    Thank you both. It worked!

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,421

    Re: Formula to Auto-populate Date

    Glad to hear it, and thanks for marking the thread as Solved.

    You might also like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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-populate a date based on date began and other variable
    By rcm4486 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-17-2017, 10:05 AM
  2. auto-populate a date based on date began and other variable
    By rcm4486 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-17-2017, 07:58 AM
  3. Replies: 1
    Last Post: 05-26-2014, 03:46 AM
  4. [SOLVED] Formula Needed to auto populate current date when text entered into a cell
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-15-2013, 09:50 PM
  5. Replies: 0
    Last Post: 07-03-2012, 03:52 PM
  6. Replies: 3
    Last Post: 02-28-2012, 11:54 AM
  7. Date Formula Help to auto populate next day of the week's date
    By symaxf in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-13-2010, 08:04 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