Formula to calculate business day

F

fsfiligoi

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
 
P

porter444

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
 
F

fsfiligoi

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!
 
S

Shane Devenshire

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
 
F

fsfiligoi

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

EXCEL LOOKUP PROBLEM 2
How to determine the highest occurrence? 4
weeks in a month 1
Transform calendarized data 4
Formulas to VBA 5
calculate number of days 7
Find the position of a date 6
Organising data 5

Top