Results 1 to 14 of 14

Last N entries thet meet criteria

Threaded View

  1. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Last N entries thet meet criteria

    I came up with a non-array solution (I think) but requires two "dummy columns"
    In G2 dragged down
    =COUNTIF($C$2:$D2,C2)
    In H2 dragged down
    =COUNTIF($C$2:$D2,D2) You can hide these two columns if you like.

    Then with a unique list of teams in J2:J21, In K2;
    =SUMPRODUCT(--($C$2:$D$381=J2),--($G$2:$H$381>(COUNTIF($C$2:$D$381,J2)-5)), $E$2:$F$381)
    See attachment
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

Thread Information

Users Browsing this Thread

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

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