#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,069
Default Formula Question

Is there a formula that gives you the number of business days in a month
(mon-Fri) I have a date in a column A , and I would give to write a formula
in column B that gives what business day of the week it is?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Formula Question

Hi,

Try this. Holidays is a named range that contains any holiday dates you want
to exclude from the calculation. You can omit this if you want

=NETWORKDAYS(DATE(YEAR(A1),MONTH(A1),1),DATE(YEAR( A1),MONTH(A1)+1,0),Holidays)

Mike

"John" wrote:

Is there a formula that gives you the number of business days in a month
(mon-Fri) I have a date in a column A , and I would give to write a formula
in column B that gives what business day of the week it is?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Formula Question

hi
not sure if i understand correctly but try this...
=TEXT(A2,"ddd") for abreviated day
=TEXT(A2,"dddd") for full day.

regards
FSt1

"John" wrote:

Is there a formula that gives you the number of business days in a month
(mon-Fri) I have a date in a column A , and I would give to write a formula
in column B that gives what business day of the week it is?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Formula Question

Is there a formula that gives you the number
of business days in a month


The NETWORDAYS will do that.

The syntax is:

=NETWORKDAYS(start_date,end_date,[optional]holidays_to_exclude)

date in a column A...what business day of the week it is?


=TEXT(A1,"dddd")

--
Biff
Microsoft Excel MVP


"John" wrote in message
...
Is there a formula that gives you the number of business days in a month
(mon-Fri) I have a date in a column A , and I would give to write a
formula
in column B that gives what business day of the week it is?



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,069
Default Formula Question

Thanks for the reply. I dont know if that works. I tried it and got an
error message. This is what i am trying to do. I have a list of names, each
day has about 10-20 items. What i want to do, is compare the first fifteen
business days of one month to the first 15 days of another month. I have
created a pivot table and would like to get this information into a pivot
table to create a chart. i Can't compare the first 15 days of the each month
because some months might have more weekends than the other.

"Mike H" wrote:

Hi,

Try this. Holidays is a named range that contains any holiday dates you want
to exclude from the calculation. You can omit this if you want

=NETWORKDAYS(DATE(YEAR(A1),MONTH(A1),1),DATE(YEAR( A1),MONTH(A1)+1,0),Holidays)

Mike

"John" wrote:

Is there a formula that gives you the number of business days in a month
(mon-Fri) I have a date in a column A , and I would give to write a formula
in column B that gives what business day of the week it is?



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,069
Default Formula Question

Thanks Mike for the response, but I got an error message when I did that
equation. What I am trying to do is this. I have a list of names. There
are probably 10-20 names per date. I want to be able to compare the first 15
business days of one month to the first 15 business days of another month. I
can't give accurate information if I just do the first 15 days of each month,
because one month might have more weekends in the first 15 days than another
month. I dont know if this changes anything, and if you are able to help but
if you can that would be great.
Thanks


"Mike H" wrote:

Hi,

Try this. Holidays is a named range that contains any holiday dates you want
to exclude from the calculation. You can omit this if you want

=NETWORKDAYS(DATE(YEAR(A1),MONTH(A1),1),DATE(YEAR( A1),MONTH(A1)+1,0),Holidays)

Mike

"John" wrote:

Is there a formula that gives you the number of business days in a month
(mon-Fri) I have a date in a column A , and I would give to write a formula
in column B that gives what business day of the week it is?

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,069
Default Formula Question

Thanks Mike for the response, but I got an error message when I did that
equation. What I am trying to do is this. I have a list of names. There
are probably 10-20 names per date. I want to be able to compare the first 15
business days of one month to the first 15 business days of another month. I
can't give accurate information if I just do the first 15 days of each month,
because one month might have more weekends in the first 15 days than another
month. I dont know if this changes anything, and if you are able to help but
if you can that would be great.
Thanks


"Mike H" wrote:

Hi,

Try this. Holidays is a named range that contains any holiday dates you want
to exclude from the calculation. You can omit this if you want

=NETWORKDAYS(DATE(YEAR(A1),MONTH(A1),1),DATE(YEAR( A1),MONTH(A1)+1,0),Holidays)

Mike

"John" wrote:

Is there a formula that gives you the number of business days in a month
(mon-Fri) I have a date in a column A , and I would give to write a formula
in column B that gives what business day of the week it is?

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
Formula Question Ben Excel Worksheet Functions 2 September 27th 08 12:58 PM
formula question JaneSmith Excel Worksheet Functions 2 June 18th 08 05:22 PM
Formula Question Robert B. Excel Worksheet Functions 6 November 16th 07 12:18 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
Formula question Dawn Excel Discussion (Misc queries) 1 November 8th 05 06:56 PM


All times are GMT +1. The time now is 02:56 PM.

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

About Us

"It's about Microsoft Excel"