enforce unique value in a lookup field in sharepoint lists

Anonymous
2025-06-01T07:53:42+00:00

In Sharepoint Lists, I have a 'client name' field that I would like to enforce unique values. It is a look up column. It looks up a calculated, concatenated field from the client details List. How do I do this?

Microsoft 365 and Office | SharePoint | For business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2025-06-06T06:38:38+00:00

    Hi Emily Allan,
    It has been a while, and I am writing to see how things are going with the issue. Have you had a chance to check the replies provided? Any update would be appreciated.  

    If you think my answer is helpful, please remember to mark it as an answer, which will definitely help others in the community who have similar questions to find solutions to their problems faster.  

    Thank you for your valuable feedback, glad to know that my answer is helpful. 

    I appreciate your kind words. 

    Best regards, 

    Tue - H - MSFT | Microsoft Community Support Specialist

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2025-06-02T07:33:31+00:00

    Hi @Emily Allan

    You can create the calculated column with and concatenate the Internal Item Id and lookup field value to the calculated field it will always generate unique value every time
    eg Client_Name_ItemId, test_1

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2025-06-01T08:53:29+00:00

    Hi Emily Allan

    I am happy to help you with your questions.
    As my understanding, you try to create a lookup column, based on data from columns from client details List. I would suggest creating a calculated column with a unique validation constraint, then create a lookup column based on the calculated column. My approach would be:

    • Creating Calculate Column (SharePoint > List > Add column > See all column types > Next > Calculated)
    • In create calculate column screen, you can set the default formula for column value.
    • Click on the Column Validation, it will expand, and you can set validation formula in there. Follow instruction from Examples of common formulas in lists - Microsoft Support
    • After that create your lookup column, reference to the newly created calculated column.

    From there, whenever new item added in client detail, new item with lookup column will appear. Let me know if there some misunderstand with my approach. I may not solve this within first reply, but I hope I can open new approach and help you come up with a solution.

    Sincerely,
    Tue -H - MSFT | Microsoft Community Support Specialist

    Was this answer helpful?

    0 comments No comments