Solved

Holidays, use previous work date

Posted on 2012-12-26
3
258 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

732 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