{"id":4136,"date":"2017-04-27T15:53:34","date_gmt":"2017-04-27T13:53:34","guid":{"rendered":"https:\/\/www.sheetgo.com\/?p=4136"},"modified":"2017-04-27T15:53:34","modified_gmt":"2017-04-27T13:53:34","slug":"networkdays-formula-google-sheets","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/fr\/blog\/google-sheets-formulas\/networkdays-formula-google-sheets\/","title":{"rendered":"Comment utiliser la formule NETWORKDAYS dans Google Sheets ?"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221; module_class=&#8221;sheetgo-post&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_row admin_label=&#8221;row&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>In Google Sheets application, if we need to know the number of net working days between two specified dates, the<span>\u00a0<\/span><a href=\"https:\/\/support.google.com\/docs\/answer\/3092979?hl=en\" target=\"_blank\" rel=\"noopener noreferrer\">NETWORKDAYS<\/a><span>\u00a0<\/span>formula can be our companion.<\/p>\n<h3>Syntax<\/h3>\n<p><span><strong>NETWORKDAYS(start_date, end_date, [holidays])<\/strong><\/span><\/p>\n<ul>\n<li><span><strong>start_date<\/strong><\/span><span>\u00a0<\/span>\u2013 the starting date in the period from which the formula calculates the number of net working days. This date, if not a holiday, is considered for counting as a working day.<\/li>\n<li><span><strong>end_date<\/strong><\/span><span>\u00a0<\/span>\u2013 the ending date in the period until which the formula calculates the number of net working days. Like<span>\u00a0<\/span><span><strong>start_date<\/strong><\/span>, this date too, if not a holiday, is considered for counting as a working day.<\/li>\n<li><span><strong>holidays<\/strong><\/span><span>\u00a0<\/span>\u2013 is an optional parameter that expects either an array or an address reference to the range of cells that consists of holiday dates.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;Connections T &#8211; Automate beyond importrange &#8211; Horizontal&#8221; module_class=&#8221;sheetgo-post-no-shadow-img md2-contained-button-light vertical-banner-container&#8221; _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;#f2f7ff&#8221; max_width=&#8221;700px&#8221; module_alignment=&#8221;center&#8221; max_height=&#8221;300px&#8221; custom_margin=&#8221;20px|0px|20px|0px|true|true&#8221; custom_padding=&#8221;25px|25px|25px|25px|true|true&#8221; sticky_limit_bottom=&#8221;section&#8221; border_radii=&#8221;on|20px|20px|20px|20px&#8221; border_width_all=&#8221;1px&#8221; border_color_all=&#8221;#d9e7ff&#8221; saved_tabs=&#8221;all&#8221; global_colors_info=&#8221;{}&#8221; global_module=&#8221;50462&#8243; theme_builder_area=&#8221;post_content&#8221;]<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2024\/09\/Add-on-sm_sheets-connected-new-connection.webp\" width=\"250\" height=\"168\" alt=\"\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2024\/09\/Recommended-for-Google-Workspace-badge.webp\" width=\"150\" height=\"180\" alt=\"39\" \/><\/p>\n<p><span style=\"font-size: 22px; font-weight: 600;\">Automate data transfers beyond Importrange<\/span><\/p>\n<p><a href=\"https:\/\/www.sheetgo.com\/connections\/\" target=\"_blank\" rel=\"noopener\">Find out how<\/a>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>Usage: NETWORKDAYS Formula<\/h3>\n<p>Let us try our hands on this formula. Please consider the snapshot below. We have a sample list of holiday dates from A2 to A6.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/10\/frame-generic-22.png&#8221; alt=&#8221;NETWORKDAYS Formula: Usage&#8221; title_text=&#8221;networkdays-formula-usage&#8221; align=&#8221;center&#8221; module_class=&#8221;sheetgo-post-no-shadow-img&#8221; _builder_version=&#8221;4.16&#8243; width=&#8221;640px&#8221; max_width=&#8221;640px&#8221; height=&#8221;440px&#8221; max_height=&#8221;440px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>In the first example case, the<span>\u00a0<\/span><span><strong>start_date<\/strong><\/span><span>\u00a0<\/span>and<span>\u00a0<\/span><span><strong>end_date<\/strong><\/span><span>\u00a0<\/span>parameters take outputs from two different<span>\u00a0<\/span><a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/date-formula-google-sheets\/\" target=\"_blank\" rel=\"noopener noreferrer\">DATE()<\/a><span>\u00a0<\/span>functions, evaluated to 15-Mar-2017 and 15-Apr-2017 respectively. And, we ignored the<span>\u00a0<\/span><span><strong>holiday\u2019s<\/strong><\/span><span>\u00a0<\/span>parameter altogether. Therefore, the NETWORKDAYS formula calculates the resulting number of work days falling between the<span>\u00a0<\/span><span><strong>start_date<\/strong><\/span><span>\u00a0<\/span>and<span>\u00a0<\/span><span><strong>end_date<\/strong><\/span>. It does so by ignoring the Saturdays and Sundays but does include the start and end dates<\/p>\n<p>The second example is pretty similar. Except, the<span>\u00a0<\/span><span><strong>start_date<\/strong><\/span><span>\u00a0<\/span>and the<span>\u00a0<\/span><span><strong>end_date<\/strong><\/span>parameters are references to the cells that has dates. Also, we have given a range reference to the list of holidays for the third parameter. So it counts the net working days after ignoring Saturdays, Sundays, and the list of holidays that fall between the<span>\u00a0<\/span><span><strong>start_date<\/strong><\/span><span>\u00a0<\/span>and<span>\u00a0<\/span><span><strong>end_date<\/strong><\/span>.<\/p>\n<p>Unlike the previous two cases, the input values for<span>\u00a0<\/span><span><strong>start_date<\/strong><\/span><span>\u00a0<\/span>and<span>\u00a0<\/span><span><strong>end_date<\/strong><\/span>parameters are absolute numbers for the next two examples. Nevertheless, the formula\u2019s working remains the same.<\/p>\n<h5>Cases of interest<\/h5>\n<p>Let us experiment a little further and input text based date values for the<span>\u00a0<\/span><span><strong>start_date<\/strong><\/span>and\u00a0<span><strong>start_date<\/strong><\/span><span>\u00a0<\/span>parameter.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/10\/frame-generic-23.png&#8221; alt=&#8221;NETWORKDAYS Formula in Google Sheets&#8221; title_text=&#8221;networksday-formula&#8221; align=&#8221;center&#8221; module_class=&#8221;sheetgo-post-no-shadow-img&#8221; _builder_version=&#8221;4.16&#8243; width=&#8221;640px&#8221; max_width=&#8221;640px&#8221; height=&#8221;440px&#8221; max_height=&#8221;440px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>In the first example, the formula truncates the decimal values and uses only the integer values and accordingly evaluates the count. Of course, it cannot accept negative numbers, as there is no date interpretation for such values.<\/p>\n<p>From the next two examples, we will see that the NETWORKDAYS formula accepts input date strings in the \u201cdd-mmm-yyyy\u201d and \u201cmm-dd-yyyy\u201d formats. But it will throw up an error with \u201cdd-mm-yyyy\u201d date format strings.<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>NETWORKDAYS formula<\/h3>\n<p>And there you go! Use the NETWORKDAYS formula in Google Sheets to calculate the number of net working days between two specified dates.<\/p>\n<p>If you\u2019d like to learn more about the various formulas of Google Sheets, why not take a look at our blog post on the <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/days360-formula-in-google-sheets\/\">DAYS360 formula in Google Sheets<\/a>.<\/p>\n<p>Alternatively, check out related blog posts below![\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text admin_label=&#8221;Connections T &#8211; One tool &#8211; Horizontal&#8221; module_class=&#8221;sheetgo-post-no-shadow-img md2-contained-button vertical-banner-container&#8221; _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;#f2f7ff&#8221; max_width=&#8221;700px&#8221; module_alignment=&#8221;center&#8221; max_height=&#8221;300px&#8221; custom_margin=&#8221;20px|0px|20px|0px|true|true&#8221; custom_padding=&#8221;25px|25px|25px|25px|true|true&#8221; sticky_limit_bottom=&#8221;section&#8221; border_radii=&#8221;on|20px|20px|20px|20px&#8221; border_width_all=&#8221;1px&#8221; border_color_all=&#8221;#d9e7ff&#8221; global_colors_info=&#8221;{}&#8221; global_module=&#8221;50458&#8243; theme_builder_area=&#8221;post_content&#8221;]<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2024\/09\/connections-top-processors-main.webp\" width=\"250\" height=\"168\" alt=\"\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2024\/09\/Recommended-for-Google-Workspace-badge.webp\" width=\"150\" height=\"180\" alt=\"39\" \/><\/p>\n<p><span style=\"font-size: 22px; font-weight: 600;\">One tool to merge, split, and filter all your spreadsheet data<\/span><\/p>\n<p><a href=\"https:\/\/www.sheetgo.com\/connections\/\" target=\"_blank\" rel=\"noopener\">Find out how<\/a>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Google Sheets application, if we need to know the number of net working days between two specified dates, the\u00a0NETWORKDAYS\u00a0formula can be our companion. Syntax NETWORKDAYS(start_date, end_date, [holidays]) start_date\u00a0\u2013 the starting date in the period from which the formula calculates the number of net working days. This date, if not a holiday, is considered for [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":4209,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"In Google Sheets application, if we need to know the number of net working days between two specified dates, the <a href=\"https:\/\/support.google.com\/docs\/answer\/3092979?hl=en\" target=\"_blank\" rel=\"noopener noreferrer\">NETWORKDAYS<\/a> formula can be our companion.\n<h3>Syntax<\/h3>\n<span style=\"font-family: courier new,courier,monospace; font-size: 14pt;\"><strong>NETWORKDAYS(start_date, end_date, [holidays])<\/strong><\/span>\n<ul>\n \t<li><span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>start_date<\/strong><\/span> - the starting date in the period from which the formula calculates the number of net working days. This date, if not a holiday, is considered for counting as a working day.<\/li>\n \t<li><span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>end_date<\/strong><\/span> - the ending date in the period until which the formula calculates the number of net working days. Like <span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>start_date<\/strong><\/span>, this date too, if not a holiday, is considered for counting as a working day.<\/li>\n \t<li><span style=\"font-size: 12pt;\"><strong><span style=\"font-family: courier new,courier,monospace;\">holidays<\/span><\/strong><\/span> - is an optional parameter that expects either an array or an address reference to the range of cells that consists of holiday dates.<\/li>\n<\/ul>\n<h3>Usage: NETWORKDAYS Formula<\/h3>\nLet us try our hands on this formula. Please consider the snapshot below. We have a sample list of holiday dates from A2 to A6.\n\n<img class=\"aligncenter size-full wp-image-4142\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/10\/frame-generic-22.png\" alt=\"NETWORKDAYS Formula - Illustration 1\" width=\"701\" height=\"338\">\n\nIn the first example case, the <span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>start_date<\/strong><\/span> and <span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>end_date<\/strong><\/span> parameters take outputs from two different DATE() functions, evaluated to 15-Mar-2017 and 15-Apr-2017 respectively. And, we ignored the <span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>holiday's<\/strong><\/span> parameter altogether. Therefore, the NETWORKDAYS formula calculates the resulting number of work days falling between the <span style=\"font-size: 12pt;\"><strong><span style=\"font-family: courier new,courier,monospace;\">start_date<\/span><\/strong><\/span> and <span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>end_date<\/strong><\/span>. It does so by ignoring the Saturdays and Sundays but does include the start and end dates\n\nThe second example is pretty similar. Except, the <span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>start_date<\/strong><\/span> and the <span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>end_date<\/strong><\/span> parameters are references to the cells that has dates. Also, we have given a range reference to the list of holidays for the third parameter. So it counts the net working days after ignoring Saturdays, Sundays, and the list of holidays that fall between the <span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>start_date<\/strong><\/span> and <span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>end_date<\/strong><\/span>.\n\nUnlike the previous two cases, the input values for <span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>start_date<\/strong><\/span> and <span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>end_date<\/strong><\/span> parameters are absolute numbers for the next two examples. Nevertheless, the formula's working remains the same.\n<h5>Cases of interest<\/h5>\nLet us experiment a little further and input text based date values for the <span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>start_date<\/strong><\/span> and&nbsp;<span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>start_date<\/strong><\/span> parameter.\n\n<img class=\"aligncenter size-full wp-image-4143\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/10\/frame-generic-23.png\" alt=\"NETWORKDAYS Formula - Illustration 2\" width=\"700\" height=\"431\">\n\nIn the first example, the formula truncates the decimal values and uses only the integer values and accordingly evaluates the count. Of course, it cannot accept negative numbers, as there is no date interpretation for such values.\n\nFrom the next two examples, we will see that the NETWORKDAYS formula accepts input date strings in the \"dd-mmm-yyyy\" and \"mm-dd-yyyy\" formats. But it will throw up an error with \"dd-mm-yyyy\" date format strings.\n\n&nbsp;","_et_gb_content_width":"","footnotes":""},"categories":[54],"tags":[39,28],"class_list":["post-4136","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-sheets-formulas","tag-connections-t","tag-spreadsheets"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/posts\/4136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/comments?post=4136"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/posts\/4136\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/media\/4209"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/media?parent=4136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/categories?post=4136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/tags?post=4136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}