Formula doesn't work as a enterprise field

J

John Simko

I have created the following formula that displays a stoplight indicator
depending on the status of a planned work relative to baselined work.

IIf([Baseline Cost]=0,0,(IIf([Cost]=0,1,IIf([Cost]<=([Baseline
Cost]*1.2),IIf([Cost]<=([Baseline Cost]),1,2),3))))

The formula works fine if I create a custom field in a project, however, if
I make it an enteprise field and display it in a project it doesn't work. I
get #ERROR. Please help me understand why this is happening and if there is
something I can do to fix it.

Thanks,

John
 
D

Dale Howard [MVP]

John --

Have you considered using the Switch function instead of the nested If
statements? Just a thought to simplify the formula.




John Simko said:
Never mind. It works fine once I manually recalculate.

Thanks,

John

John Simko said:
I have created the following formula that displays a stoplight indicator
depending on the status of a planned work relative to baselined work.

IIf([Baseline Cost]=0,0,(IIf([Cost]=0,1,IIf([Cost]<=([Baseline
Cost]*1.2),IIf([Cost]<=([Baseline Cost]),1,2),3))))

The formula works fine if I create a custom field in a project, however,
if
I make it an enteprise field and display it in a project it doesn't work.
I
get #ERROR. Please help me understand why this is happening and if there
is
something I can do to fix it.

Thanks,

John
 

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