Forum Discussion

Dennis Depoorter's avatar
Dennis Depoorter
Brass Contributor
Jan 28, 2019
Solved

Vlookup - highest value

High all,   I have a table with 3 columns:   A text based column with a unique code, a product name column and a column with amounts. The thing is that I have to search into this table on produc...
  • Haytham Amairah's avatar
    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 https://support.office.com/en-us/article/Guidelines-and-examples-of-array-formulas-7D94A64E-3FF3-4686-9372-ECFD5CAA57C7 each time you enter this formula, and after you open it in the edit mode.

     

    Hope that helps

    Regards

Resources