IF Statement help within formula in Structure

ryanzawada August 28, 2019

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
Mario O.G
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 21, 2020

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]

Alexander Bondarev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 10, 2022

Thanks, @Mario O.G !

It helped me!

Like Dave Rosenlund _Trundl_ likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events