+ Reply to Thread
Results 1 to 2 of 2

Looking for a Formula Using the IF and NETWORKDAYS.INTL Functions

Hybrid View

  1. #1
    Registered User
    Join Date
    08-17-2016
    Location
    Victoria, Australia
    MS-Off Ver
    Office 365 Home
    Posts
    10

    Looking for a Formula Using the IF and NETWORKDAYS.INTL Functions

    Hi,

    I'm after a correct function using the IF and also the NETWORKDAYS.INTL functions

    I have the following

    =IF($F$5="YES",NETWORKDAYS.INTL($B$5,$B$6,"0111111",Sheet2!$F$4:$F$27)/2,(NETWORKDAYS.INTL($B$5,$B$6,"0111111",Sheet2!$F$4:$F$27)/2)-(NETWORKDAYS.INTL($B$5,$B$6,"0111111",Sheet2!$N$4:$N$27)/2))

    So what i want this code is tell me is if F5 is Yes i want it to just take information dates on sheet2 between F4 and F27 on Sheet1 but if No i also want it to take into account the dates between N4 and N27 as well as those between F4 and F27

    Thanks

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Looking for a Formula Using the IF and NETWORKDAYS.INTL Functions

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

+ 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. Combining NETWORKDAYS.INTL with IF formula?
    By Adelita in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-29-2016, 07:01 AM
  2. [SOLVED] Networkdays.intl vs networkdays
    By shukla.ankur281190 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-30-2015, 08:39 AM
  3. NETWORKDAYS.INTL in 2007
    By nickh1981 in forum Excel General
    Replies: 4
    Last Post: 08-11-2015, 02:45 AM
  4. [SOLVED] Networkdays.intl
    By andrecamapum in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-30-2015, 09:31 AM
  5. [SOLVED] Networkdays.Intl, incorrect result in one row
    By razaas in forum Excel General
    Replies: 1
    Last Post: 10-22-2014, 07:04 AM
  6. [SOLVED] Looking for alternative to NETWORKDAYS.INTL
    By Jaron_t in forum Excel General
    Replies: 4
    Last Post: 05-21-2012, 04:54 PM
  7. Change WEEKDAY, NETWORKDAYS functions for other cultures
    By tpillow in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-30-2009, 07:39 AM

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