List column logic for conditional text values

lilyvalley-8419 200 Reputation points
2025-02-05T06:16:23.3033333+00:00

I want to create a column in a SharePoint list that returns the text value "External changes" if two choice columns do not contain the phrase "Supplier Services". However, if both columns do have the value "Supplier Services" the column should return "Internal changes".

I'm thinking an if condition could meet this requirement and I'm hoping someone can provide me with the help.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,183 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 50,006 Reputation points Microsoft Vendor
    2025-02-06T03:10:44.43+00:00

    Here're steps:

    1.Create a calculated column.

    2.Use following formula in the calculated column.

    =IF(AND(choicecolumn1="Supplier Services",choicecolumn2="Supplier Services"),"Internal changes",IF(AND(choicecolumn1<>"Supplier Services",choicecolumn2<>"Supplier Services"),"External changes","others"))

    3.Result.

    User's image


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.