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.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s