sharepoint online : calculated column

Mustapha Ait Bencheikh 41 Reputation points
2021-04-21T13:49:33.197+00:00

I try to create a calculated column on SharePoint list but in everytime : error syntaxe ...
this is an explanation about my probleme if some one can help me :
89966-probleme.png

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft 365 and Office | SharePoint Server | Development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Allen Xu_MSFT 13,891 Reputation points
    2021-04-22T04:07:16.42+00:00

    Hi @Mustapha Ait Bencheikh ,

    I used the formula below and worked perfectly in my end:

    =IF([Statut P.O]="Pending P.O","Pending P.O",IF([Statut P.O]="Reject P.O","Reject P.O",IF([Statut HR]="Approve HR","Approved",IF([Statut HR]="Reject HR","Rejected","pending HR"))))  
    

    Test process:
    90215-test.gif
    90216-image.png


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.