Results 1 to 9 of 9

COUNTIF Anomaly

Threaded View

  1. #1
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    COUNTIF Anomaly

    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:42
    D2: =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
    Last edited by shg; 05-23-2017 at 08:21 PM.
    Entia non sunt multiplicanda sine necessitate

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Formula anomaly
    By Mulpuzzle in forum Excel Formulas & Functions
    Replies: 30
    Last Post: 07-29-2016, 12:14 AM
  2. [SOLVED] round up/down anomaly?
    By thesurfer in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-22-2015, 04:28 PM
  3. IF function anomaly
    By BBS in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-07-2007, 11:51 AM
  4. DATEDIF anomaly?
    By cruisy in forum Excel General
    Replies: 5
    Last Post: 05-25-2007, 12:10 AM
  5. [SOLVED] Printing Anomaly
    By Otto Moehrbach in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-26-2005, 11:05 AM
  6. Formatting Anomaly
    By Christopher Weaver in forum Excel General
    Replies: 2
    Last Post: 05-13-2005, 06:06 PM
  7. [SOLVED] VLOOKUP Anomaly
    By Tosca in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-08-2005, 05:08 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1