I attempted to use a mixture of filter/index/xlookup with multiple criteria.
I am given 4 rows of data (Option 1-4) for 3 different groups (A-C). I need to compare the max V1 value for each group for each option, and will need to export the corresponding data row corresponding to the max v1 value.
| V1 | V2 | V3 | V4 | V5 | |
|---|---|---|---|---|---|
| Option 1 | 1 | 1 | 1 | 1 | 1 |
| Option 2 | 50 | 49 | 48 | 47 | 46 |
| Option 3 | 3 | 3 | 3 | 3 | 3 |
| Option 4 | 4 | 4 | 4 | 4 | 4 |
| Option 1 | 8 | 8 | 8 | 8 | 8 |
| Option 2 | 9 | 9 | 9 | 9 | 9 |
| Option 3 | 100 | 99 | 98 | 10 | 10 |
| Option 4 | 11 | 11 | 11 | 11 | 11 |
| Option 1 | 20 | 20 | 20 | 20 | 20 |
| Option 2 | 21 | 21 | 21 | 21 | 21 |
| Option 3 | 22 | 22 | 22 | 22 | 22 |
| Option 4 | 2000 | 23 | 23 | 23 | 23 |
For example: Comparing Option 4 across group A-C The max value of V1 is in option 4 --> 2000 Then returning the row the value belongs to --> 2000 23 23 23 23 23
| V1 | V2 | V3 | V4 | V5 | |
|---|---|---|---|---|---|
| Option 1 | 20 | 20 | 20 | 20 | 20 |
| Option 2 | 50 | 49 | 48 | 47 | 46 |
| Option 3 | 100 | 99 | 98 | 10 | 10 |
| Option 4 | 2000 | 23 | 23 | 23 | 23 |
How do i achieve this?



