Forum Discussion
taylor.easley2015
Jul 17, 2018Copper Contributor
Finding top 5-10 samples checked out within a date range (ability to change the date range)
I am working on a spreadsheet with a “recap” sheet to display the top 5-10 samples that have been checked out. I have been able to use the Large function to setup a top 5-10 successfully. I am now having issues with being able to add the date range that needs to be able to be adjusted. This is a large set of data. The other spreadsheet with the samples only list the date (top row) and the name of the sample (columns). When I have tried to use Large and IF/IFS together, I either get a NUM error or when I adjust the date range the numbers on my recap sheet do not accurately reflect the top 5 within the given date range. Any help is much appreciated!
-Taylor
-Taylor
- JKPieterseSilver ContributorWhat does your data look like?
Have you tried using a pivot table? That has a top n option.- taylor.easley2015Copper Contributor
Hi Jan,
Here is a sample of the data. I have tried a pivot table and did not have any luck. I could be doing it incorrectly though.
-Taylor
- JKPieterseSilver Contributor
I used PowerQuery (Datatab of ribbon, "From table" button) to create the table on the second worksheet (see attached).