View Single Post
  #3   Report Post  
Old March 2nd 21, 05:58 PM
Tim Paine Tim Paine is offline
Junior Member
 
First recorded activity by ExcelBanter: Dec 2020
Posts: 27
Default

Quote:
Originally Posted by Gord Dibben View Post
NETWORKDAYS Function help.

Returns the number of whole working days between start_date and end_date.
Working days exclude weekends and any dates identified in holidays. Use
NETWORKDAYS to calculate employee benefits that accrue based on the number of
days worked during a specific term.

If this function is not available, and returns the #NAME? error, install and
load the Analysis ToolPak add-in.

What "doesn't work"?


Gord Dibben MS Excel MVP

On Tue, 24 Oct 2006 05:44:02 -0700, Edward Chenderes <Edward
wrote:

Hi,
I am trying to work out a formula to exclude week end dates when it
calculates the work days. I tryed to instal the add inn but it does'nt work.
Pls help
To add days excluding weekends, you can do as below:

Select a blank cell and type this formula =WORKDAY(A2,B2), and press Enter key to get result.

Tip: In the formula, A2 is the start date, B2 is the days you want to add.
doc add days exluding weekend holiday 1

Now the end date which add 45 business days excluding weekends has been shown.
doc add days exluding weekend holiday 2

Note: If the calculated result is a 5-digit number, you can format it to date with clicking Home Number Format Short Date.

If you have a range of cells containing the holidays, and now you want to add days excluding weekends and these holidays to a given date, how can you handle it?

Select a blank cell and type this formula =WORKDAY(A2,B2,B4:B6), then press Enter key to get the result.


I hope these steps will be helpful!
Tim Paine