Forum Discussion

Re: SharePoint Column Validation

SXT3410 

Note: You have to add this formula in List validation settings and not column validation settings.

Follow below steps:

  1. Go to SharePoint list
  2. Click on Settings icon and select List settings
  3. Select Validation settings
  4. Add formula & user message and click Save

 

ReferenceList validation if then syntax 


Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

6 Replies

  • jobon4e's avatar
    jobon4e
    Copper Contributor

    @ganeshsanap , may I also ask you to support my intent to improve my SP list? I have a drop-down list with 4 options, one of them is "Acceptance". Another column has the following values: "low", "medium", "high". 

    I would like to apply the validation so that if in the 1 column, we have the "low" value, in the 2nd we have automatically populated the "Acceptance" option. In all other cases for "medium" and "high," we should be able to select from the drop-down options, including "Acceptance".

    Do you think that this is possible at all?

    Thank you in advance for your response.

  • jobon4e's avatar
    jobon4e
    Copper Contributor

    ganeshsanap , may I also ask you to support my intent to improve my SP list? I have a drop-down list with 4 options, one of them is "Acceptance". Another column has the following values: "low", "medium", "high". 

    I would like to apply the validation so that if in the 1 column, we have the "low" value, in the 2nd we have automatically populated the "Acceptance" option. In all other cases for "medium" and "high," we should be able to select from the drop-down options, including "Acceptance".

    Do you think that this is possible at all?

    Thank you in advance for your responce.

     

  • Melow28's avatar
    Melow28
    Copper Contributor

    ganeshsanap hello can you also help me, the column is budget needed? Yes/No, if user select yes the  they need to input the budget amount in the column Value.

     

    I tried this formula but I’m having error

     

    =IF(Budget Needed="Yes",IF([Value]<>"",TRUE,FALSE),TRUE)

    • Melow28 Is your "Budget Needed" of  column type "Choice" or "Yes/No" (Boolean)?

       

      Try using formula like: 

       

      =IF([Budget Needed]="Yes",IF(ISBLANK([Value]),FALSE,TRUE),TRUE)

       

      Make sure to use the correct display names of your list columns in formula. Also, check above responses/Notes for more understanding.


      Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

      • Melow28's avatar
        Melow28
        Copper Contributor

        ganeshsanap thanks for the tip, I tried it but I'm having error. What I would like to have is if someone selected Budget Shift is needed "Yes" , then they will be required to input in the Euro Value column the amount , but if they select "No"  in column Budget Shift is needed, then they will not be required to input amount in the Euro Value column