• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Find 7 newest dates with index match countif and large

brems

Member
Hi all,

It may already be treated on the forum but I didn't find it. Nor did I find an applicable solution for this problem on the internet.

I want to find the 7 most recent dates in a table but each date is listed more then once.
I already succeeded in filtering unique dates but these are the oldest dates in the table and I want to find the 7 newest dates.

Can anybody advise me where I can put my LARGE? :confused:

I added a sample file.
Many thanks for your assistance.

Regards,
Wim
 

Attachments

  • newest dates sample file.xlsx
    10.6 KB · Views: 5
Hi Wim,
Here is one approach:
=LARGE(IF(FREQUENCY(dateslist,dateslist),dateslist), D7)
where D7 points to a cell with values like 7, 6, etc.

Cheers,
Sajan.
 
In cell F7 not just enter but CTRL + SHIFT + ENTER:

Code:
=LARGE($B$4:$B$45*(FREQUENCY(date[Date],date[Date])>0),D7)

and copy down
 
Hi Sajan and shrivallabha,

Thanks a lot for sharing this solution. Works perfect! :)

I learned again...
 
Back
Top