Good evening,
Having the following data:
Determine if two given values exist in the same column. In this case, should only be false for the combinations of A and D (order doesn't matter)
I know something like this would work:OR(
AND( ISNUMBER(MATCH("A",Col1,0)) , ISNUMBER(MATCH("B",Col1,0)) ),
AND( ISNUMBER(MATCH("A",Col2,0)) , ISNUMBER(MATCH("B",Col2,0)) ),
...
)
I'm hoping there's a better way of doing this - If not, every time I add another column, I'd have to review this function - bad idea
Tried thinking about the issue in a different way, but couldn't come up with a solution either.
In this case, return true if two given values are shared with the same key:
key |
value |
Col 1 |
A |
Col 1 |
B |
Col 1 |
C |
Col 2 |
B |
Col 2 |
C |
Col 2 |
D |
Thank you for your time
Bookmarks