Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default Formula to calculate business day

Which formula could I use to calculate the business day (or working day) of a
particular date. In my example, Jan 2 would be the first business day of the
month, Jan 5 would be the second business day of the month and so on. Could
it say weekend or something else for the non business days?
Example
Date Business day
1-Jan-09
2-Jan-09 1
3-Jan-09
4-Jan-09
5-Jan-09 2
6-Jan-09 3
7-Jan-09 4

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 73
Default Formula to calculate business day

Formula in Weekday column:
=WEEKDAY(A2)

Forumla in Business Day column:
=IF(B2=1,"Weekend",IF(B2=7,"Weekend","Business Day"))

Date weekday business day?
1/1/2009 5 Business Day
1/2/2009 6 Business Day
1/3/2009 7 Weekend
1/4/2009 1 Weekend
1/5/2009 2 Business Day
1/6/2009 3 Business Day
1/7/2009 4 Business Day
1/8/2009 5 Business Day
1/9/2009 6 Business Day
1/10/2009 7 Weekend
1/11/2009 1 Weekend
1/12/2009 2 Business Day
1/13/2009 3 Business Day

--
If my posting was helpful, please click the "Yes" button.

ROCK ON!,

Scott


"fsfiligoi" wrote:

Which formula could I use to calculate the business day (or working day) of a
particular date. In my example, Jan 2 would be the first business day of the
month, Jan 5 would be the second business day of the month and so on. Could
it say weekend or something else for the non business days?
Example
Date Business day
1-Jan-09
2-Jan-09 1
3-Jan-09
4-Jan-09
5-Jan-09 2
6-Jan-09 3
7-Jan-09 4

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default Formula to calculate business day

Thanks Scott but that wouldn't always work.. In fact 1/1/09 is not a
business day. I'm also trying to find out which business day a particular
day would be: 1st, 2nd, etc. But I can try to figure something out with the
info you sent me. Thanks again!


"porter444" wrote:

Formula in Weekday column:
=WEEKDAY(A2)

Forumla in Business Day column:
=IF(B2=1,"Weekend",IF(B2=7,"Weekend","Business Day"))

Date weekday business day?
1/1/2009 5 Business Day
1/2/2009 6 Business Day
1/3/2009 7 Weekend
1/4/2009 1 Weekend
1/5/2009 2 Business Day
1/6/2009 3 Business Day
1/7/2009 4 Business Day
1/8/2009 5 Business Day
1/9/2009 6 Business Day
1/10/2009 7 Weekend
1/11/2009 1 Weekend
1/12/2009 2 Business Day
1/13/2009 3 Business Day

--
If my posting was helpful, please click the "Yes" button.

ROCK ON!,

Scott


"fsfiligoi" wrote:

Which formula could I use to calculate the business day (or working day) of a
particular date. In my example, Jan 2 would be the first business day of the
month, Jan 5 would be the second business day of the month and so on. Could
it say weekend or something else for the non business days?
Example
Date Business day
1-Jan-09
2-Jan-09 1
3-Jan-09
4-Jan-09
5-Jan-09 2
6-Jan-09 3
7-Jan-09 4

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default Formula to calculate business day

Hi,

Try this

=IF(NETWORKDAYS(A2,A2,E$1:E$5)=0,"",NETWORKDAYS($A $2,A2,E$1:E$5))

Where A2 is the first date of the year and the range E1:E5 contains any
holidays in your business year.

Cheers,
Shane Devenshire

"fsfiligoi" wrote:

Which formula could I use to calculate the business day (or working day) of a
particular date. In my example, Jan 2 would be the first business day of the
month, Jan 5 would be the second business day of the month and so on. Could
it say weekend or something else for the non business days?
Example
Date Business day
1-Jan-09
2-Jan-09 1
3-Jan-09
4-Jan-09
5-Jan-09 2
6-Jan-09 3
7-Jan-09 4

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default Formula to calculate business day

Thank you Shane. I actually see all blanks. Do you think I should change
something?

"Shane Devenshire" wrote:

Hi,

Try this

=IF(NETWORKDAYS(A2,A2,E$1:E$5)=0,"",NETWORKDAYS($A $2,A2,E$1:E$5))

Where A2 is the first date of the year and the range E1:E5 contains any
holidays in your business year.

Cheers,
Shane Devenshire

"fsfiligoi" wrote:

Which formula could I use to calculate the business day (or working day) of a
particular date. In my example, Jan 2 would be the first business day of the
month, Jan 5 would be the second business day of the month and so on. Could
it say weekend or something else for the non business days?
Example
Date Business day
1-Jan-09
2-Jan-09 1
3-Jan-09
4-Jan-09
5-Jan-09 2
6-Jan-09 3
7-Jan-09 4

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
How can I calculate the number of business days between two dates Anonymous New Users to Excel 3 June 18th 08 03:30 PM
Calculate business Dates Wanna Learn Excel Discussion (Misc queries) 3 February 28th 07 03:14 PM
How do I calculate the number of business days? Nelson Excel Discussion (Misc queries) 1 May 31st 06 06:35 PM
Calculate Business without the use of the Add-In (Analysis Tool-Pak) dannyboy213 Excel Discussion (Misc queries) 8 February 2nd 06 02:34 AM
Is there a way to calculate business working days between dates i. hjyoungii Excel Worksheet Functions 2 February 23rd 05 04:25 PM


All times are GMT +1. The time now is 06:25 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"