Forum Discussion
SharePoint List - Calculated formula
- Apr 13, 2023
leecoogan Try using this formula:
=IF([PESTLE]="Political","High",IF(OR([PESTLE]="Economic",[PESTLE]="Sociological",[PESTLE]="Technological"),"Medium",IF(OR([PESTLE]="Legal",[PESTLE]="Enviromental"),"Low","")))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
leecoogan the logic of the formula is wrong; you are using AND so you are currently basically saying in the formula "IF Pestle equals Economic AND Pestle equals Sociological AND Pestle equals Technological AND Pestle equals Legal which I assume it never can" Assuming the PESTLE column will only have 1 value you can simplify the formula to the following:
=IF(PESTLE="Political", "High", IF(OR(PESTLE="Economic", PESTLE="Sociological", PESTLE="Technological"), "Medium", "Low"))
Rob
Los Gallardos
Intranet, SharePoint and Power Platform Manager (and classic 1967 Morris Traveller driver)