Hello - I would like to compare the value in one column to see if that value is included in a list of values across multiple columns. The purpose of this to see if the actual value is present in the list of possible values. If it is included, then there should be a confirmation statement (e.g., Included). If it is not included, there should be some guidance statement (e.g. Select new Value).
I have thought about trying to concat the possible values and searching the resulting string, but not sure if there is an easier approach.
Data Setup
Ideal Result
I have thought about trying to concat the possible values and searching the resulting string, but not sure if there is an easier approach.
Data Setup
Actual Value | Name |
2001 | CP10 |
1995 | CP11 |
4300 | CP08 |
Name | Possible Value1 | Possible Value 2 | Possible Value 3 | Possible Value 4 | Possible Value X |
CP10 | 2001 | 2002 | 2300 | ||
CP11 | 1997 | 2001 | |||
CP08 | 1000 | 1500 | 2000 | 4300 | 9999 |
Ideal Result
Name | Result |
CP10 | Included |
CP11 | Select new Value |
CP08 | Included |