Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created a demo spreadsheet to help explain.

(This is a small set of example data, the real set has more values [and the data may or may not be there from week to week])

I will have a static list of dimension values (in the example it is Source/Medium values) in the Report sheet. I want to compare the performance of a metric from week to week (Pageviews per Visit in the example)

Wanting to automate the getting of the appropriate values from Sheet1 and populate the Report sheet's corresponding empty cells with them

For example, cell B2 of the Report sheet would contain the value 6.05, and so on

share|improve this question
Please do not use URL shorteners here. – Al E. Oct 3 '15 at 17:18
up vote 1 down vote accepted

Not sure there is a way to display a matching value base on two criteria - wouldn't be the first time I was wrong though.

In the meantime, you could create three queries and query each week individually, then you could do a vlookup to get the data into your table. I created a Google Spreadsheet. You should be able to edit this, etc.

If you want to do more automation, for example, have the report run every Monday morning and have it sent to your email, you can use my blog post and scroll down to the Using Triggers and Classes to Automate your Google Analytics Spreadsheet Delivery section.

Best of luck!

share|improve this answer
Thanks, I ended up using vlookup and doing more queries as suggested :) – Drewdavid Sep 19 '13 at 16:30
Please do not use URL shorteners here. – Al E. Oct 3 '15 at 17:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.