+ Reply to Thread
Results 1 to 4 of 4

display blank cell until cells are filled with dates to calcualte days

  1. #1
    Registered User
    Join Date
    06-16-2016
    Location
    Michigan
    MS-Off Ver
    office365
    Posts
    26

    Lightbulb display blank cell until cells are filled with dates to calcualte days

    date.JPG

    I am calculating dates for days between start dates in the top cells, but I want the cells above the blank cells to stay blank until the blank cells are filled then it will return the days between the two dates. the formula I'm using for the days of last vehicle is =NETWORKDAYS(D19,D20). I'm assuming it is probably an if/then statement but unsure how to create the statement.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: display blank cell until cells are filled with dates to calcualte days

    One way...

    =IF(COUNT(D19,D20)<2,"",NETWORKDAYS(D19,D20))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    06-16-2016
    Location
    Michigan
    MS-Off Ver
    office365
    Posts
    26

    Re: display blank cell until cells are filled with dates to calcualte days

    Thank you Tony that worked beautifully

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: display blank cell until cells are filled with dates to calcualte days

    You're welcome. Thanks for the feedback!

+ 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. Replies: 4
    Last Post: 01-29-2014, 05:34 PM
  2. [SOLVED] Keep cells blank until argument cell is filled-in
    By Juliet_Bravo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-02-2013, 01:02 PM
  3. [SOLVED] Calculate days between 2 dates and returning a blank cell if there is missing data
    By j_dinh in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-14-2013, 01:53 AM
  4. Replies: 0
    Last Post: 02-06-2013, 10:22 AM
  5. Replies: 0
    Last Post: 02-01-2013, 05:10 PM
  6. Conditional formating multiple cells based on blank or filled single cell.
    By turbotank in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-13-2012, 12:11 PM
  7. Display # of days between dates even if cell is blank or has "n/a" in it
    By geturbanized in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-05-2012, 11:50 AM
  8. [SOLVED] Formula for # of days since today, if blank or if cell filled in. Want in number format?
    By teenyjem in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-10-2012, 11:46 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