A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
On Fri, 4 Jun 2010 20:34:51 +0000, kaylith
<*** Email address is removed for privacy ***>
wrote:
>
>
>I'm looking for something similar to the WORKDAY function, except I want it to return dates that include weekends (but not holidays that I specify).
>
>
>
>Thanks for your advice!
If you enable circular references (or iterations) which is under Excel
Options in 2007+ , and under Tools/Options in earlier versions of
Excel, AND set the number of allowed iterations to be any value at
least as great as the number of Holidays in your list (it can be much
larger), then you can use this formula:
=StartDate+DaysToAdd+SUMPRODUCT(COUNTIF(Holidays,
ROW(INDIRECT(StartDate&":"&INDIRECT(CELL("address"))))))