+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Internal Date/Time conflicts

  1. #1
    Registered User
    Join Date
    03-20-2012
    Location
    Kunsan, S.Korea
    MS-Off Ver
    Excel 2007
    Posts
    2

    Internal Date/Time conflicts

    when i utilize the NOW() function on my spreadsheet with the NETWORKDAYS() function in this format NETWORKDAYS(A3, NOW()) the formula is working correctly in that it is calculating the days how i want it to except that excel's internal clock or soemthing is behind. when i do =NOW() just by itself it works correctly and has the current date/time of my computer, but with that formula the days calculated are lower then what they should be. it seems to be that way across the board, if i were to put 1 feb 12 in b1 and this formula in a1 =if(b1="", "", networkdays(b1, now())) it calculates and forms a number in this instance for today it says 36, which is about 13 short, and if i put the same formula in a2 and put 3 feb 12 in b2 the number shows up as 34 so i know it is calculating correctly its just the internal clock it goes off of for this formula is screwed up. any help would be appreciated. thank you.
    Last edited by Greenevo; 03-20-2012 at 04:15 PM. Reason: changing subject

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Internal Date/Time conflicts

    If you use NETWORKDAYS then you are excluding weekend days so with this formula

    =if(b1="", "", networkdays(b1, now()))

    if B1 is 1st Feb 2012 and today is 20th March 2012 the result will be 35

    Why do you expect it to be more, are you trying to count all days? If so just subtract, i.e.

    =IF(B1="","",TODAY()-B1)

    format result cell as general
    Audere est facere

  3. #3
    Registered User
    Join Date
    03-20-2012
    Location
    Kunsan, S.Korea
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Internal Date/Time conflicts

    ok that fixed that issue, thanks. but it caused another issue. i had cells formatted with a particular rule before that made it to no matter what the previous color of that cell was if it went above the value of 30 it would turn that cell red. once i put this formula in it turned all of the cells in that column red, i removed the previous rule and it didnt fix it. i am attaching my worksheet so you can see what i am talkign about. the columns i am trying to pertain this to are F and J, i want column J to show the number of days since the value i put in column F, but i want it to be blank if F is blank. also i need the cell in column J to turn red no matter what the previous color is if the value = 30 or more. hopefully this isnt yo confusing. thank you.status sheet.xlsm

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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