How to Set scheduled status lights in the MS project.

Source: Internet
Author: User
Two days ago, it was required to set a plan status light in the MS Project to clearly view the current situation of a plan.

The procedure is as follows:

In the tool, call the enterprise Template

In the tool, set a custom Enterprise Domain

Set the formula for this column

Set this column as the image display mode and define the Image Display rules.



I made a tutorial file and didn't put it up. You can send me an email if you need it.

Status

Display light

Return Value

Pause

Gray light

0

Expire in three days

Bulb

1

Completed in advance

Blue light

2

Completed on time

Green light

3

Extended within 6 days

Yellow light

4

Extended for more than 6 days

Red light

5

 

 

-1

Other Instructions

Projdatediff ([baseline finish], date ()/480 = current date-number of days of the baseline completion date

What is the data obtained by isdate ([actual finish])-1?

If the value of actual finish is Na, The isnull () function check is still 0;

If you do not save the benchmark time, an error occurs. (Note: Baseline finish (baseline time) determined ))

The formula is as follows:

IIF (CSTR ([% work complete]) <> '123 ',

IIF ([baseline finish]> date (), IIF (projdatediff (date (), [baseline finish])/480 <=,-1),-1 ),

IIF ([actual finish] <[baseline finish],

2,

IIF (projdatediff ([baseline finish], [actual finish])/480 = 0,

3,

IIF (projdatediff (date (), [actual finish])/480 <= 6, 4, 5)

)

)

)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.