#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Dates

I developing a small project plan in excel - starting with project end date
and subtracting task durations to get to start date. Using
=DATE(YEAR(D30),MONTH(D30),DAY(D30)-C29) to get to the next earlier date.
Problem is I need to exclude weekend dates. D30=end date. C29=duration of
task. How do I do that?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default Dates

=WORKDAY(DATE(YEAR(D30),MONTH(D30),DAY(D30)),-C29)

however if you have a date in D30 you don't need the DATE function

=D30-C29

or


=WORKDAY(D30,-C29)


--


Regards,


Peo Sjoblom

"sharonn" wrote in message
...
I developing a small project plan in excel - starting with project end date
and subtracting task durations to get to start date. Using
=DATE(YEAR(D30),MONTH(D30),DAY(D30)-C29) to get to the next earlier date.
Problem is I need to exclude weekend dates. D30=end date. C29=duration
of
task. How do I do that?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Dates

I already tried both of these
=workday(E24,D23) results in #NAME? and
=workDAY(DATE(YEAR(D30),MONTH(D30),DAY(D30)-C29)) results in #NAME?
what am I doing wrong? thx

"Peo Sjoblom" wrote:

=WORKDAY(DATE(YEAR(D30),MONTH(D30),DAY(D30)),-C29)

however if you have a date in D30 you don't need the DATE function

=D30-C29

or


=WORKDAY(D30,-C29)


--


Regards,


Peo Sjoblom

"sharonn" wrote in message
...
I developing a small project plan in excel - starting with project end date
and subtracting task durations to get to start date. Using
=DATE(YEAR(D30),MONTH(D30),DAY(D30)-C29) to get to the next earlier date.
Problem is I need to exclude weekend dates. D30=end date. C29=duration
of
task. How do I do that?




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default Dates

Toolsadd-ins, select ATP (Analysis Toolpak)
and keep the installation CD handy.

It comes with Excel but might not be installed at first time,
if it is a company PC ask IT to install it if it doesn't install
when you check under add-ins



--


Regards,


Peo Sjoblom

"sharonn" wrote in message
...
I already tried both of these
=workday(E24,D23) results in #NAME? and
=workDAY(DATE(YEAR(D30),MONTH(D30),DAY(D30)-C29)) results in #NAME?
what am I doing wrong? thx

"Peo Sjoblom" wrote:

=WORKDAY(DATE(YEAR(D30),MONTH(D30),DAY(D30)),-C29)

however if you have a date in D30 you don't need the DATE function

=D30-C29

or


=WORKDAY(D30,-C29)


--


Regards,


Peo Sjoblom

"sharonn" wrote in message
...
I developing a small project plan in excel - starting with project end
date
and subtracting task durations to get to start date. Using
=DATE(YEAR(D30),MONTH(D30),DAY(D30)-C29) to get to the next earlier
date.
Problem is I need to exclude weekend dates. D30=end date.
C29=duration
of
task. How do I do that?






  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Dates

What you are doing wrong is not using Excel help for the WORKDAY function.
--
David Biddulph

"sharonn" wrote in message
...
I already tried both of these
=workday(E24,D23) results in #NAME? and
=workDAY(DATE(YEAR(D30),MONTH(D30),DAY(D30)-C29)) results in #NAME?
what am I doing wrong? thx

"Peo Sjoblom" wrote:

=WORKDAY(DATE(YEAR(D30),MONTH(D30),DAY(D30)),-C29)

however if you have a date in D30 you don't need the DATE function

=D30-C29

or


=WORKDAY(D30,-C29)


--


Regards,


Peo Sjoblom

"sharonn" wrote in message
...
I developing a small project plan in excel - starting with project end
date
and subtracting task durations to get to start date. Using
=DATE(YEAR(D30),MONTH(D30),DAY(D30)-C29) to get to the next earlier
date.
Problem is I need to exclude weekend dates. D30=end date.
C29=duration
of
task. How do I do that?








  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Dates

Perfect - thank you!

"Peo Sjoblom" wrote:

Toolsadd-ins, select ATP (Analysis Toolpak)
and keep the installation CD handy.

It comes with Excel but might not be installed at first time,
if it is a company PC ask IT to install it if it doesn't install
when you check under add-ins



--


Regards,


Peo Sjoblom

"sharonn" wrote in message
...
I already tried both of these
=workday(E24,D23) results in #NAME? and
=workDAY(DATE(YEAR(D30),MONTH(D30),DAY(D30)-C29)) results in #NAME?
what am I doing wrong? thx

"Peo Sjoblom" wrote:

=WORKDAY(DATE(YEAR(D30),MONTH(D30),DAY(D30)),-C29)

however if you have a date in D30 you don't need the DATE function

=D30-C29

or


=WORKDAY(D30,-C29)


--


Regards,


Peo Sjoblom

"sharonn" wrote in message
...
I developing a small project plan in excel - starting with project end
date
and subtracting task durations to get to start date. Using
=DATE(YEAR(D30),MONTH(D30),DAY(D30)-C29) to get to the next earlier
date.
Problem is I need to exclude weekend dates. D30=end date.
C29=duration
of
task. How do I do that?






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
how do I sort a column of random dates into Consecutive dates Rob Gibson Excel Worksheet Functions 2 June 12th 07 05:10 AM
Identifying unique dates in a range of cells containing dates... cdavidson Excel Discussion (Misc queries) 4 October 13th 06 03:30 PM
Identifying unique dates within a range of cells containing dates cdavidson Excel Discussion (Misc queries) 0 October 12th 06 08:19 PM
need to convert list of dates to count no. of dates by week neowok Excel Worksheet Functions 13 January 30th 06 03:54 PM
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


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