title: Averageifs multiple column and rows for a table
body: <p>I am looking to do create a dynamic Averageifs with a table. Here is the sample data:</p>
  
  <p>Sample Table:</p>
  
  <p><img src="https://i.stack.imgur.com/90QOq.png" alt="Sample Table"></p>
  
  <p>Can anyone help me out on how to make the "A" and "B" dynamic? When I insert the cell number (D7,D8) it doesn't work. Can anyone help me out? I would really be thankful for it.</p>