Hi I have a list that looks like this:
val1 val2
r1 10 3
r2 5 5
r3 9 7
r4 4 1
r5 2 9
r6 1000 0
I need to get the row in which both values are at their maximum together for example:
val1 val2
r1 10 3 no match both values can be highe
r2 5 5 no match both values can be higher
r3 9 7 MATCH val1 can be higher but it would make val2 lower and viceversa
r4 4 1 no match both values can be higher
r5 2 9 no match val2 is at its highest but val1 can be higher
r6 1000 0 no match val1 is at its highest but val2 can be higher
in this case it would be r3
hope this time it's clear