Forum Discussion

maxl041286's avatar
maxl041286
Copper Contributor
Oct 13, 2024
Solved

Find values depending on searched value in chart

Hey, so i'm relatively new to excel.   i have a excel chart looking like this:   10mm 20mm 30mm 40mm 0.1Pa 5 kW 6 kW 7 kW 8 kW 0.2Pa 9 kW 10 kW 11 kW 12 kW 0.3P...
  • OliverScheurich's avatar
    OliverScheurich
    Oct 13, 2024

    maxl041286 

    =INDEX(A8:A31,SUM(MMULT(N(TRANSPOSE(B8:K31=M7)),ROW(1:24))))

    =INDEX(B7:K7,SUM(MMULT(N(B8:K31=M7),ROW(1:10))))

     

    I work with german Excel as well. These formulas work in my sample file if i want to search in range B8:K31. Please remember that the values in the search range must be unique for the formula to work. This means that the formula doesn't work for search value 385 because this value is in cell K9 and in cell H23 and therefore it's not unique.

     

    For search range B8:K26 you can use this:

    =INDEX(A8:A26,SUM(MMULT(N(TRANSPOSE(B8:K26=M7)),ROW(1:19))))

     

    Please enter the formulas as arrayformulas with Ctrl+Shift+Enter if you work with legacy Excel.

     

    In my sample file i didn't use exactly your values because it's too much typing.

     

     

Resources