• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Lookup, from multiple occurences, the data corresponding to the bracket within a lookup value falls.

vanhunk

New Member
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.
60319
 
Only a pleasure Peter.

Please find the file for the problem attached.

Regards
vanhunk
 

Attachments

  • Forum File.xlsx
    11.5 KB · Views: 1
Somewhat similar to

60326

= LOOKUP( 2, 1/selected, Data[Slope] )
= LOOKUP( 2, 1/selected, Data[Offset] )


60324
 

Attachments

  • Tank Output.xlsx
    19.6 KB · Views: 8
Last edited:
Back
Top