Forum Discussion

KG1's avatar
KG1
Resolver I
4 years ago
Solved

Nested If / And Statement

Hi   I have had the following formula sent to me in Excel - could you please advise how I would go about replicating this in a column?   I am really not expecting anyone to retype this out for me...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi  KG1 ,

    I created some data:

    Here are the steps you can follow:

    1. Create calculated column.

    Column =
    SWITCH(
        TRUE(), 'Table'[CD1]="TRUE"&&'Table'[P1]="TRUE"&&'Table'[P3]="TRUE"&&'Table'[Q1]="TRUE"&&'Table'[T1]="TRUE"&&'Table'[T3]="TRUE"
        ||
        AND('Table'[AC1]="TRUE",'Table'[AC2]="TRUE")
        ,"Receipting")

    2. Result:

     

    Best Regards,

    Liu Yang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly