ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Calculate workdays in a month. (https://www.excelbanter.com/excel-discussion-misc-queries/246673-calculate-workdays-month.html)

YY san.[_2_]

Calculate workdays in a month.
 
Hi,
I have in A1, 2009 and A2~A13, numbers 1 ~ 12 representing Jan ~ Dec. This
is format as numbers, not date format. How can I use NETWORKDAYS in B2 to
produce 22, B3,20, ie. the no. of workdays in that month.

Appreciate your help.
Cheers,
YY


muddan madhu[_3_]

Calculate workdays in a month.
 
=NETWORKDAYS(DATE($A$1,A2,1),DATE($A$1,A2+1,)-1)

"YY san." wrote:

Hi,
I have in A1, 2009 and A2~A13, numbers 1 ~ 12 representing Jan ~ Dec. This
is format as numbers, not date format. How can I use NETWORKDAYS in B2 to
produce 22, B3,20, ie. the no. of workdays in that month.

Appreciate your help.
Cheers,
YY


Ron Rosenfeld

Calculate workdays in a month.
 
On Tue, 27 Oct 2009 08:45:01 -0700, YY san.
wrote:

Hi,
I have in A1, 2009 and A2~A13, numbers 1 ~ 12 representing Jan ~ Dec. This
is format as numbers, not date format. How can I use NETWORKDAYS in B2 to
produce 22, B3,20, ie. the no. of workdays in that month.

Appreciate your help.
Cheers,
YY



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

and fill down to B13

--ron

muddan madhu[_3_]

Calculate workdays in a month.
 
sorry

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

"muddan madhu" wrote:

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

"YY san." wrote:

Hi,
I have in A1, 2009 and A2~A13, numbers 1 ~ 12 representing Jan ~ Dec. This
is format as numbers, not date format. How can I use NETWORKDAYS in B2 to
produce 22, B3,20, ie. the no. of workdays in that month.

Appreciate your help.
Cheers,
YY


muddan madhu[_3_]

Calculate workdays in a month.
 
sorry

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

"muddan madhu" wrote:

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

"YY san." wrote:

Hi,
I have in A1, 2009 and A2~A13, numbers 1 ~ 12 representing Jan ~ Dec. This
is format as numbers, not date format. How can I use NETWORKDAYS in B2 to
produce 22, B3,20, ie. the no. of workdays in that month.

Appreciate your help.
Cheers,
YY



All times are GMT +1. The time now is 05:53 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com