Forum Discussion

zahidah_mabd's avatar
zahidah_mabd
Helper I
4 years ago
Solved

Check Title VS Gender

Hello, I would like to check for title x gender invalidation.   I have two columns which has the value as below   Title Gender Mr. Male Encik Male Mrs. Female Miss Female M...
  • Dhacd's avatar
    4 years ago

    Good day zahidah_mabd,
    This can be easily achieved using a switch,
    Switch(true(),
          title in { "Encik", "Mr." } and Gender ="Male", "validmale,

          title in { "Cik" , "Miss" , "Mrs." , "Ms." , "Puan" } and Gender ="Female","validfemale",

           "invalid")

    Proud to be a datanaut,

    Marks as solution if this works for you.

    Thanks and regards,

    Atma.