#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Problems with dates?

Hi all

How can I set up a spreadsheet where I can enter one date and see in
another cell a date say 156 days from that first date?

Also how could I show say a date being the first day of sickness the
next box showing the last date of sickness and the final box showing
how many days are inbetween these two dates based on a 6 day week of
Monday to Saturday and also a 5 day week based on Monday to Friday.

Many thanks.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 380
Default Problems with dates?




"skint" wrote in message
oups.com...
Hi all

How can I set up a spreadsheet where I can enter one date and see in
another cell a date say 156 days from that first date?



=A1+156

and format as date


Also how could I show say a date being the first day of sickness the
next box showing the last date of sickness and the final box showing
how many days are inbetween these two dates based on a 6 day week of
Monday to Saturday and also a 5 day week based on Monday to Friday.



Mon to Fri

=NETWORKDAYS(first_date,end_date)

Mon to Sat

=SUMPRODUCT(INT((MAX(end_date,start_date)-WEEKDAY(MAX(end_date,start_date)+1
-{2;3;4;5;6;7})-MIN(end_date,start_date)+8)


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
Pre-1900 dates Richard Gadsden Excel Discussion (Misc queries) 1 March 26th 06 12:46 AM
Calculating number of days between two dates that fall between two other dates [email protected] Excel Discussion (Misc queries) 5 October 26th 05 06:18 PM
Automatic shading of cells based on dates??? Pedros Excel Worksheet Functions 3 October 20th 05 12:35 AM
2 digit year in dates return 19xx not 20xx moranbo Excel Discussion (Misc queries) 1 September 7th 05 01:44 AM
Problems copying street addresses and dates C. Dales Excel Discussion (Misc queries) 4 February 11th 05 01:43 PM


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