View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Glenn Glenn is offline
external usenet poster
 
Posts: 1,240
Default Date Calculation Formula- Calendar days minus Holidays

Amanda wrote:
I need to be able to add 60 (calendar) days excluding holidays. I have
the holidays defline in a hidden column (C). The formula
=workdays(a1-a2,C1:C7)
returns a date that excludes weekends and holidays. I need to include
weekends but exclude holidays.



=A2-A1-COUNTIF(C1:C7,"="&A1)+COUNTIF(C1:C7,""&A2)