title: EXCEL: get criteria from a sumif formula
body: <p>I've been trying to find a way to get the criteria from a sumif formula that looks like this </p>
  
  <pre><code>=SUMIFS(N:N,G:G,"1670",H:H,"2016")
  </code></pre>
  
  <p>Every sumif has been hardcoded.... so I'm wanting to just pull out criteria1 in a cell (1670) and criteria2 (2016) in a cell. Either an excel solution or vba is fine</p>