#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JB JB is offline
external usenet poster
 
Posts: 115
Default Holidays

I have a date and a list of holidays. If this date is a holiday, how do I
make the date change to the next WORKDAY?....The WORKDAY function needs one
to add days to a date and then gives a result..
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Holidays

=IF(ISNUMBER(MATCH(A1,holidays,0)),WORKDAY(A1,1),A 1)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"JB" wrote in message
...
I have a date and a list of holidays. If this date is a holiday, how do I
make the date change to the next WORKDAY?....The WORKDAY function needs

one
to add days to a date and then gives a result..



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JB JB is offline
external usenet poster
 
Posts: 115
Default Holidays

Thank you...that worked

"Bob Phillips" wrote:

=IF(ISNUMBER(MATCH(A1,holidays,0)),WORKDAY(A1,1),A 1)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"JB" wrote in message
...
I have a date and a list of holidays. If this date is a holiday, how do I
make the date change to the next WORKDAY?....The WORKDAY function needs

one
to add days to a date and then gives a result..




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
help to build a list of holidays for 6 years dribler2 Excel Worksheet Functions 16 December 31st 06 04:56 PM
Holidays Jerry Levinson Excel Worksheet Functions 2 January 14th 06 12:39 AM
Number of Week Days _including_ Holidays Andrew Perry Excel Worksheet Functions 1 June 9th 05 05:31 PM
Schedule to exclude weekends and holidays Erin D. Excel Discussion (Misc queries) 3 March 15th 05 09:49 PM
Skip the Holidays 2 Aviator Excel Discussion (Misc queries) 9 January 13th 05 12:37 PM


All times are GMT +1. The time now is 01:09 PM.

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

About Us

"It's about Microsoft Excel"