title: Search a value on a table between ranges
body: <p>My goal is to write a formula that would return a value from a table if it fall under 2 specific ranges.</p>
  
  <p><a href="https://i.stack.imgur.com/alNP3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/alNP3.png" alt="enter image description here"></a>
  According to data on column B (X values) and C (Y values), column D (Z values) would be filled if X and Y fall under a range in table from H6 to M8.</p>