Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,366,270
Community Members
 
Community Events
168
Community Groups

IF Statement help within formula in Structure

Hi Community I need some help with an IF statement,

I have created a new structure and would like to create a new formula with an IF statement in another column. This is the situation:

-I have created a column with a formula that makes a basic calculation from variables in the structure that displays a number within the column (0 or above)

-With this new column with the IF formula, I would like for it to take the number from the column described above, and I need it to display a certain word based on the range of that number calculated.

EXAMPLE: A number from 1-35 would result in "Low" appearing, 36-95 "Medium", 96-128 "High" and 129-160 "Critical"

 

Can anyone please help me out with this? Thank you!

1 answer

1 accepted

1 vote
Answer accepted

Hi Ryanzawada

If I understood your use-case correctly, I think the following formula will help to address the scenario:

If(
storypoints < 35 and storypoints > 1; "Low";
storypoints < 95 and storypoints > 36; "Medium";
storypoints < 128 and storypoints > 96; "High";
storypoints < 160 and storypoints > 126; "Critical";
"empty")

Note that here I'm using Story Points as the variable, but you can replace it with the variable that makes sense to your use-case.

It is also important to say that any number that is not in the range of the defined values will have "empty" assigned to it.

Let me know if that helps.

(Thank you for using Structure).

Mario O.G

[ALM Works]

Thanks, @Mario O.G !

It helped me!

Like Dave Rosenlund _Tempo_ likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events