Holidays, use previous work date

pdvsa
pdvsa used Ask the Experts™
on
Experts,

I have a spreadsheet with many columns.
I am dragging a date to the right from A1 to the last column.
If the date is any of the French holidays then I want to use the preceding work day.

the attached file is holidays in France.

How could I do this?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2008

Commented:
Try using the networkdays function, and/or including your file.
Most Valuable Expert 2013
Commented:
Do you want to include weekends? If not then assuming you have the holidays in another sheet, say holidays sheet range H2:H10 then try using this formula in B1 copied acros

=WORKDAY(A1,1,Holidays!$H2:$H10)

If you drag that across it will give you every working day (excluding holidays and weekends)

see attached

regards, barry
workdays.xlsx
pdvsaProject finance

Author

Commented:
very nice.  I have 2 parts to this question so I am about to ask a follow up..

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial