SharePoint List- Custom column to return text value based on choice selection

Harry N Nomikos 1,311 Reputation points
2023-03-08T03:51:15.0933333+00:00

Hi Team

I'm not sure if this is possible, but I want to create a custom column in a SP list to return a text value of "External Changes" if two choice columns don't have the word "Merchant Services" in them. If both columns have the value of "Merchant Services", then return the value of "Internal MS Change"

The column names are:

-Portfolio

-Originating Business Unit/Domain

I'm thinking an if condition could meet this requirement and I'm hoping someone can provide me with the coding so I can create this custom column

Kind Regards

Harry

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,340 questions
0 comments No comments
{count} votes

Accepted answer
  1. Emily Du-MSFT 46,166 Reputation points Microsoft Vendor
    2023-03-08T07:26:31.1366667+00:00

    Here're steps:

    1.Create a calculated column.

    2.Use following formula in the calculated column.

    =If(AND([Portfolio] = "Merchant Services", [Originating Business Unit/Domain] = "Merchant Services"), "Internal MS Change", "External Changes")

    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.


0 additional answers

Sort by: Most helpful

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.