Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I calculate the number of business days between two dates | New Users to Excel | |||
Calculate business Dates | Excel Discussion (Misc queries) | |||
How do I calculate the number of business days? | Excel Discussion (Misc queries) | |||
Calculate Business without the use of the Add-In (Analysis Tool-Pak) | Excel Discussion (Misc queries) | |||
Is there a way to calculate business working days between dates i. | Excel Worksheet Functions |