Cwillson
New Member
- Joined
- Oct 1, 2015
- Messages
- 36
- Office Version
- 2019
- Platform
- Windows
Urgh, my brain is starting to hurt on this one!! Need some help from the amazing hive mind please!
I have a table which contains pairs of records, identified using fuzzy logic. Each row contains a potential match, which needs to be manually reviewed.
Each Record has a reference, and the process has matched all records against all records, therefore some rows are repeated but reversed, i.e. Record A ref appears first then Record B, and the same records appear on another row with Record B reference first and Record A second. N.B. There are numerous other columns in my table, which are what need to be manually reviewed once I've whittled the list down to remove reverse duplicates.
I'm trying to find a way to highlight the first pair, irrespective of which direction it's in, so that I can filter out any reverse pairs. I was trying to do this by creating a concatenated GUID for each row A-to-B, and then searching for the reverse B-to-A using a countif statement. This clearly doesn't work though, as both the original and the reverse records will be highlighted.
Perhaps it's something to do with identifying the minimum row number for each pair and it's reverse? As part of the manual review, rows may be filtered and sorted, so row number probably wont work as this will change.
Here's an example of my data...
I have a table which contains pairs of records, identified using fuzzy logic. Each row contains a potential match, which needs to be manually reviewed.
Each Record has a reference, and the process has matched all records against all records, therefore some rows are repeated but reversed, i.e. Record A ref appears first then Record B, and the same records appear on another row with Record B reference first and Record A second. N.B. There are numerous other columns in my table, which are what need to be manually reviewed once I've whittled the list down to remove reverse duplicates.
I'm trying to find a way to highlight the first pair, irrespective of which direction it's in, so that I can filter out any reverse pairs. I was trying to do this by creating a concatenated GUID for each row A-to-B, and then searching for the reverse B-to-A using a countif statement. This clearly doesn't work though, as both the original and the reverse records will be highlighted.
Perhaps it's something to do with identifying the minimum row number for each pair and it's reverse? As part of the manual review, rows may be filtered and sorted, so row number probably wont work as this will change.
Here's an example of my data...
Book2.xlsx | ||||||
---|---|---|---|---|---|---|
B | C | D | E | |||
1 | Record A | Record B | A-to-B Concat | B-to-A Concat | ||
2 | abc | def | abc|def | def|abc | ||
3 | def | abc | def|abc | abc|def | ||
4 | abc | fgh | abc|fgh | fgh|abc | ||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D2:D4 | D2 | =CONCAT(B2,"|",C2) |
E2:E4 | E2 | =CONCAT(C2,"|",B2) |