ISMILESTONE
ISMILESTONE(type)
TRUE when a task's Type is a milestone: a start milestone or a finish milestone. A milestone takes no time, so a rule about durations, resources or progress usually leaves milestones out, and a rule about contract dates usually looks only at them. To tell the two apart, compare the Type itself: [Type] = "Start milestone".
Arguments
| Argument | What to give it |
|---|---|
| type | A task's Type: [Type], or the Type column of a set, like Successors[Type]. |
Examples
Formula=ISMILESTONE([Type])
TRUE on every start and finish milestone.
Formula=IF(NOT(ISMILESTONE([Type])) AND INDAYS([Duration]) > 20, "Too long", "")
Flags the activities longer than 20 days, leaving the milestones out.
Formula=COUNT(FILTER(Successors, ISMILESTONE(Successors[Type])))
How many of the task's successors are milestones.
Reach for something else when
| You want | Use |
|---|---|
| Only the start milestones, or only the finish ones | [Type] = "Start milestone", [Type] = "Finish milestone" |
| The tasks with no duration, whatever their type | [Duration] = 0d |
Common questions
What is the difference between a start and a finish milestone?
A start milestone marks the start of something, such as Notice to Proceed: it is dated at the start of the working day its predecessors let it start on. A finish milestone marks something done, such as Substantial Completion: it is dated at the finish of the work before it, on the same day.
Why does [Type] = "Milestone" give an error?
There is no Type called Milestone: a milestone is a Start milestone or a Finish milestone. ISMILESTONE([Type]) is TRUE for either.
