Afro_Cookie
Board Regular
- Joined
- Mar 17, 2020
- Messages
- 103
- Office Version
- 365
- Platform
- Windows
Can xlookup perform a cascade search in the event multiple rows show the same data?
I have some data I'm collating and analyzing to see which value is the largest and showing it at the top of the list. However, when there are two values that are the same, it only pulls the first instance, showing a duplicate of the data. I would like it to look at the first column, then if the numbers are the same, look at the second, and cascade down until it finds the unique value and uses that as the search reference for Xlookup.
Xl2BB isn't working right now due to new security, but I am posting the data and the formula used to hopefully help understand my file.
Columns A:D are raw data
Columns F:I are using a count if statement to see how many values are within my specified range for each category (Score 1: <0.300, Score 2: 0.300<0.500, Score 3: >0.500)
Column O is using the =Large() function to find the largest value
Columns L:N use Xlookup based on O:O to return the other values.
Column L is what I want to be unique after Columns L:O are populated.
As you can see in Column L, there are two instances of 'C' where one should be 'F'
I have some data I'm collating and analyzing to see which value is the largest and showing it at the top of the list. However, when there are two values that are the same, it only pulls the first instance, showing a duplicate of the data. I would like it to look at the first column, then if the numbers are the same, look at the second, and cascade down until it finds the unique value and uses that as the search reference for Xlookup.
Xl2BB isn't working right now due to new security, but I am posting the data and the formula used to hopefully help understand my file.
Columns A:D are raw data
Columns F:I are using a count if statement to see how many values are within my specified range for each category (Score 1: <0.300, Score 2: 0.300<0.500, Score 3: >0.500)
Column O is using the =Large() function to find the largest value
Columns L:N use Xlookup based on O:O to return the other values.
Column L is what I want to be unique after Columns L:O are populated.
As you can see in Column L, there are two instances of 'C' where one should be 'F'
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O |
Subject | Score 1 | Score 2 | Score 3 | Subject | Score 1 | Score 2 | Score 3 | Subject | Score 1 | Score 2 | Score 3 | |||
a | 0.609 | 0.841 | 0.629 | a | 16 | 10 | 17 | 1 | e | 10 | 3 | 30 | ||
b | 0.425 | 0.278 | 0.496 | b | 16 | 8 | 18 | 2 | d | 12 | 7 | 24 | ||
c | 0.855 | 0.770 | 0.385 | c | 9 | 11 | 23 | 3 | c | 9 | 11 | 23 | ||
d | 0.849 | 0.798 | 0.002 | d | 12 | 7 | 24 | 4 | c | 9 | 11 | 23 | ||
e | 0.505 | 0.406 | 0.750 | e | 10 | 3 | 30 | 5 | b | 16 | 8 | 18 | ||
f | 0.332 | 0.365 | 0.055 | f | 11 | 9 | 23 | 6 | a | 16 | 10 | 17 | ||
a | 0.591 | 0.775 | 0.462 | |||||||||||
b | 0.049 | 0.415 | 0.629 | |||||||||||
c | 0.294 | 0.661 | 0.771 | |||||||||||
d | 0.443 | 0.504 | 0.828 | |||||||||||
e | 0.611 | 0.322 | 0.394 | |||||||||||
f | 0.899 | 0.687 | 0.302 | |||||||||||
a | 0.226 | 0.919 | 0.649 | |||||||||||
b | 0.269 | 0.220 | 0.755 | |||||||||||
c | 0.606 | 0.824 | 0.515 | |||||||||||
d | 0.032 | 0.250 | 0.506 | |||||||||||
e | 0.263 | 0.538 | 0.176 | |||||||||||
f | 0.290 | 0.899 | 0.947 | |||||||||||
a | 0.151 | 0.812 | 0.398 | |||||||||||
b | 0.978 | 0.973 | 0.114 | |||||||||||
c | 0.441 | 0.469 | 0.537 | |||||||||||
d | 0.734 | 0.000 | 0.367 | |||||||||||
e | 0.630 | 0.942 | 0.819 | |||||||||||
f | 0.593 | 0.167 | 0.971 | |||||||||||
a | 0.852 | 0.680 | 0.414 | |||||||||||
b | 0.225 | 0.242 | 0.482 | |||||||||||
c | 0.717 | 0.896 | 0.414 | |||||||||||
d | 0.644 | 0.449 | 0.068 | |||||||||||
e | 0.963 | 0.684 | 0.803 | |||||||||||
f | 0.751 | 0.387 | 0.243 | |||||||||||
a | 0.059 | 0.861 | 0.581 | |||||||||||
b | 0.407 | 0.164 | 0.374 | |||||||||||
c | 0.365 | 0.305 | 0.449 | |||||||||||
d | 0.757 | 0.965 | 0.942 | |||||||||||
e | 0.981 | 0.833 | 0.218 | |||||||||||
f | 0.262 | 0.402 | 0.983 | |||||||||||
a | 0.163 | 0.633 | 0.894 | |||||||||||
b | 0.035 | 0.613 | 0.327 | |||||||||||
c | 0.410 | 0.528 | 0.289 | |||||||||||
d | 0.110 | 0.625 | 0.945 | |||||||||||
e | 0.844 | 0.040 | 0.556 | |||||||||||
f | 0.653 | 0.380 | 0.985 | |||||||||||
a | 0.013 | 0.661 | 0.720 | |||||||||||
b | 0.763 | 0.286 | 0.853 | |||||||||||
c | 0.025 | 0.009 | 0.328 | |||||||||||
d | 0.928 | 0.083 | 0.105 | |||||||||||
e | 0.057 | 0.425 | 0.196 | |||||||||||
f | 0.597 | 0.726 | 0.281 | |||||||||||
a | 0.348 | 0.379 | 0.847 | |||||||||||
b | 0.293 | 0.200 | 0.517 | |||||||||||
c | 0.940 | 0.799 | 0.212 | |||||||||||
d | 0.518 | 0.833 | 0.943 | |||||||||||
e | 0.614 | 0.430 | 0.726 | |||||||||||
f | 0.148 | 0.015 | 0.906 |