title: Formula to get the first cell with a numerical value from a selection?
body: <p>In Microsoft Excel 2013:</p>
  
  <p>I have a spreadsheet (exported monthly from another program). My goal is to take the last row of data and subtract it from the first row of data (all values in the spreadsheet are numeric). The number of rows changes each month.</p>
  
  <p>I was able to get the last line of data by using the following to select the last cell in the column with a numerical value in it using : <code>=INDEX(B:B,MATCH(9.99999999999999E+307,B:B))</code></p>
  
  <p>What I need is another equation to get the first cell with a numerical value from the columns, so that I can then write a formula to subtract the last values from the first ones. </p>