Forum Discussion
Lee_GC
Mar 08, 2024Copper Contributor
Calculated column returns value based on column drop-down selection MS List
Hello Microsoft List: Column named 'SLA' has drop-down selections: Urgent Important Medium Low I want to return a value in a calculated column based on selection: Urgent - 1 Import...
ganeshsanap
Mar 09, 2024MVP
Lee_GC Use calculated column formula like below for days calculated column:
=IF([SLA]="Urgent",1,IF([SLA]="Important",2,IF([SLA]="Medium",5,IF([SLA]="Low",10,0))))
It defaults to 0 in case if SLA value does not meet the provided options/values. You can adjust it as per your requirements.
Note:
- Sometimes comma( , ) does not work in formula (it is based on language or regional settings on your site). So in that case use semicolon( ; ) instead of comma( , ).
- Use correct display name of your SharePoint columns in above formula.
- Wrap column names inside [] if your column name has space in it. For example: [My Column Name].
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.