IF formula remove weekends and holidays

wheellp

New Member
Joined
Aug 2, 2016
Messages
30
I am looking for a formula so that if a a date is a holiday or weekend, it will subtract days until it reaches a non-weekend or non-holiday but if it's not a weekend or holiday to keep the original date. Can someone help me with this please?
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Is there any special format that the list of holidays has to be in? I couldn't get it to take the list of holidays i made in column C
 
Upvote 0
The list can be either a range of cells that contain holiday dates or an array constant, for example:

=WORKDAY(A1+1,-1,C1:C10), or

=WORKDAY(A1+1,-1,Holidays), where Holidays is a name that refers to C1:C10, or

=WORKDAY(A1+1,-1,{"2017-03-30","2017-03-31"}), or

=WORKDAY(A1+1,-1,{42824,42825})
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,262
Messages
6,123,952
Members
449,135
Latest member
jcschafer209

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