两列:开始日期和结束日期
某些行包含重复的日期(单个日期和一个范围内已经存在的日期。
例如
ROW 1 = 17th January 2011 to 17th January 2011
ROW 2 = 16th January 2011 to 21st January 2011
ROW 3 = 24th January 2011 to 24th January 2011
ROW 4 = 24th January 2011 to 24th January 2011
我需要计算该范围内的天数,但忽略任何重复的日期。因此,在上面的示例中,我需要忽略ROW 1,因为它是ROW 2范围内的日期-我还需要忽略ROW 4,因为它是ROW 3的副本。
任何帮助将不胜感激!