title: How many days between two dates are in a certain month?
body: <p>Using Excel formulas, in a cell, I want to calculate how many days that are <code>&gt;= startdate</code> and <code>&lt;= enddate</code> are in a certain month.</p>
  
  <p>Example
  startdate: <code>2014-01-15</code></p>
  
  <p>enddate: <code>2015-04-02</code></p>
  
  <p>month: <code>january</code></p>
  
  <p>formula result: <code>17 january days in 2014 + 31 january days in 2015 = 48</code></p>
  
  <p>Is this possible to do?</p>