Hi,
I have a file containing several date ranges, where column A is the "start date" and column B is the "end date". I'm having trouble creating a formula in column C that will count how many time a specified day-of-month (DOM) (i.e. 15th) occurs between those two dates. The DOM can be a cell reference or hard coded into the formula. This is probably nothing complicated, but...
The the start and end dates can be any date and will not necessarily be on the DOM being counted. However, the start date should not be counted if it falls on the DOM, but the end date should be counted (e.g. counting the 15th in the date range 3/15/2013 thru 5/15/2013, should result in 2).
Thanks.
I have a file containing several date ranges, where column A is the "start date" and column B is the "end date". I'm having trouble creating a formula in column C that will count how many time a specified day-of-month (DOM) (i.e. 15th) occurs between those two dates. The DOM can be a cell reference or hard coded into the formula. This is probably nothing complicated, but...
The the start and end dates can be any date and will not necessarily be on the DOM being counted. However, the start date should not be counted if it falls on the DOM, but the end date should be counted (e.g. counting the 15th in the date range 3/15/2013 thru 5/15/2013, should result in 2).
Thanks.