The formula in column D is supposed to put the dates in columns A:B in ascending order, eliminating duplicates (though there are none in this example).
A B C D E 1 Begin End Ordered 2 09/23/2016 10:41:42 09/23/2016 10:43:42 09/23/2016 10:41:42D2: =SMALL($A$2:$B$7, COUNTIF($A$2:$B$7, "<=" & D1) + 1) 3 09/24/2016 08:41:57 09/24/2016 11:41:45 09/23/2016 10:43:42 4 09/24/2016 09:43:25 09/24/2016 15:16:48 09/24/2016 08:41:57 5 09/24/2016 09:48:11 09/24/2016 11:25:32 09/24/2016 08:41:57 6 09/24/2016 09:51:54 09/24/2016 11:24:54 09/24/2016 08:41:57 7 09/24/2016 11:45:00 09/24/2016 12:54:49 09/24/2016 08:41:57
Why does the formula start repeating the same result in D5?
It's the COUNTIF part that's returning the wrong result.
Cross-posted at https://www.mrexcel.com/forum/excel-...ml#post4831646
Bookmarks