rcarmichael
New Member
- Joined
- Aug 10, 2012
- Messages
- 29
- Office Version
- 2016
- Platform
- Windows
Good afternoon all,
I have two named ranges: StartDate and EndDate
I wish to use a COUNTIFS function to count the instances that the following occurs in a separate table (pictured below):
The above result SHOULD be 1, as there are 3 days of crossover (16/11 - 19/11); however I can't find a formula to do this.
Currently, the incorrect formula is :
Any ideas how I can achieve this?
Sincere regards,
Ryan
I have two named ranges: StartDate and EndDate
I wish to use a COUNTIFS function to count the instances that the following occurs in a separate table (pictured below):
- "Source.Name": AU
- "Item": ProductE5
- At least 1 day of the above date range between StartDate and EndDate (inclusive) intersects the date range in the table below "Starts On" and "Ends On" (inclusive).
The above result SHOULD be 1, as there are 3 days of crossover (16/11 - 19/11); however I can't find a formula to do this.
Currently, the incorrect formula is :
Excel Formula:
=COUNTIFS('PRICE - Special History.xlsx'!PRICE___Special_History[Source.Name],"AU",
'PRICE - Special History.xlsx'!PRICE___Special_History[Item],[@Product],
'PRICE - Special History.xlsx'!PRICE___Special_History[Starts On],">="&StartDate,
'PRICE - Special History.xlsx'!PRICE___Special_History[Ends On],"<="&EndDate)
Any ideas how I can achieve this?
Sincere regards,
Ryan