+ Reply to Thread
Results 1 to 4 of 4

Days between dates error

  1. #1
    Registered User
    Join Date
    06-26-2015
    Location
    houston
    MS-Off Ver
    Texas
    Posts
    19

    Days between dates error

    I'm trying to prevent the sum cell from showing a large number when only one date is entered and the other is blank. Any help would be appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Days between dates error

    What would you like to be shown instead? Nothing if both cells aren't filled in?

    If so, try this:

    =IF(COUNT(G2:H2)<2,"",G2-H2)

  3. #3
    Registered User
    Join Date
    04-14-2018
    Location
    Vermont, USA
    MS-Off Ver
    Office 365
    Posts
    72

    Re: Days between dates error

    Or try
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    06-26-2015
    Location
    houston
    MS-Off Ver
    Texas
    Posts
    19

    Re: Days between dates error

    This worked. Thank you for pointing me in the right direction.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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: 10
    Last Post: 02-19-2019, 03:28 AM
  2. [SOLVED] How many WEEKEND DAYS & HOLIDAY DAYS between 2 dates in September
    By leovfx in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-12-2017, 07:32 PM
  3. Calculate days excluding some days between dates
    By sam16 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-06-2017, 02:35 PM
  4. Replies: 0
    Last Post: 10-31-2014, 10:32 AM
  5. Replies: 2
    Last Post: 02-20-2014, 06:40 AM
  6. [SOLVED] Number of Days Between Dates but if no Date go to next and return # of Days
    By Bikeman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-14-2012, 12:02 PM
  7. [SOLVED] Subtract Two Dates By The Number of Days, But Only Inlcude Work Days
    By ptho16 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-16-2012, 11:31 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