I have a value, let's say 138. I need a way to check what % it corresponds to. In this case 138 is between 135 and 164 so it must return 34%.
If value is less than 75 return 0%. If value is more than 285 return max which is 60%.
Everything is in the same Google Spreadsheet. The table with % is in a different sheet named RENDIMENT. To look for values in that sheet I use =RENDIMENT!X7