Forum Discussion
Creating a custom column to tag items from two separate tables
Hi Anonymous! What about if Mobile and Email column contains "NULL" where the tag should be No SMS and EMAIL whereas the Mobile and Email column both contains an item and the tag should be With SMS and EMAIL?
Anonymous,
in that case this should work :
Contactability = if(AND(SampleData[Mobile] = "NULL",SampleData[Email] = "NULL"),"NO EMAIL AND SMS", if(AND(SampleData[Email] = "NULL",SampleData[Mobile] <> "NULL"),"SMS Only",if(AND(SampleData[Email] <> "NULL",SampleData[Mobile] = "NULL"),"EMAIL Only","With SMS and EMAIL")))
If I answer your question! Mark my post as a solution!
Thanks,
Jayant
- Anonymous8 years agoNot applicable
Hi Anonymous! it does work but it does not work correctly on all items. Would you know why? I have already treated the data by replacing all the blanks into "NULL" but I still get this.
- Anonymous8 years agoNot applicable
Can you paste your Data here. So that I can use the same and try code again.
- Anonymous8 years agoNot applicable
Hi Anonymous apologies for the late response.
Here you go.
From the table above, I want to tag those that have an email only, sms only, with email and sms and no sms and email.