I have a table with a list of tank names, with multiple occurrences for each. Each occurrence corresponds to a range where a slope and offset constant is valid.
The challenge is to find the occurence of say 51TK101A from the list under "Tankname" where the |
input level, say 6000, falls within the corresponding "Minimum" and "Maximum" bracket, |
and then return the corresponding "Slope" and "Offset" values from the table. |