title: Max value from list where true
body: <p>i have a sheet that looks similar to this</p>
  
  <pre><code> A       B       C
   2016    5       TRUE
   2015    7       FALSE
   2016    8       TRUE
   2016    3       TRUE
   2015    5       FALSE
  </code></pre>
  
  <p>I need to show the highest value of B and its A where C is TRUE.</p>
  
  <p>So i guess i would need 2 formulas to show this.</p>
  
  <p>I know that i should probably use MAX and IF however, i can't figure out how to put this together.</p>
  
  <p>So in this example the result i want is:</p>
  
  <pre><code>2016
  8
  </code></pre>