+ Reply to Thread
Results 1 to 4 of 4

Counting number of days across several dates

  1. #1
    Registered User
    Join Date
    08-30-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    2

    Counting number of days across several dates

    Hi Everyone,

    I'm trying to calculate the number of days between varying dates in one spread sheet, overriding blanks (or N/A) and not counting weekends. I've tried countedif, but it doesn't allow for blanks and still counts weekends.

    Here are the cells and dates for example:
    A1 N/A
    B1 N/A
    C1 7/10/2012
    D1 7/11/2012
    E1 7/15/2012
    F1 7/18/2012

    Cycle times need to be calculated between A1 and B1, C1 and D1, and E1 and F1, then added together for total number of business days. Am I dreaming up the impossible?
    Last edited by SquidMoreno; 08-30-2012 at 11:18 PM.

  2. #2
    Registered User
    Join Date
    08-13-2012
    Location
    Newark, DE
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: Counting number of days across several dates

    What do you want the formula to return for the cycle time between A1 and B1 in your example, where A1 is N/A?
    http://www.mrspreadsheets.com

  3. #3
    Registered User
    Join Date
    08-30-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Counting number of days across several dates

    Good point, I was just making data up so that was wrong. I've edited the original post to make more sense. In the case of N/A to N/A, I would want the return to be "0".

    Thanks,
    Squid

  4. #4
    Registered User
    Join Date
    08-13-2012
    Location
    Newark, DE
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: Counting number of days across several dates

    You can use the following formula if you are able to avoid the N/A and just have blanks.

    =NETWORKDAYS(A1,A2)+NETWORKDAYS(A3,A4)+NETWORKDAYS(A5,A6)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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