{"id":1001,"date":"2019-05-02T13:19:25","date_gmt":"2019-05-02T10:19:25","guid":{"rendered":"https:\/\/www.test4u.eu\/excelpedia\/?p=1001"},"modified":"2019-05-02T13:19:28","modified_gmt":"2019-05-02T10:19:28","slug":"the-networkdays-function","status":"publish","type":"post","link":"https:\/\/www.test4u.eu\/excelpedia\/the-networkdays-function\/","title":{"rendered":"The NETWORKDAYS Function"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Calculates the number of whole working days between two dates. This means that weekends and holidays are excluded.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The syntax of the function is the following: <\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-style-large is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>NETWORKDAYS<\/strong><em>(<strong>end_date<\/strong><span><b>, start_date, [holidays]<\/b><\/span><\/em>) <\/p><cite><strong>end_date<\/strong>: The end date of the period&#8217;s length in days we wish to calculate.   <br><strong>start_date<\/strong>: The start date of the period&#8217;s length in days we wish to calculate.      <br><strong>[holidays]<\/strong>: Optional. A range of dates that are considered holidays.      <br><\/cite><\/blockquote>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Click on the button to practice using this function, with the help of our <strong>Online Assessment Tool<\/strong>:<\/p>\n\n\n<p class=\"button-practice-container\" ><a class=\"button button-primary button-practice\" style=\"height:auto\"  href=\"https:\/\/www.test4u.eu\/excelpedia\/wp-content\/plugins\/unlimited-integration\/run.php?id=RkE1REF6RUEyZmYyM3N4WWozNFJCUTh5YjJ0NmlUelhPbjBhNFBMZDQ4Q1FlVnBkaHAxZXBUMUlVUmx2YlUvZQ==&b=dTlEUHREcnpOWDlxVmprTWIvR1l5ajE1dGpXMndtdkozQnBwRUlCTk85bkJzMml4bFhjZVh2Nk94YmFBN2dXcStEK0ZnbjdpNmw5U0t1RzZMZlZLY3NoSEpuRGtYWWMyNHY4akdFR0oreWM9\">Practice<\/a><\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Here is an example of how to use the NETWORKDAYS function:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Complete the cells C2:F2 following the instructions in the cells C1:F1.<br>\nC2: Subtract start date from enddate<br>\nD2: use the hidden datedif function to find the difference in days between the dates in A2:B2<br>\nE2,F2: use the functions shown in the first row to find the difference in days between the dates in A2:B2<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Use the DAYS,DATEDIFand NETWORKDAYS functions to find the difference in days between dates\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/U50EsuT1OUI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Calculates the number of whole working days between two dates. This means that weekends and holidays are excluded.<\/p>\n","protected":false},"author":2,"featured_media":1002,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[133,143],"class_list":["post-1001","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-functions","tag-date-time","tag-networkdays"],"_links":{"self":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts\/1001","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/comments?post=1001"}],"version-history":[{"count":0,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts\/1001\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/media\/1002"}],"wp:attachment":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/media?parent=1001"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/categories?post=1001"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/tags?post=1001"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}