Solved

How use Excel to automatically schedule dates backwards from entered date

Posted on 2011-03-15
5
537 Views
Last Modified: 2013-11-05
I have an Excel file which I would like to have automatically enter dates (schedule) BACKWARDS from an entered date.  I've attached a sample file which illustrates how I would like this to work.  Can anyone help with this?

--Steve

Auto-Date-Example.xls
0
Comment
Question by:SteveL13
  • 2
  • 2
5 Comments
 
LVL 50

Expert Comment

by:barry houdini
ID: 35143132
Hello Steve, you can use WORKDAY function. If you are using Excel 2003 then you need Analysis ToolPak installed for WORKDAY to work. If it doesn't then try enabling Analysis ToolPak like this

Tools > add-ins > tick "Analysis ToolPak"

Then formula in V3 copied back across to D3

=WORKDAY(W3,-1,$AC2:$AC20)

where you have holidays listed in the range AC2:AC20

regards, barry
0
 
LVL 81

Expert Comment

by:zorvek (Kevin Jones)
ID: 35143134
Make a list of holidays on the sheet and name it "Holidays".

Enter this formula in cell V3:

   =WORKDAY(W3, -1, Holidays)

Copy that cell to the left.

Kevin
0
 
LVL 5

Expert Comment

by:KPAYNE123
ID: 35143138
If you are using Excel 2007, there are two functions built in: NETWORKDAYS () is the one you want.  It also will exclude holidays if you set up a holidays' table.

  If you don't have Excel 2007, the problem is much more difficult.  You basically have to CREATE a complex function that figures out the day-of-week of your begin-date (easy when you use the 2003 WEEKDAY() function!)  and then figures out how many days are left in that first week before the weekend... a simple subtraction.

   You can do the same thing with the end-date, except you need to calculate backwards to the previous weekend.

   Each of these steps will result in a MODIFIED start date.

0
 
LVL 81

Accepted Solution

by:
zorvek (Kevin Jones) earned 250 total points
ID: 35143140
See the attached.

Kevin
Auto-Date-Example.xls
0
 
LVL 50

Assisted Solution

by:barry houdini
barry houdini earned 250 total points
ID: 35143141
Here' an example of the above approach

regards, barry
26889435.xls
0

Featured Post

Technology Partners: 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

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

733 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