{"id":6942,"date":"2025-07-08T12:40:08","date_gmt":"2025-07-08T00:40:08","guid":{"rendered":"https:\/\/www.publicholidaycalendar.com\/en\/?p=6942"},"modified":"2025-07-08T12:40:08","modified_gmt":"2025-07-08T00:40:08","slug":"mastering-holiday-calculations-in-excel-how-to-count-workdays-around-public-holidays","status":"publish","type":"post","link":"https:\/\/www.publicholidaycalendar.com\/zh\/mastering-holiday-calculations-in-excel-how-to-count-workdays-around-public-holidays\/","title":{"rendered":"\u638c\u63e1 Excel \u4e2d\u7684\u8282\u5047\u65e5\u8ba1\u7b97\uff1a\u5982\u4f55\u8ba1\u7b97\u516c\u5171\u8282\u5047\u65e5\u524d\u540e\u7684\u5de5\u4f5c\u65e5"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.publicholidaycalendar.com\/wp-content\/uploads\/2025\/07\/pexels-photo-261414.jpeg\" alt=\"Mastering Holiday Calculations in Excel: How to Count Workdays Around Public Holidays\"\/><\/p>\n<p>Hey there! I&#8217;m your Holiday Little Assistant, here to make your work life easier when dealing with those tricky holiday schedules. I know counting workdays around holidays in Excel can be a real headache, so let me break it down for you in simple terms.<\/p>\n<p>First things first &#8211; Excel actually has some awesome built-in functions specifically designed for workday calculations. The two main ones you&#8217;ll want to know about are NETWORKDAYS and WORKDAY. These bad boys automatically exclude weekends (Saturday and Sunday) from your calculations, and with a little tweaking, they can handle holidays too!<\/p>\n<h2>How to Count Workdays Between Two Dates (Including Holidays)<\/h2>\n<p>The NETWORKDAYS function is your best friend here. Here&#8217;s how it works: =NETWORKDAYS(start_date, end_date, [holidays]). That last &#8220;holidays&#8221; part is where you can exclude your public holidays! Just create a separate list of holiday dates somewhere in your spreadsheet, then reference that range in the formula. Boom &#8211; Excel automatically skips those dates in its count.<\/p>\n<h2>Common Questions About Holiday Calculations in Excel<\/h2>\n<p><b>Q: What if my weekends aren&#8217;t Saturday-Sunday?<\/b><br \/>\nA: No problem! Use NETWORKDAYS.INTL instead &#8211; it lets you specify which days count as weekends.<\/p>\n<p><b>Q: How do I calculate deadlines that exclude holidays?<\/b><br \/>\nA: The WORKDAY function is perfect for this. It adds business days to a start date while skipping weekends and holidays.<\/p>\n<p><b>Q: Can I count partial workdays around holidays?<\/b><br \/>\nA: That&#8217;s trickier &#8211; you might need to create a custom formula or use time-tracking formulas alongside your holiday list.<\/p>\n<p><b>Q: What&#8217;s the best way to list holidays for these formulas?<\/b><br \/>\nA: I recommend creating a separate &#8220;Holidays&#8221; tab with one column of dates. Keep it updated each year for accurate calculations!<\/p>\n<p>Here&#8217;s a pro tip: Combine these functions with conditional formatting to visually highlight holidays in your spreadsheets. Makes everything so much easier to read at a glance!<\/p>\n<p>Remember, public holiday dates change every year, so always double-check your holiday list is current. Many government websites offer downloadable holiday calendars you can import right into Excel &#8211; huge time saver!<\/p>\n<p>Well, there you have it &#8211; your complete guide to counting workdays around holidays in Excel. Once you get the hang of these functions, you&#8217;ll wonder how you ever managed without them. Practice with some sample dates and holiday lists to really cement your understanding!<\/p>\n<p>Faqpro Thank you for reading, I hope this article can help you fully understand the <b>holiday calculations in Excel<\/b>, if you have more questions, please contact us. Happy spreadsheeting, and may all your workday counts be accurate!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5927\u5bb6\u597d\uff01\u6211\u662f\u4f60\u7684\u8282\u65e5\u5c0f\u52a9\u624b\uff0c\u53ef\u4ee5\u5e2e\u52a9\u4f60\u8f7b\u677e\u5e94\u5bf9\u68d8\u624b\u7684\u8282\u5047\u65e5\u5b89\u6392\u3002\u6211\u77e5\u9053\u5728 Excel \u4e2d\u8ba1\u7b97\u8282\u5047\u65e5\u524d\u540e\u7684\u5de5\u4f5c\u65e5\u53ef\u80fd\u5f88\u9ebb\u70e6\uff0c\u6240\u4ee5\u8ba9\u6211\u7b80\u5355\u89e3\u91ca\u4e00\u4e0b\u3002\u9996\u5148\uff0cExcel \u5185\u7f6e\u4e86\u4e00\u4e9b\u5f88\u68d2\u7684\u529f\u80fd\u2026\u2026<\/p>","protected":false},"author":1,"featured_media":6941,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"slim_seo":{"title":"Mastering Holiday Calculations in Excel: How to Count Workdays Around Public Holidays - Public Holiday Calendar","description":"Hey there! I'm your Holiday Little Assistant, here to make your work life easier when dealing with those tricky holiday schedules. I know counting workdays arou"},"footnotes":""},"categories":[278],"tags":[6599,6600,6598,3784,6601],"class_list":["post-6942","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-count-holidays-in-workdays","tag-excel-business-days","tag-excel-workday-calculation","tag-networkdays-function","tag-public-holiday-spreadsheet"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.publicholidaycalendar.com\/zh\/wp-json\/wp\/v2\/posts\/6942","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.publicholidaycalendar.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.publicholidaycalendar.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.publicholidaycalendar.com\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.publicholidaycalendar.com\/zh\/wp-json\/wp\/v2\/comments?post=6942"}],"version-history":[{"count":1,"href":"https:\/\/www.publicholidaycalendar.com\/zh\/wp-json\/wp\/v2\/posts\/6942\/revisions"}],"predecessor-version":[{"id":6943,"href":"https:\/\/www.publicholidaycalendar.com\/zh\/wp-json\/wp\/v2\/posts\/6942\/revisions\/6943"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.publicholidaycalendar.com\/zh\/wp-json\/wp\/v2\/media\/6941"}],"wp:attachment":[{"href":"https:\/\/www.publicholidaycalendar.com\/zh\/wp-json\/wp\/v2\/media?parent=6942"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.publicholidaycalendar.com\/zh\/wp-json\/wp\/v2\/categories?post=6942"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.publicholidaycalendar.com\/zh\/wp-json\/wp\/v2\/tags?post=6942"}],"curies":[{"name":"\u53ef\u6e7f\u6027\u7c89\u5242","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}