Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Project

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-17-2008, 06:46 PM
=?Utf-8?B?RGFuYQ==?=
 
Posts: n/a
DateAdd formual

Why doesn't this work as a custome forumla in Date2 field?

DateAdd("M",3,[Deadline])

or this

DateAdd("d",90,[Deadline])

I'm trying to put a custom formula in Date2 that adds 90 days to the
existing Deadline for the task and calculates a new date.
Reply With Quote
  #2 (permalink)  
Old 07-17-2008, 06:55 PM
JulieS
 
Posts: n/a
Re: DateAdd formual

Hi Dana,

Can you give more information about *what* you see when you try it.
I've just placed your formula in a date field in the Gantt chart view,
entry table and it calculated correctly.

I hope this helps. Let us know how you get along.

Julie
Project MVP

Visit http://project.mvps.org/ for the FAQs and additional information
about Microsoft Project

"Dana" <Dana@discussions.microsoft.com> wrote in message
news:FC9857DF-C828-4EE5-A58B-FA9EE6CE498E@microsoft.com...
> Why doesn't this work as a custome forumla in Date2 field?
>
> DateAdd("M",3,[Deadline])
>
> or this
>
> DateAdd("d",90,[Deadline])
>
> I'm trying to put a custom formula in Date2 that adds 90 days to the
> existing Deadline for the task and calculates a new date.



Reply With Quote
  #3 (permalink)  
Old 07-17-2008, 07:34 PM
=?Utf-8?B?RGFuYQ==?=
 
Posts: n/a
Re: DateAdd formual

I see NA.

I think the problem is with the format of the date in the Deadline field
that I'm add to, becasue if I just try to make Date2 = Deadline with
[Deadline] in the formula, that doesn't work either. It still says N/A.

Is there a special data format that's required? I'm using Jul 17 '08

Thanks

"JulieS" wrote:

> Hi Dana,
>
> Can you give more information about *what* you see when you try it.
> I've just placed your formula in a date field in the Gantt chart view,
> entry table and it calculated correctly.
>
> I hope this helps. Let us know how you get along.
>
> Julie
> Project MVP
>
> Visit http://project.mvps.org/ for the FAQs and additional information
> about Microsoft Project
>
> "Dana" <Dana@discussions.microsoft.com> wrote in message
> news:FC9857DF-C828-4EE5-A58B-FA9EE6CE498E@microsoft.com...
> > Why doesn't this work as a custome forumla in Date2 field?
> >
> > DateAdd("M",3,[Deadline])
> >
> > or this
> >
> > DateAdd("d",90,[Deadline])
> >
> > I'm trying to put a custom formula in Date2 that adds 90 days to the
> > existing Deadline for the task and calculates a new date.

>
>
>

Reply With Quote
  #4 (permalink)  
Old 07-17-2008, 07:44 PM
JulieS
 
Posts: n/a
Re: DateAdd formual

Hi Dana,

Your formula will return an error if there is no deadline in the
[Deadline] field -- try the following formula in the date field:

IIf([Deadline]=ProjDateValue("NA"),ProjDateValue("NA"),DateAdd(" d",90,[Deadline]))

The formula will return NA if there is no deadline set. If there is a
deadline, the Date2 field will show 90 working days beyond the
deadline date.

If you want to calculate the value for summary tasks, make sure you
select the option "Use formula" for summary and grouping rows.

The format of the date is not an issue.

I hope this helps. Let us know how you get along.

Julie
Project MVP

Visit http://project.mvps.org/ for the FAQs and additional information
about Microsoft Project

"Dana" <Dana@discussions.microsoft.com> wrote in message
news:1B1BEB1D-5C36-41DA-B63D-5CEAB5567483@microsoft.com...
>I see NA.
>
> I think the problem is with the format of the date in the Deadline
> field
> that I'm add to, becasue if I just try to make Date2 = Deadline with
> [Deadline] in the formula, that doesn't work either. It still says
> N/A.
>
> Is there a special data format that's required? I'm using Jul 17
> '08
>
> Thanks
>
> "JulieS" wrote:
>
>> Hi Dana,
>>
>> Can you give more information about *what* you see when you try it.
>> I've just placed your formula in a date field in the Gantt chart
>> view,
>> entry table and it calculated correctly.
>>
>> I hope this helps. Let us know how you get along.
>>
>> Julie
>> Project MVP
>>
>> Visit http://project.mvps.org/ for the FAQs and additional
>> information
>> about Microsoft Project
>>
>> "Dana" <Dana@discussions.microsoft.com> wrote in message
>> news:FC9857DF-C828-4EE5-A58B-FA9EE6CE498E@microsoft.com...
>> > Why doesn't this work as a custome forumla in Date2 field?
>> >
>> > DateAdd("M",3,[Deadline])
>> >
>> > or this
>> >
>> > DateAdd("d",90,[Deadline])
>> >
>> > I'm trying to put a custom formula in Date2 that adds 90 days to
>> > the
>> > existing Deadline for the task and calculates a new date.

>>
>>
>>



Reply With Quote
  #5 (permalink)  
Old 07-18-2008, 05:25 PM
=?Utf-8?B?SnVsaWVT?=
 
Posts: n/a
Re: DateAdd formual

Hi Dana,

It looks like my reply to you from yesterday got lost, so here it is again:

Your formula will return an error if there is no deadline in the
[Deadline] field -- try the following formula in the date field:

IIf([Deadline]=ProjDateValue("NA"),ProjDateValue("NA"),DateAdd(" d",90,[Deadline]))

The formula will return NA if there is no deadline set. If there is a
deadline, the Date2 field will show 90 working days beyond the
deadline date.

If you want to calculate the value for summary tasks, make sure you
select the option "Use formula" for summary and grouping rows.

The format of the date is not an issue.

I hope this helps. Let us know how you get along.

Julie
Project MVP

Visit http://project.mvps.org/ for the FAQs and additional information
about Microsoft Project


"Dana" wrote:

> I see NA.
>
> I think the problem is with the format of the date in the Deadline field
> that I'm add to, becasue if I just try to make Date2 = Deadline with
> [Deadline] in the formula, that doesn't work either. It still says N/A.
>
> Is there a special data format that's required? I'm using Jul 17 '08
>
> Thanks
>
> "JulieS" wrote:
>
> > Hi Dana,
> >
> > Can you give more information about *what* you see when you try it.
> > I've just placed your formula in a date field in the Gantt chart view,
> > entry table and it calculated correctly.
> >
> > I hope this helps. Let us know how you get along.
> >
> > Julie
> > Project MVP
> >
> > Visit http://project.mvps.org/ for the FAQs and additional information
> > about Microsoft Project
> >
> > "Dana" <Dana@discussions.microsoft.com> wrote in message
> > news:FC9857DF-C828-4EE5-A58B-FA9EE6CE498E@microsoft.com...
> > > Why doesn't this work as a custome forumla in Date2 field?
> > >
> > > DateAdd("M",3,[Deadline])
> > >
> > > or this
> > >
> > > DateAdd("d",90,[Deadline])
> > >
> > > I'm trying to put a custom formula in Date2 that adds 90 days to the
> > > existing Deadline for the task and calculates a new date.

> >
> >
> >

Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Project


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:23 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109