+ Reply to Thread
Results 1 to 4 of 4

Networkdays

  1. #1
    Registered User
    Join Date
    05-22-2012
    Location
    Spalding
    MS-Off Ver
    Office 365
    Posts
    17

    Networkdays

    Hi, i'm struggling with the following NETWORKDAYS equation

    Cell M8 = 07/05/2018 which is a Monday
    Cell A8 = 02/05/2018 which is a Saturday
    Therefore I was expecting 5 working days and a value of "0" should return based on the equation below, however it returns "25" as though only 4 working days are counted


    =IF(NETWORKDAYS(A8,M8)>4,"0",IF(NETWORKDAYS(A8,M8)=4,"25",IF(NETWORKDAYS(A8,M8)=3,"100",IF(NETWORKDAYS(A8,M8)=2,"250",IF(NETWORKDAYS(A8,M8)=1,"500",IF(NETWORKDAYS(A8,M8)=0,"1000"))))))

    I would like to make the equation count as 5 days

    Any ideas ?
    Last edited by grezmel; 06-06-2018 at 06:34 AM.

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Networkdays

    Check your dates against a calendar, 02/05/2018 is a Wednesday, not a Saturday.

    The formula is counting 02/05 wed, 03/05 thurs, 04/05 fri and 07/05 mon

    Total 4 days.

  3. #3
    Registered User
    Join Date
    05-22-2012
    Location
    Spalding
    MS-Off Ver
    Office 365
    Posts
    17

    Re: Networkdays

    Apologies, my mistake, for some reason the 5th month in my muddled head was April !

  4. #4
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Networkdays

    Sometimes the simplest mistake is the hardest to see

    Alternative formula for you to have a look,

    =LOOKUP(NETWORKDAYS(A8,M8),{0,1,2,3,4,5},{1000,500,250,100,25,0})

    In your formula you have the results enclosed in double quotes, "1000" and 1000 are not the same, enclosing numbers in double quotes classifies them as text strings, a habit that is best avoided unless necessary if you look at those results with another formula, or try sorting your data using those, you could encounter problems.

+ 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] Networkdays.intl vs networkdays
    By shukla.ankur281190 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-30-2015, 08:39 AM
  2. Need help with an IF within NETWORKDAYS
    By nabril15 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-19-2013, 10:20 AM
  3. [SOLVED] NETWORKDAYS Fx
    By chrisbob28 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-20-2013, 03:18 PM
  4. Networkdays
    By GORDON in forum Excel General
    Replies: 17
    Last Post: 12-05-2005, 07:40 AM
  5. networkdays
    By rsenn in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-23-2005, 08:42 PM
  6. [SOLVED] networkdays
    By Christian (DK) in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-21-2005, 07:40 AM
  7. [SOLVED] NETWORKDAYS = 0
    By ann in forum Excel General
    Replies: 4
    Last Post: 10-03-2005, 06:05 PM

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