Forum Discussion
Vlookup - highest value
- Jan 28, 2019
Hi Dennis,
Please try this formula:
=INDEX($C$1:$C$24,MATCH(MAX(IF(F6=$B$1:$B$24,SUBSTITUTE($A$1:$A$24,"-","")+0)),SUBSTITUTE($A$1:$A$24,"-","")+0,0))
Please note that you have to press Ctrl+Shift+Enter each time you enter this formula, and after you open it in the edit mode.
Hope that helps
Regards
Hi Dennis,
Please try this formula:
=INDEX($C$1:$C$24,MATCH(MAX(IF(F6=$B$1:$B$24,SUBSTITUTE($A$1:$A$24,"-","")+0)),SUBSTITUTE($A$1:$A$24,"-","")+0,0))
Please note that you have to press Ctrl+Shift+Enter each time you enter this formula, and after you open it in the edit mode.
Hope that helps
Regards
- datphamictFeb 03, 2021Copper Contributor
Dennis Depoorter i can hlep you hàm vlookup trong excel
- MarcoNardiApr 30, 2021Copper Contributor
Hi, I'm trying to find the highest value in each column and return the corresponding cell values from the header and the last column. Really would appreciate some direction. Best, M
running | jumping | cycling | walking | InjuryType
0 | 3 | 2 | 0 | Broken bones
20 | 1 | 5 | 12 | sprains
20 | 0 | 1 | 5 | falls
12 | 40 | 20 | 40 | dislocations
Output:
Running 20 Sprains
Running 20 Falls
jumping 40 Dislocations
cycling 20 Displocations
walking 40 dislocations