+ Reply to Thread
Results 1 to 4 of 4

eliminating the negative number when using difference between a Network Days formula

  1. #1
    Registered User
    Join Date
    01-15-2015
    Location
    California
    MS-Off Ver
    2010
    Posts
    96

    Cool eliminating the negative number when using difference between a Network Days formula

    Hi all,
    I am using a Network Days formula to return Turn Around time (formula posted below). The issue is that often, we will have people working on a Saturday to complete work, so when that happens, I get a negative return. Ideally, I would like to count these Saturdays they work, but for the Saturdays they do not work, I want the clock to stop (so to speak) and not count the time on Saturdays. If this is possible, let me know....however, if not, then I would like a formula revision to the one below that will not include negative numbers. Thank you

    O = From Received Time (start date)
    P = To Received Time (end date)

    =NETWORKDAYS(O2,P2,'TimeSheet Data'!$B$376:$B$385)-IF(NETWORKDAYS(O2,O2,'TimeSheet Data'!$B$376:$B$385)=0,1,MOD(O2,1))-IF(NETWORKDAYS(P2,P2,'TimeSheet Data'!$B$376:$B$385)=0,0,(1-MOD(P2,1)))

    Thanks in advance!!!!
    Last edited by Alphabex; 05-15-2015 at 01:17 PM.

  2. #2
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: eliminating the negative number when using difference between a Network Days formula

    Use abs() function to convert negative to positive number.
    Wrap your formula between Abs() function

    Please Login or Register  to view this content.
    Thanks
    Mark the thread as solved if you are satisfied with the answer.


    In your first post under the thread tools.

    Mahju

  3. #3
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: eliminating the negative number when using difference between a Network Days formula

    Use abs() function to convert negative to positive number.
    Wrap your formula between Abs() function

    Please Login or Register  to view this content.
    Thanks

  4. #4
    Registered User
    Join Date
    01-15-2015
    Location
    California
    MS-Off Ver
    2010
    Posts
    96

    Re: eliminating the negative number when using difference between a Network Days formula

    perfect!! worked like a charm. Thank you for the rules update as well. I didn't know how to mark solved

+ 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. [SOLVED] Number difference involving ranges with a mix of positive and negative values
    By coasterman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-17-2013, 02:34 PM
  2. [SOLVED] Network Days Formula Help
    By robertguy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-31-2013, 05:34 AM
  3. Formula to calculate difference between a negative and positive number.
    By zumwaj01 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-25-2012, 02:13 PM
  4. [SOLVED] Subtracting Hold Days from Network Days Formula
    By david1987 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-17-2012, 08:30 AM
  5. Replies: 2
    Last Post: 07-06-2009, 12:30 PM

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