## Calculate date overlap in days in Excel

If you need to calculate the number of days that overlap in two date ranges, then this tutorials is for you. You can use basic date arithmetic, together with the the MIN and MAX functions. See example below; Formula =MAX(MIN(end1,end2)-MAX(start1,start2)+1,0) Explanation In the example shown, the formula in D6 is: =MAX(MIN(end,C6)-MAX(start,B6)+1,0) How this formula works Excel dates …