Woody's Project Watch
Woody's PROJECT Watch
Tim Pyron and friends help you discover Microsoft Project.. .
. 7 August
2003 Vol
4 No. 9
Produce colorful presentation-ready reports
from Project with Milestones Project Companion.
Choose from a variety of presentation-ready formats including Earned
Value, Resource, Summary, Milestone and Gantt. Easily build project web sites
with "drill-down" for easy management access to project details. Share reports
via e-mail with the Free Milestones Viewer.
55Ads make Woody's Watch possible, please
support our sponsors4Ask for Ad info click here5
- Scheduling resources who have alternate work shifts
- Calculating the time span between custom dates
- Custom bar styles for milestones
5Ads make Woody's Watch possible, please
support our sponsors4Ask for Ad info click here5
Scheduling Resources Who Work Alternate Shifts |
|
Q: I have an employee who changes his
work shift every 6 weeks, alternating between a regular day shift
and an evening shift. I tried changing his calendar to evening
working times when he starts working evenings, but that also changed the schedule
when he's supposed to be working the day shift. Is there an
easy way to get an accurate schedule in this case? - Dave T.
A: Well, "easy" is a relative term.
The only way to handle this schedule accurately is to go through your
employee's
resource calendar and change the working times to evening hours for those dates when he's
on the evening shift. It's a little tedious getting it set up, but as
long as he stays on the schedule and you don't have to constantly modify
his calendar to accommodate unanticipated changes then it should be
worth the effort.
|
55Ads make Woody's Watch possible, please
support our sponsors4Ask for Ad info click here5
Calculating the Time-Span Between Two Dates In Custom Date
Fields |
|
Q:We record several "milestones" for
the project phases (summary tasks) in our projects. For example, we record the date
the phase was proposed to the client and the date it was approved. We put these
dates in custom date fields, but I'm having trouble calculating the number of
working days that lapse between the two dates (how long it took to get
approval). How do you do that? Jon
P.
A:This is easy to do starting with
Project 2000. You just use a custom Duration field to calculate the
difference between two dates. There is a special function that does this
(the ProjDateDiff function) and it also looks at the calendar to
determine how many days between the two dates are working days. By
default it uses the project calendar (the one you have defined for the
project in the Project Information dialog box); but you can instruct it
to use
a different calendar to determine the working days if you want.
Assume you have placed the earlier date in the Date1 field
and the later date in the Date2 field. Follow these steps to set up the
calculation in the Duration1 field::
-
Insert the Duration1 field in the table where you enter
the custom dates.
-
Right-click on the field title and choose Customize
Fields. The Customize Fields dialog box will open with the Duration1
field selected for editing.
-
Click the Formula button to open the formula editing
dialog box.
-
Enter the following formula:
ProjDateDiff ( [date1], [date2] )
Note that the earlier date is listed first, then the later date.
-
Click OK to close the editing box.
-
To enable summary tasks to use the formula, go to the
section labeled Calculation for Task and Group Summary Rows and select
Use Formula.
-
Click OK to close the dialog box.
If you want to use another calendar for calculating
working days instead of the project calendar, add the name of that
calendar at the end of the formula in quotes. For example, if the
calendar you want to use is named My Calendar the formula would
look like this:
ProjDateDiff ( [date1], [date2], "My Calendar" )
This will work fine for tasks that have dates entered in
the custom date fields used in the formula. But, if a task has NA in
either of the fields then the Duration1 field will display #ERROR
for that task. That looks a little messy, and if it really bothers you
then you might use a custom Text field instead and have it display a
blank if either date is NA. However, that's a messy formula and
explaining it is beyond the scope of today's issue of Project Watch.
I'll show that in our next issue.
|
Displaying Important Milestones That Are Not Part of the Projectt |
| This article is based on an idea submitted by Ross
Petherick, one of our New Zealand readers. Thanks, Ross.
Suppose that there are important organizational events that don't affect
your schedule directly but that you want to display in the Gantt Chart for
reference purposes. You can enter these events as milestones that are not
linked to any specific tasks in your project - you would type in the Start
date and set the Duration to zero to make them milestones.
After creating the special milestones you need to flag
them if you want to apply a different bar style to them in the Gantt Chart.
There are several fields that you can use to flag tasks for special
formatting:
- The Marked field is the most useful flag field for formatting because
you can define special formatting for text in tables, for bar styles in
the Gantt Chart, for text and bar styles in the Calendar view, and for box
styles in the Network Diagram (a.k.a. the PERT Chart in Project 98).
- You can also use any of the 20 custom Flag fields to flag tasks for
special bar styles to be used in the Gantt Chart.
To flag the special tasks, insert the Marked field in a table and change
the value to Yes for those tasks that are to be formatted differently. (You
could also insert one of the Flag fields if all you want to change is the
format style of the symbol in the Gantt Chart.)
To define a custom format for table text for these tasks in the Gantt
Chart follow these steps:
- With the Gantt Chart active, choose Format, Text Styles to display the
Text Styles dialog box (see Fig. A).
- Select Marked Tasks in the Item to Change box.
- Select the Font features that you want to use for Marked tasks text
and click OK.
Figure A

To define a custom bar style for the Gantt Chart follow these steps:
- Choose Format, Bar Styles (or right-click over the Gantt Chart area
and choose Bar Styles) to display the Bar Styles dialog box
(see Figure B).
- Scroll to the bottom of the list of styles and enter a name for this
style in the Name column (like "Special Milestone" in Figure B).
- Select the cell for this row in the Show For ... Tasks column. Then
click the list box arrow on the right to display the list of valid entries
for this box. Click on Milestone; then type a comma; then click on
Marked. This stipulates that the task must be a milestone and also must
have Yes in the Marked field.
- Select Start in the From column. Then select Start again in the To
column.
Note: the From column and
the To column must have Start or both have Finish or else the custom
milestone symbol will not appear in the Gantt Chart.
- Select a symbol Shape and Color in the Start area at the bottom of the
dialog box.
- Click OK to activate the new bar style.
Figure B

Now, any task that is a milestone and also has Yes in its Marked field
will show your custom symbol and text in the Gantt Chart.
|
|