Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / October 2006

Tip: Looking for answers? Try searching our database.

excel man

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Excelman - 19 Oct 2006 17:52 GMT
I need to calculate dates, with Sunday (only) being skipped. Example: I want
to enter a date in a cell, and have excel add 5 days to it, skipping over
Sunday (if needed) and print the result date in another cell.
Sandy Mann - 19 Oct 2006 19:06 GMT
Excelman,

If you mean add 5 days and if that lands on a Sunday add another day then
try:

=A1+5+(WEEKDAY(A1+5)=1)

Signature

HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

sandymann2@mailinator.com
Replace@mailinator.com with @tiscali.co.uk

>I need to calculate dates, with Sunday (only) being skipped. Example: I
>want
> to enter a date in a cell, and have excel add 5 days to it, skipping over
> Sunday (if needed) and print the result date in another cell.
daddylonglegs - 21 Oct 2006 19:33 GMT
If you want to add the number of working days in B1 to a date in A1, with
working days being defined as all days except Sundays

=A1-WEEKDAY(A1,3)+INT(7/6*(B1+MIN(5,WEEKDAY(A1,3))))

> I need to calculate dates, with Sunday (only) being skipped. Example: I want
> to enter a date in a cell, and have excel add 5 days to it, skipping over
> Sunday (if needed) and print the result date in another cell.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.