SOLVED
If Contains
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Johmz
8 - Asteroid
‎05-01-2024
06:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
I need help for formula or syntax on how to identify if the column2 is equal to column1 or if column1 contains of what information that i have in column2.
see example
Professional | Personal | Status |
Attorney John Doe | John Doe | Same Person |
Engineer Jane Doe | Janine Doe | Different Person |
Doctor Mark Dave | Mark Dave | Same Person |
Solved! Go to Solution.
Labels:
- Labels:
- Designer Cloud
- Developer
- Developer Tools
5 REPLIES 5
usmanbashir
11 - Bolide
‎05-01-2024
06:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Johmz - Below, to be used in Formula tool, will be able to output your [Status] Field.
IF Contains([Professional], [Personal]) THEN 'Same Person'
ELSE 'Different Person'
ENDIF
cjaneczko
13 - Pulsar
‎05-01-2024
06:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You can use the following.
if REGEX_Replace([Professional], '\b\w+\s([A-Z][a-z]+ [A-Z][a-z]+)\b', '$1')=[Personal] then 'Same Person' Else 'Different Person' endif
‎05-01-2024
06:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I'm not get the correct result.
‎05-01-2024
06:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Do i need to change the Data Type?
‎05-01-2024
07:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
i got it now and do some changes. thanks for your help.
