Expand my Community achievements bar.

SOLVED

Help in Calculated FIeld for Priority set up

Avatar

Level 10

Hi,

Looking for HELP in Calculated Field in project custom form, created a field name "Score", and conditions are;


If Calculated Score =600, Then Priority=Urgent
If Calculated Score <600, but more than 499, Then Priority=High
If Calculated Score <500 but More Than 249, Then Priority=Medium
If Calculated Score <250, Then Priority=Low

 

I tried this one, but not showing priority in the report/project;

IF({DE:Calculated Score}=600, "Urgent", IF({DE:Calculated Score}<600, "High", IF({DE:Calculated Score}<500, IF({DE:Calculated Score}<250,"Low"), "Medium")))
 
Am I missing in between, appreciate your immediate help in this regard.
Best regards,
Kundan.
1 Accepted Solution

Avatar

Correct answer by
Level 7

Try this please and use "Recalculate Expressions" on project or project report: 

IF({DE:Calculated Score}=600,"Urgent",IF({DE:Calculated Score}<250,"Low",IF({DE:Calculated Score}<500,"Medium",IF({DE:Calculated Score}<600,"High"))))

_Manish_Singh_2-1668452720553.png

View solution in original post

3 Replies

Avatar

Correct answer by
Level 7

Try this please and use "Recalculate Expressions" on project or project report: 

IF({DE:Calculated Score}=600,"Urgent",IF({DE:Calculated Score}<250,"Low",IF({DE:Calculated Score}<500,"Medium",IF({DE:Calculated Score}<600,"High"))))

_Manish_Singh_2-1668452720553.png

Avatar

Community Advisor

I think the thing to remember here is that when a multi IF statement finds it's first match, it stops looking at the remaining IFs. You'll notice in this working statement, there is no "else" because it doesn't need one.