Date endpoints
Assumptions & formula

Formula and assumptions

N = Σ(valid d); 0=Sun/So/Do/Dim/Dom/Dom/Dom/Min … 6=Sat/Sa/Sáb/Sam/Sáb/Sab/Sáb/Sab

Only entered holidays are excluded; no national holiday calendar is assumed. Sunday=0 through Saturday=6. Choose inclusive/exclusive endpoints. Maximum range: 36,600 days. Enter at least one weekend weekday; empty entries are invalid.

Results

Enter values and press Calculate to see the result here.