JTL9161
Well-known Member
- Joined
- Aug 29, 2012
- Messages
- 593
- Office Version
- 365
- Platform
- Windows
I have a list of names and numbers that i trying to remove a duplicate but keeping the one with the higher value. The names are coming from another listing so each entry is =UPPER(A166)
There are 2 similar entries for each line but flipped. Example (AAA 10 XXX 9) and (XXX 9 AAA 10). I am looking to eliminate the duplicate and keep the entry with the lower number (if possible) From the listed example
(AAA 10 XXX 9) and (XXX 9 AAA 10) I am loooking to keep the 2nd one (XXX 9 AAA 10) because of the 9 for XXX. After removing the not needed entry I am looking to consolidate the listing down to 5 lines. If both have thes ame numbers (BBB 9 ZZZ 9 & ZZZ 9 BBB 9) I just need 1 of the listing (either one) to stay and not show the other. Hope I explained what I am looking for well enough.
Thank you,
Jamie
AAA | 10 | XXX | 9 |
BBB | 9 | ZZZ | 9 |
XXX | 9 | AAA | 10 |
DDD | 6 | PPP | 7 |
WWW | 5 | YYY | 10 |
PPP | 7 | DDD | 6 |
TTT | 5 | CCC | 9 |
YYY | 10 | WWW | 5 |
ZZZ | 9 | BBB | 9 |
CCC | 9 | TTT | 5 |
There are 2 similar entries for each line but flipped. Example (AAA 10 XXX 9) and (XXX 9 AAA 10). I am looking to eliminate the duplicate and keep the entry with the lower number (if possible) From the listed example
(AAA 10 XXX 9) and (XXX 9 AAA 10) I am loooking to keep the 2nd one (XXX 9 AAA 10) because of the 9 for XXX. After removing the not needed entry I am looking to consolidate the listing down to 5 lines. If both have thes ame numbers (BBB 9 ZZZ 9 & ZZZ 9 BBB 9) I just need 1 of the listing (either one) to stay and not show the other. Hope I explained what I am looking for well enough.
Thank you,
Jamie