Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Past Date Calculation

I have a difficult problem to solve. I am working with Excel 2003 and trying
to calculate a prior date based on a particular billing date. Normally this
would be solved with the workday function but I have a few special
conditions.

The first is a range of holidays that if the result equals one of those
holidays, then I want the date to readout the prior business day (for
example, since September 1 is a banking holiday and the result should then be
August 29).

The second condition is our holidays. The calculation needs to omit those
days from consideration (for example, if the billing date is Dec 1 and we
have Nov 27 & 28 off, the result should be Nov 24.)

The third condition is that these two lists of holidays have some overlap.

Let me know if I didn't explain clearly or any other information I need to
provide to arrive at a solution. Currently the people are hand counting by
the calendar each month introducing a high risk for error. Please advise.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default Past Date Calculation

So how many days are we talking about here?

Note that you can specify a range and put all the holidays in there

=WORKDAY (date,-5,Holidays)



--


Regards,


Peo Sjoblom

"debinnyc" wrote in message
...
I have a difficult problem to solve. I am working with Excel 2003 and
trying
to calculate a prior date based on a particular billing date. Normally
this
would be solved with the workday function but I have a few special
conditions.

The first is a range of holidays that if the result equals one of those
holidays, then I want the date to readout the prior business day (for
example, since September 1 is a banking holiday and the result should then
be
August 29).

The second condition is our holidays. The calculation needs to omit those
days from consideration (for example, if the billing date is Dec 1 and we
have Nov 27 & 28 off, the result should be Nov 24.)

The third condition is that these two lists of holidays have some overlap.

Let me know if I didn't explain clearly or any other information I need to
provide to arrive at a solution. Currently the people are hand counting by
the calendar each month introducing a high risk for error. Please advise.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Past Date Calculation

Each list has ten days. However the criteria for what I want the formula to
do is different for each list. And the lists overlap. Therein lies the
problem.

"Peo Sjoblom" wrote:

So how many days are we talking about here?

Note that you can specify a range and put all the holidays in there

=WORKDAY (date,-5,Holidays)



--


Regards,


Peo Sjoblom

"debinnyc" wrote in message
...
I have a difficult problem to solve. I am working with Excel 2003 and
trying
to calculate a prior date based on a particular billing date. Normally
this
would be solved with the workday function but I have a few special
conditions.

The first is a range of holidays that if the result equals one of those
holidays, then I want the date to readout the prior business day (for
example, since September 1 is a banking holiday and the result should then
be
August 29).

The second condition is our holidays. The calculation needs to omit those
days from consideration (for example, if the billing date is Dec 1 and we
have Nov 27 & 28 off, the result should be Nov 24.)

The third condition is that these two lists of holidays have some overlap.

Let me know if I didn't explain clearly or any other information I need to
provide to arrive at a solution. Currently the people are hand counting by
the calendar each month introducing a high risk for error. Please advise.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
past cell by date Tony Excel Worksheet Functions 2 July 18th 08 07:15 PM
Always open a certain worksheet if date is past? wx4usa Excel Discussion (Misc queries) 1 July 24th 07 04:02 PM
When I open my past invoice it keeps changing date to todays date Stop date changing to todays in Excel Excel Worksheet Functions 2 October 7th 05 04:54 PM
need to show when date is past due rsdunphy Excel Worksheet Functions 5 September 28th 05 07:41 PM
Date/If function for past dues workin4alivin Excel Worksheet Functions 7 August 14th 05 04:14 AM


All times are GMT +1. The time now is 11:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"