Mar 06 2023 03:16 AM
I am trying to create an calculated column which returns a piece of text based on the number in a different field -
1-4 = Manageable
5-19 = Material
20 - 39 = Severe
40+ = Very Severe
The number is in the Initial Risk Score column and i have come up with the below but am receiving invalid syntax - can anyone help me revise the formula so it works please?
=IF([Initial Risk Score]<=4,"Manageable",IF(AND([Initial Risk Score]>=5, [Initial Risk Score]<=19,"Material",IF(AND([Initial Risk Score]>=20, [Initial Risk Score]<=39,"Severe",IF([Initial Risk Score]>40,"Very Severe"))))
Mar 06 2023 04:16 AM
Solution
Can you try below formula:
=IF(ISBLANK([Initial Risk Score]),"",IF([Initial Risk Score]<5,"Manageable",IF(AND([Initial Risk Score]>=5,[Initial Risk Score]<=19),"Material",IF(AND([Initial Risk Score]>=20,[Initial Risk Score]<=39),"Severe",IF([Initial Risk Score]>=40,"Very Severe","")))))
Hope it will helpful to you and if so then Please mark my response as Best Response & Like to help others in this community
Mar 06 2023 04:58 AM
@robrkhw Based on conditions mentioned in your question, use formula like:
=IF(ISBLANK([Initial Risk Score]),"",IF(AND([Initial Risk Score]>0,[Initial Risk Score]<5),"Manageable",IF(AND([Initial Risk Score]>=5,[Initial Risk Score]<20),"Material",IF(AND([Initial Risk Score]>=20,[Initial Risk Score]<40),"Severe",IF([Initial Risk Score]>=40,"Very Severe","")))))
Note:
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs
Mar 06 2023 04:16 AM
Solution
Can you try below formula:
=IF(ISBLANK([Initial Risk Score]),"",IF([Initial Risk Score]<5,"Manageable",IF(AND([Initial Risk Score]>=5,[Initial Risk Score]<=19),"Material",IF(AND([Initial Risk Score]>=20,[Initial Risk Score]<=39),"Severe",IF([Initial Risk Score]>=40,"Very Severe","")))))
Hope it will helpful to you and if so then Please mark my response as Best Response & Like to help others in this community