+ Reply to Thread
Results 1 to 4 of 4

Calculating network days between two dates is taking too much time

  1. #1
    Registered User
    Join Date
    02-22-2012
    Location
    Ponta Delgada, Azores, Portugal
    MS-Off Ver
    Excel 2013
    Posts
    12

    Calculating network days between two dates is taking too much time

    Hello,

    I need to calculate the number of working days between two dates in the format dd / mm / yyyy HH: mm in a high number of records.
    However, when I apply the formula the time it takes to make the calculation is huge and blocks excel during that period.
    Is there any way to get the calculation done quickly?

    The formula I am using is as follows:

    = NETWORKDAYS.INTL (I2; J2,1, REF! $ Y: $ Y)

    Thank you

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,797

    Re: Calculating network days between two dates is taking too much time

    Why are you using full column references? Limit your arrays to the number of rows that need processing and no more.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    02-22-2012
    Location
    Ponta Delgada, Azores, Portugal
    MS-Off Ver
    Excel 2013
    Posts
    12

    Re: Calculating network days between two dates is taking too much time

    Thank you for your suggestion.
    I think is working much better. :-)

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,797

    Re: Calculating network days between two dates is taking too much time

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. [SOLVED] Edit VBA to calculate network days between different dates.
    By steve400243 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-14-2020, 04:07 PM
  2. [SOLVED] Calculating time-frame (days) between 2 dates excluding weekends/holidays
    By Mparrish6001 in forum Excel General
    Replies: 6
    Last Post: 05-10-2018, 09:20 AM
  3. [SOLVED] Network days between dates, less a half day marker
    By benoj2005 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-29-2016, 11:14 AM
  4. Replies: 0
    Last Post: 10-31-2014, 10:32 AM
  5. Replies: 3
    Last Post: 03-09-2012, 08:19 AM
  6. Replies: 2
    Last Post: 01-24-2012, 09:20 PM
  7. Calculating Network days and hours
    By TheHobbit81 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-26-2008, 07:00 PM

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