+ Reply to Thread
Results 1 to 2 of 2

networkdays with if statement

  1. #1
    Registered User
    Join Date
    11-19-2014
    Location
    colorado
    MS-Off Ver
    excel 2k13
    Posts
    14

    networkdays with if statement

    Hi,

    i trying to get this =IF(TODAY()-Q6>T6,T6,IF(TODAY()-Q6<0,0,TODAY()-Q6)) to work with networkdays?

    I've tried this with no good results =IF(NETWORKDAYS(Q6,TODAY(),holiday!B20:B33)<0,0,NETWORKDAYS(Q6,TODAY(),holiday!B1:B14))

    I'm trying to get how many days are completed but do not want to see negative numbers. any ideas or help would be appreciated.

    Thanks,

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: networkdays with if statement

    Not sure why you've got 2 holiday ranges.
    Maybe this...(using just 1 holiday range)
    Please Login or Register  to view this content.
    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ 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 an If Statement with NETWORKDAYS function
    By Shirley Munro in forum Excel General
    Replies: 2
    Last Post: 05-22-2019, 03:19 PM
  2. How to write and IF AND statement with a NOW date and NETWORKDAYS
    By Tpulcino in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-15-2013, 11:55 AM
  3. Replies: 2
    Last Post: 03-15-2013, 10:56 AM
  4. Replies: 3
    Last Post: 09-24-2009, 07:19 PM
  5. Networkdays
    By broogle in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-08-2005, 06:06 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