SharePoint Calculated Column – Display Calculation or Text Based on Choice Field Selection
Today I had a simple calculated column request in SharePoint. In this case, the customer wanted to add up a cost of two columns ONLY if “Important” was selected from another (choice) field. If this value wasn’t selected from the choice field (e.g. “Not Important” or similar), text needed to be displayed saying “Not Applicable”.
Below is the IF statement created to achieve this (column names adjusted);
=IF([Column A]=”Important”,[Column B]+[Column C],”Not Applicable”)
So the statement is basically adding Column B and C when Column A is set to Important. When its not set to this, Not Applicable is the result.