Does anyone know if there is a method or function in excel that will total all the days in April and May separately? I have a large data set and calculate occupancy within a specific date range based on multiple criteria (using sumifs). Now I want to calculate the occupancy by month within that date range which could be 1 month or 1 year. A small example of a data set is below:
<tbody>
</tbody>
Arrive | Depart | Total_Days |
4/2/2016 | 4/24/2016 | 21 |
4/4/2016 | 4/27/2016 | 22 |
4/6/2016 | 4/30/2016 | 23 |
4/8/2016 | 5/3/2016 | 24 |
4/10/2016 | 5/5/2016 | 24 |
3/27/2016 | 4/1/2016 | 4 |
3/29/2016 | 4/3/2016 | 4 |
3/31/2016 | 4/6/2016 | 5 |
4/2/2016 | 4/10/2016 | 7 |
<tbody>
</tbody>