LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Figuring out if a day is a legal holiday

I need to check to see if a date is a legal holiday or a Sunday. I know
about Workday(), with the holiday feature, but that also takes saturday into
account, and I need to pass a list of the holidays. Testing to see if Sunday
is easy, but it is the holidays that will cause me greif....

I will be checking for various years, so passingg a list of holidays is not
viable.

Is there a calculation to figure out the 10 legal holidays listed below:

New Years Day

Martin Luther King Day

Presidents Day

Memorial Day

Independence Day

Labor Day

Columbus Day

Veterans Day

Thanksgiving Day

Christmas Day



(I don't need Easter, as it is always on Sunday anyways)



Ideally, I would like to pass a date to it, and it would respond with the
legal holiday name, or return an empty string





Thanks!

Bruce






 
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
Legal Disclaimer malbright Excel Discussion (Misc queries) 2 March 12th 10 03:11 PM
Printing Legal Terence Excel Discussion (Misc queries) 1 December 3rd 07 04:23 PM
Is this legal? Karen Excel Worksheet Functions 7 March 21st 07 02:04 PM
how do I add words, holiday =1, holiday am=0.5 GCC Excel Worksheet Functions 2 March 6th 07 03:53 PM
Holiday Planner show holiday taken? Mac5 Excel Worksheet Functions 0 July 18th 06 11:29 PM


All times are GMT +1. The time now is 06:10 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"