ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Dates (https://www.excelbanter.com/excel-discussion-misc-queries/198745-dates.html)

sharonn

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?

Peo Sjoblom[_2_]

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?




sharonn

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?





Peo Sjoblom[_2_]

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?







David Biddulph[_2_]

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?







sharonn

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?








All times are GMT +1. The time now is 09:44 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com