+ Reply to Thread
Results 1 to 6 of 6

Excel Formula help - Network Days minus certain dates in the date range ......

Hybrid View

Smiffy3594 Excel Formula help - Network... 12-15-2011, 10:31 AM
dilipandey Re: Excel Formula help -... 12-15-2011, 10:42 AM
Fotis1991 Re: Excel Formula help -... 12-15-2011, 10:49 AM
Special-K Re: Excel Formula help -... 12-15-2011, 11:02 AM
Special-K Re: Excel Formula help -... 12-15-2011, 11:03 AM
Fotis1991 Re: Excel Formula help -... 12-15-2011, 11:16 AM
  1. #1
    Registered User
    Join Date
    12-15-2011
    Location
    Berkshire
    MS-Off Ver
    Excel 2019
    Posts
    18

    Question Excel Formula help - Network Days minus certain dates in the date range ......

    I am trying to create a formula in excel to count number of working days between two dates and then to minus certain dates if they fall within that range (so that I can hopefully use the formula in sharepoint as have been told excel formulas work in sharepoint.

    I can do this if I use the following formula with a column of the dates I2:12
    =NETWORKDAYS(A13,B13,I2:I12)

    but sharepoint doesnt like this as it cant refer to the column, anyone know how I can type all the separate dates in the formula itself, I have been able to get one date in so it minus the network days by 1 but cant figure how to put all the other other dates in.
    =NETWORKDAYS(A13,B13-27/12/2011)

    Thanks

    Smiffy

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Excel Formula help - Network Days minus certain dates in the date range ......

    Hi Smiffy,

    Use formula like shown below:-

    =NETWORKDAYS(A13,B13,{"12/15/2011","12/16/2011"}
    So you can write the dates within curly brackets and surround them in double quotes.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Excel Formula help - Network Days minus certain dates in the date range ......

    OR, just this....

    =NETWORKDAYS(A13;B13-27/12-15/12-14/12-13/12-12/12)

    Hope to helps you.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,077

    Re: Excel Formula help - Network Days minus certain dates in the date range ......

    I dont think your second formula will work.
    It will take the date 27/12/2011 convert it into an Excel serial number and subtract it from the date in B13
    So you're not saying NETWORKDAYS from A1 to B1 less 1 date, instead you're saying
    NETWORKDAYS from A1 to (whatever the result of B1-27/12/2011 is)
    so if B1 is 28/12/2011 it's gonna be NETWORKDAYS(A1,1)

    Anyway back to your main problem
    Do the NOTEs at the bottom of this page help at all in reference to your problem?
    http://office.microsoft.com/en-us/ex...010342719.aspx
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  5. #5
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,077

    Re: Excel Formula help - Network Days minus certain dates in the date range ......

    Duplicate reply by me
    Last edited by Special-K; 12-15-2011 at 11:04 AM. Reason: Duplicate reply by me

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Excel Formula help - Network Days minus certain dates in the date range ......

    Hi Special-K.

    I dont think your second formula will work.
    My poor...English don't allow me to explain by words..

    But for me, it work...

    Pls, take a look to the attachement..
    Attached Files Attached Files

+ 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