Help with Dates

Atoosa

New Member
Joined
Apr 24, 2008
Messages
25
I have two dates that span several years. I want to remove weekends and holidays. I'm using the NETWORKDAYS function. I have a list of recognized holidays for the current year. Will I have to format or remove the "Year" in the holiday dates to have the formula account for the years in between dates? Hope this makes sense? Here is an example:

1/5/2007 1/10/2018 Holidays
1/1/2018
2/1/2018


Thanks for any assistance.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Yes, there's no reliable way to make Excel undestand how you want the holiday dates treated. For instance, the U.S. thanksgiving holiday is the 4th Thursday of November. The actual day of the month changes. Consequently, every holiday date needs to be listed.
 
Upvote 0

Forum statistics

Threads
1,216,070
Messages
6,128,614
Members
449,460
Latest member
jgharbawi

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top