A Andy Teal New member Local time Tomorrow, 04:34 Joined May 11, 2023 Messages 28 Jun 12, 2023 #1 Match Last edited: Jun 12, 2023
Gasman Enthusiastic Amateur Local time Today, 23:34 Joined Sep 21, 2011 Messages 17,081 Jun 12, 2023 #2 Is it always just two columns?
C CJ_London Super Moderator Staff member Local time Today, 23:34 Joined Feb 19, 2013 Messages 17,565 Jun 12, 2023 #3 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
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
A Andy Teal New member Local time Tomorrow, 04:34 Joined May 11, 2023 Messages 28 Jun 12, 2023 #4 For now, just two columns will work for me. But if you can make it dynamic, it would be great. Thanks a lot.
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, 23:34 Joined Sep 21, 2011 Messages 17,081 Jun 12, 2023 #5 Andy Teal said: For now, just two columns will work for me. But if you can make it dynamic, it would be great. Thanks a lot. Click to expand... 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.?
Andy Teal said: For now, just two columns will work for me. But if you can make it dynamic, it would be great. Thanks a lot. Click to expand... 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.?