# I need help to calculate the overall Priority by using IF condition.

Options
✭✭
edited 09/07/22

Hi,

I need to fill the Overall Priority column.

I use IF statements to get the result, but not sure what's missing. Please help me with Formula.

I have got the Priority columns data by forms, need to summerize of all priority columns in one column(Yellow Highlighted).

for intance,

Test Project should show "Low"(1)

Test Project1 should show "High"(3)

Test Project2 should show "Medium"(2)

Tags:

• ✭✭✭✭✭✭
Options

What would be the outcome for each of the variations? What logic are you wanting to use?

• ✭✭
edited 09/07/22
Options

Hi Paul,

It would be great if we can use IF condition and outcome would be numbers(High -3, Medium-2, Low-1) as given in question.

• ✭✭✭✭✭✭
Options

I understand that, but we need the actual logic. Not just the outcome. Why exactly is Test Project "Low" but the next one is "High" and the one after is "Medium"? How exactly are you determining the outcome?

• ✭✭
edited 09/09/22
Options

Please check the formula. I'm getting error

=IF(COUNTIF([Impact]@row:[Impact_15]@row, "High") > COUNTIF([Impact]@row:[Impact_15]@row, "Medium","Low"), 3, IF(COUNTIF([Impact]@row:[Impact_15]@row, "Medium") > COUNTIF([Impact]@row:[Impact_15]@row, "Low","High"), 2, IF(COUNTIF([Impact]@row:[Impact_15]@row, "Low") > COUNTIF([Impact]@row:[Impact_15]@row, "High","Medium"), 1)))

I feel it's incomplete, not sure what's missing.

Thanks

• ✭✭✭✭✭✭
Options

What is the intended logic?

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!