Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 27
Default Count the number of workday in a month

Hi,
Pardon me if I have already posted this question, because I cant locate my
question anywhere. I guess, it is not saved.

I know I need to use NETWORKDAYS, but don't know how.
Cell A1 stores 2009
Cell A2 ~ A13 stores 1 ~ 12, representing months.
Above value are format as numbers.
I need a formula in cell B2 to result 22, B3 = 20, ie. the number of
workdays in that month. Appreciate if anyone coudl provide me with the the
formula.
Thanks so much.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Count the number of workday in a month

Try this...

Entered in B2 and copied down to B13:

=NETWORKDAYS(DATE(A$1,A2,1),DATE(A$1,A2+1,0))

--
Biff
Microsoft Excel MVP


"YY san." wrote in message
...
Hi,
Pardon me if I have already posted this question, because I cant locate my
question anywhere. I guess, it is not saved.

I know I need to use NETWORKDAYS, but don't know how.
Cell A1 stores 2009
Cell A2 ~ A13 stores 1 ~ 12, representing months.
Above value are format as numbers.
I need a formula in cell B2 to result 22, B3 = 20, ie. the number of
workdays in that month. Appreciate if anyone coudl provide me with the the
formula.
Thanks so much.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 27
Default Count the number of workday in a month

Hi guys,
Thank you very much for your prompt reply.
Have a nice day.


"T. Valko" wrote:

Try this...

Entered in B2 and copied down to B13:

=NETWORKDAYS(DATE(A$1,A2,1),DATE(A$1,A2+1,0))

--
Biff
Microsoft Excel MVP


"YY san." wrote in message
...
Hi,
Pardon me if I have already posted this question, because I cant locate my
question anywhere. I guess, it is not saved.

I know I need to use NETWORKDAYS, but don't know how.
Cell A1 stores 2009
Cell A2 ~ A13 stores 1 ~ 12, representing months.
Above value are format as numbers.
I need a formula in cell B2 to result 22, B3 = 20, ie. the number of
workdays in that month. Appreciate if anyone coudl provide me with the the
formula.
Thanks so much.



.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Count the number of workday in a month

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"YY san." wrote in message
...
Hi guys,
Thank you very much for your prompt reply.
Have a nice day.


"T. Valko" wrote:

Try this...

Entered in B2 and copied down to B13:

=NETWORKDAYS(DATE(A$1,A2,1),DATE(A$1,A2+1,0))

--
Biff
Microsoft Excel MVP


"YY san." wrote in message
...
Hi,
Pardon me if I have already posted this question, because I cant locate
my
question anywhere. I guess, it is not saved.

I know I need to use NETWORKDAYS, but don't know how.
Cell A1 stores 2009
Cell A2 ~ A13 stores 1 ~ 12, representing months.
Above value are format as numbers.
I need a formula in cell B2 to result 22, B3 = 20, ie. the number of
workdays in that month. Appreciate if anyone coudl provide me with the
the
formula.
Thanks so much.



.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Count the number of workday in a month

=NETWORKDAYS(DATE($A$1,A2,1),DATE($A$1,A2+1,0))

In case you are using 2003; make sure you have installed Analysis
ToolPak..From ToolsAddIns

If this post helps click Yes
---------------
Jacob Skaria


"YY san." wrote:

Hi,
Pardon me if I have already posted this question, because I cant locate my
question anywhere. I guess, it is not saved.

I know I need to use NETWORKDAYS, but don't know how.
Cell A1 stores 2009
Cell A2 ~ A13 stores 1 ~ 12, representing months.
Above value are format as numbers.
I need a formula in cell B2 to result 22, B3 = 20, ie. the number of
workdays in that month. Appreciate if anyone coudl provide me with the the
formula.
Thanks so much.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Count the number of workday in a month

-----------Refer help on NETWORKDAYS ...if you want to add a holiday list.

Syntax:
=NETWORKDAYS(start_date,end_date,holidays)

Holidays is an optional range of one or more dates to exclude from the
working calendar, such as state and federal holidays and floating holidays.
The list can be either a range of cells that contains the dates or an array
constant (array: Used to build single formulas that produce multiple results
or that operate on a group of arguments that are arranged in rows and
columns. An array range shares a common formula; an array constant is a group
of constants used as an argument.) of the serial numbers that represent the
dates.

--------Alternative solution without considering a holiday list and without
using the ATP function

=SUM(INT((WEEKDAY(DATE($A$1,A2,1)-{1,2,3,4,5},2)+DATE($A$1,A2+1,0)-DATE($A$1,A2,1))/7))


If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

=NETWORKDAYS(DATE($A$1,A2,1),DATE($A$1,A2+1,0))

In case you are using 2003; make sure you have installed Analysis
ToolPak..From ToolsAddIns

If this post helps click Yes
---------------
Jacob Skaria


"YY san." wrote:

Hi,
Pardon me if I have already posted this question, because I cant locate my
question anywhere. I guess, it is not saved.

I know I need to use NETWORKDAYS, but don't know how.
Cell A1 stores 2009
Cell A2 ~ A13 stores 1 ~ 12, representing months.
Above value are format as numbers.
I need a formula in cell B2 to result 22, B3 = 20, ie. the number of
workdays in that month. Appreciate if anyone coudl provide me with the the
formula.
Thanks so much.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count number of row for Particular month Praveen kumar.M Excel Worksheet Functions 3 May 15th 08 02:14 PM
workday with month functions Monique Excel Worksheet Functions 5 October 30th 07 01:19 AM
Count, number of entries of a particular month. Danny Excel Worksheet Functions 4 May 21st 07 10:05 PM
Count number of items by month Christine Excel Worksheet Functions 2 September 1st 05 08:43 PM
Count number of days in given month? Bryan Excel Worksheet Functions 10 February 2nd 05 11:44 PM


All times are GMT +1. The time now is 12:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"