+ Reply to Thread
Results 1 to 6 of 6

Formula for network days if not then today

  1. #1
    Registered User
    Join Date
    12-16-2021
    Location
    USA
    MS-Off Ver
    latest
    Posts
    3

    Formula for network days if not then today

    I am trying to create a formula that will calculate net workdays between two dates, and if the end date is blank, it calculates the net work days between the start date and today's date

    =NETWORKDAYS(Q317,W317)

    is what I have for start,end date.

    how would I make a function for "if end date blank, then network days (Q137,today)


    Thanks for help!!

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,755

    Re: Formula for network days if not then today

    =IF ( W317="", NETWORKDAYS(Q317,today()), NETWORKDAYS(Q317,W317))
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,253

    Re: Formula for network days if not then today

    Try


    =NETWORKDAYS(Q317,IF(W317="",TODAY(),W317))
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  4. #4
    Registered User
    Join Date
    12-16-2021
    Location
    USA
    MS-Off Ver
    latest
    Posts
    3

    Re: Formula for network days if not then today

    Quote Originally Posted by etaf View Post
    =IF ( W317="", NETWORKDAYS(Q317,today()), NETWORKDAYS(Q317,W317))
    thanks! is there a way to add a statement to that equation for the cell to be blank if there are no dates in both Q and W?

    for example, when I drag down, the formula inputs 31819 when dates in column Q and Column W are empty.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,253

    Re: Formula for network days if not then today

    Try

    =IF(AND(Q317="",W317=""),"",NETWORKDAYS(Q317,IF(W317="",TODAY(),W317)))

  6. #6
    Registered User
    Join Date
    12-16-2021
    Location
    USA
    MS-Off Ver
    latest
    Posts
    3

    Re: Formula for network days if not then today

    Quote Originally Posted by JohnTopley View Post
    Try

    =IF(AND(Q317="",W317=""),"",NETWORKDAYS(Q317,IF(W317="",TODAY(),W317)))
    it worked!! thank you both so much

+ 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. Help with formula based on NETWORK Days
    By shinobi11 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-15-2021, 09:17 PM
  2. [SOLVED] Network days & TODAY()
    By K-Linerz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-28-2019, 05:27 PM
  3. Formula other than workdays and network days
    By itty in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 05-25-2016, 08:26 PM
  4. [SOLVED] Network days formula
    By Helen Pitteway in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-03-2015, 05:49 AM
  5. [SOLVED] Network Days Formula Help
    By robertguy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-31-2013, 05:34 AM
  6. [SOLVED] Subtracting Hold Days from Network Days Formula
    By david1987 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-17-2012, 08:30 AM
  7. aging formula with network days from start to today
    By eddienole in forum Excel General
    Replies: 2
    Last Post: 08-30-2011, 10:43 AM

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