LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Alpur
 
Posts: n/a
Default Holiday Dates

I have a problem in trying to calculate valuation dates. The problem is
arising because I have to take in to account two sets of holidays i.e. local
holidays and US holidays. The date requires to be 2 working days (TD+2)
after the last day of each month. When looking at only the local holidays I
do not have a problem as I can use the WORKDAY function. However, i have a
problem when I have to take in to account the US holidays also: - if TD+1 is
a US holiday but not a local holiday it should be ignored, if TD+2 is a
USholiday but not a local holiday it should be included in the calculation.
I have got as far as: -
=IF(AND(ISNA(VLOOKUP(WORKDAY($A5,1,USDHols),1,FALS E)),ISNA(VLOOKUP(WORKDAY($A5,1,AUDHols),1,FALSE)), WORKDAY($A5,2,AUDHols)),WORKDAY($A5,2,AUDHols))
but, for example, when I enter 04/07/05 as a US holiday only, I still get the
answer 04/07/05 when I am expecting 05/07/05. Can anyone help please.


 
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
Calculating number of days between two dates that fall between two other dates [email protected] Excel Discussion (Misc queries) 5 October 26th 05 06:18 PM
Automatic shading of cells based on dates??? Pedros Excel Worksheet Functions 3 October 20th 05 12:35 AM
2 digit year in dates return 19xx not 20xx moranbo Excel Discussion (Misc queries) 1 September 7th 05 01:44 AM
Default Dates Sue Excel Discussion (Misc queries) 1 July 22nd 05 12:29 PM
Formating Dates for production schedule dpl7579 Excel Discussion (Misc queries) 1 January 11th 05 08:43 PM


All times are GMT +1. The time now is 06:58 AM.

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"