Top 5 rows by month

Naz

I have a set of Google Anlaytics data in a spreadsheet that lists all the pages viewed over a period of time by month. So it looks like;

Month | Page Title | Page Views | Visitors | Bounce Rate  
Dec       Page1         250         199          20  
Dec       Page2         240         189          10  
Nov       Page1         260         192          30  
Nov       Page2         250         190          10

On a Summary page I have a drop down to select the month for which I want data, there are several bits of data that work of this.

For this particular set of data "Top 5 Popular Pages by Month" I want to select the Month and then return the top 5 pages for that month.

I realise this can be done with a pivot table that has month as filter and a bit of VBA but I so far i have avoided VBA for this spreadsheet and would like to find a way to do it without code, I am happy to use intermediate/helper columns/tables it doesn't have to be a megaformula.

Brian

oops I left out the final grab of the page name and didn't metion it's an array function! Thank you HackSlash.

{=INDEX(B:B,MATCH("dec"&LARGE(IF(A:A="dec",C:C),1),A:A&C:C,0),1)}

THIS IS AN ARRAY FUNCTION. You must press cntrl shift enter to make Excel put the brackets around the outside of it to work.

This returns the value of column B where the value of column C is greatest where column A contains "dec". Change the 1 to 2 for second, to 3 for third, etc...

You can use a cell reference instead of "dec" if you want.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to select top 5 after 20 rows

From Dev

How to select top 5 after 20 rows

From Dev

AngularJs Table with showing top 5 and bottom 5 rows?

From Dev

Creating 5 reports from top 5 rows of filtered table

From Dev

Get top 5 rows per row in related table

From Dev

A Top Bar with 2 navigation rows - Zurb Foundation 5

From Dev

Select TOP row in SQL and get 5 rows of end table

From Dev

Selecting the top 5 rows from a joined table, into the result of a larger query?

From Dev

LINQ grouping and ordering of top 5 rows into ViewModel List

From Dev

Excel VBA: Filter and copy from top 5 rows/cells

From Dev

How to select top (5) rows with specified Id and latest date?

From Dev

Count Top 5 Elements spread over rows and columns

From Dev

Selecting the top 5 rows from a joined table, into the result of a larger query?

From Dev

in R output shows top and bottom 5 rows of data

From Dev

Python - Finding the top 5 rows containing a word in a dataframe

From Dev

MySQL: Select top 5 rows based on ID and find Subtotal

From Dev

Using SQL how can I write a query to find the top 5 per category per month?

From Dev

Summing rows by month in R

From Dev

Adding rows to top of TableLayoutPanel

From Dev

Selecting Top N rows

From Dev

displaying the top 3 rows

From Dev

SELECT TOP 10 rows

From Dev

html5: three-rows flexbox with fixed top/bottom and scrollable middle

From Dev

Find the number of week rows in a month

From Dev

Return rows for next month, MYSQL

From Dev

Select TOP 5 only returning one row when called through code, where same script returns 5 rows in SQL Server

From Dev

postgresql count the top 3 rows

From Dev

Query on top N rows in mongodb

From Dev

Top 3 rows per country

Related Related

HotTag

Archive