calculating only weekdays

S

Sinkguy1

I need to enter the date for weekdays only across columns in numerous
worksheets. How can i get the dates for monday thru fridays only stating
with the date in B1?
 
T

T. Valko

Enter the first date in B1. This must be a Monday thru Friday date.

Enter this formula in C1 and copy across as needed:

=B1+CHOOSE(WEEKDAY(B1),0,1,1,1,1,3)
 
S

Sheeloo

With your first date in A1 enter this in B1 and copy across columns...
Excel 2007
=WORKDAY(A1,1)

Excel 2003
=IF(WEEKDAY(A1+1,2)<6,A1+1,A1+3)
 
S

Sinkguy1

Thanks, I am using 2007 and that was easy. The discription of the function
did not sound like that was what I wanted, but it works great.
 
A

Ashish Mathur

Hi,

Enter the first date in cell B1. Now drag down (a couple of rows) the fill
handle at the lower right corner of cell B1 and then release it. You will
see a "Auto Fills Option" box. Click on it, and there will be an option for
weekdays. This assumes Mon-Fri as weekdays.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com
 

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

Top