Hello kind people,
I have a dataset that includes location, name and date. I am trying produce a top 5 report of people at each location.
The locations are fixed but the people (and dates of course) will vary from month to month.
In effect I am trying to produce a single table in which I can select the month and it will show the top 5 people at each location, for that month - something like the attached, but with the names auto-generated based on the top 5 for that location.
I've been messing around with rank and index and can generate a list based on the number of times a name occurs but cannot get date and location to factor in.
I could create a pivot table for each site, but there are a lot of sites, so I'd rather have a formula that I can drag over.
Is there a way to do this in Excel? I can do it with SQL easily, but excel has me stumped and SQL isn't really an option here!
My thanks in advance for anyone taking the time to look at this
I have a dataset that includes location, name and date. I am trying produce a top 5 report of people at each location.
The locations are fixed but the people (and dates of course) will vary from month to month.
In effect I am trying to produce a single table in which I can select the month and it will show the top 5 people at each location, for that month - something like the attached, but with the names auto-generated based on the top 5 for that location.
I've been messing around with rank and index and can generate a list based on the number of times a name occurs but cannot get date and location to factor in.
I could create a pivot table for each site, but there are a lot of sites, so I'd rather have a formula that I can drag over.
Is there a way to do this in Excel? I can do it with SQL easily, but excel has me stumped and SQL isn't really an option here!
My thanks in advance for anyone taking the time to look at this