Match (1 Viewer)

Andy Teal

New member
Local time
Today, 10:19
Joined
May 11, 2023
Messages
28
Match
 
Last edited:

Gasman

Enthusiastic Amateur
Local time
Today, 05:19
Joined
Sep 21, 2011
Messages
14,439
Is it always just two columns?
 

CJ_London

Super Moderator
Staff member
Local time
Today, 05:19
Joined
Feb 19, 2013
Messages
16,663
In a macro, use the split function to separate out the elements from both cells then loop through both sets to compare for equality

I won’t bother with the code since the question example is incomplete- what if there is more than one match? Or a partial match e.g. just 05
 

Andy Teal

New member
Local time
Today, 10:19
Joined
May 11, 2023
Messages
28
For now, just two columns will work for me. But if you can make it dynamic, it would be great.
Thanks a lot.
 

Gasman

Enthusiastic Amateur
Local time
Today, 05:19
Joined
Sep 21, 2011
Messages
14,439
For now, just two columns will work for me. But if you can make it dynamic, it would be great.
Thanks a lot.
I am not making anything. That is your job. :)

I was going to suggest the same logic CJ_London has proposed.
If you want more columns you would have to have more loops, as comparing column 1 and 2 might not match and also 1 and 3 not match , but 2 and 3 might match.?
 

Users who are viewing this thread

Top Bottom