Is it necessary to do this by formula? My first thought was to use a pivot table. I created a pivot table with Sire name as the row labels, Count of sire name for the values field, and age as the report filter. I click on the Sire name/row labels drop down, select value filters, top 10, where I can choose to return the top 5 count of sire name values. I can filter by age using the age drop down filter.
Something like this
http://www.excel-easy.com/data-analy...ot-tables.html should help if you are unfamiliar with the mechanics of setting up a pivot table.
Bookmarks