+ Reply to Thread
Results 1 to 3 of 3

How to write and IF AND statement with a NOW date and NETWORKDAYS

  1. #1
    Registered User
    Join Date
    03-13-2013
    Location
    Rochester,NY
    MS-Off Ver
    Excel 2007
    Posts
    4

    How to write and IF AND statement with a NOW date and NETWORKDAYS

    I'm trying to show how many buisiness days are remaining in a project based on a NOW date formual. I have this working correctly by using the following formual:

    IF(Table1[[#This Row],[Target_End_Dt]]="","",NETWORKDAYS($AJ$1,Table1[[#This Row],[Target_End_Dt]]))

    The second piece I'm trying to incorporate is when cell G2 is = to "Closed" return nothing ("").

    Meaning when my project is in a closed status, I no longer want to show the number of business days it will take to complete the project.

    thanks
    Tammy

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

    Re: How to write and IF AND statement with a NOW date and NETWORKDAYS

    Try using an OR at the start, e.g.

    =IF(OR(Table1[[#This Row],[Target_End_Dt]]="",G2="Closed"),"",NETWORKDAYS($AJ$1,Table1[[#This Row],[Target_End_Dt]]))
    Audere est facere

  3. #3
    Registered User
    Join Date
    03-13-2013
    Location
    Rochester,NY
    MS-Off Ver
    Excel 2007
    Posts
    4

    [SOLVED] Re: How to write and IF AND statement with a NOW date and NETWORKDAYS

    Worked perfect! Thank you

+ 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