Stoplight Charts

D

Dan

I'm trying to create stoplight charts for my management team to see in
project. I worked at a previous job that had use the customize fields to
show the red/yellow/green in a field based upon a formula. However, I'm not
having any luck remembering how this was done.

What I'd like to show is something along these lines.

(If start > then baseline start by 10 days or if finish is > then baseline
finish by 10 days then red) or (If start > then baseline start by 5 days or
if finish is > then baseline finish by 10 days then yellow) else Green

I hope that makes sense. Any help would be appreciated.
 
M

Mike Glen

Hi Dan,

Welcome to this Microsoft Project newsgroup :)

You might like to have a look at my series on Microsoft Project in the
TechTrax ezine, particularly #14 & 15 on customizing fields, at this site:
http://tinyurl.com/2xbhc or this:
http://pubs.logicalexpressions.com/Pub0009/LPMFrame.asp?CMD=ArticleSearch&AUTH=23
(Perhaps you'd care to rate the articles before leaving the site, :)
Thanks.)

FAQs, companion products and other useful Project information can be seen at
this web address: <http://www.mvps.org/project/>

Hope this helps - please let us know how you get on :)

Mike Glen
MS Project MVP
 
D

Dan

IIf([Start]=[Baseline Start] Or [Start]<[Baseline Start] Or
[Finish]=[Baseline Finish] Or [Finish]<[Baseline Finish],"Green") Or
IIf([Start]>[Baseline Start]+5 Or [Finish]>[Baseline Finish+5],"Red")

Is the formula I have come up with, but it doesn't seem to be working. I'm
using a text field to show that. If I take out the red part, it works,
otherwise, it shows -1.

Any thoughts why?
 
M

Mike Glen

Try this, Dan:

IIf([Start]=[Baseline Start] Or [Start]<[Baseline Start] Or
[Finish]=[Baseline Finish] Or [Finish]<[Baseline
Finish],"Green",IIf([Start]>[Baseline Start]+5 Or [Finish]>[Baseline
Finish]+5,"Red"))


Mike Glen
Project MVP


IIf([Start]=[Baseline Start] Or [Start]<[Baseline Start] Or
[Finish]=[Baseline Finish] Or [Finish]<[Baseline Finish],"Green") Or
IIf([Start]>[Baseline Start]+5 Or [Finish]>[Baseline Finish+5],"Red")

Is the formula I have come up with, but it doesn't seem to be
working. I'm using a text field to show that. If I take out the red
part, it works, otherwise, it shows -1.

Any thoughts why?

Mike Glen said:
Hi Dan,

Welcome to this Microsoft Project newsgroup :)

You might like to have a look at my series on Microsoft Project in
the TechTrax ezine, particularly #14 & 15 on customizing fields, at
this site: http://tinyurl.com/2xbhc or this:
http://pubs.logicalexpressions.com/Pub0009/LPMFrame.asp?CMD=ArticleSearch&AUTH=23
(Perhaps you'd care to rate the articles before leaving the site, :)
Thanks.)

FAQs, companion products and other useful Project information can be
seen at this web address: <http://www.mvps.org/project/>

Hope this helps - please let us know how you get on :)

Mike Glen
MS Project MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top