Solved

Holidays, use previous work date

Posted on 2012-12-26
3
261 Views
Last Modified: 2012-12-26
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?
0
Comment
Question by:pdvsa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 39

Expert Comment

by:nutsch
ID: 38721432
Try using the networkdays function, and/or including your file.
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 38721436
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
0
 

Author Closing Comment

by:pdvsa
ID: 38721541
very nice.  I have 2 parts to this question so I am about to ask a follow up..
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question