View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Yousoft Yousoft is offline
external usenet poster
 
Posts: 18
Default days calculation

I mean that I want this formula in UDF form

"Yousoft" wrote:

Hi All
The following formula is calculating the no of days without holidays, so I
want this formula in excel function way.
=SUMPRODUCT(INT((D5-C5+WEEKDAY(C5-{1,2,3,4,5}))/7))