This website or its third-party tools use cookies which are necessary to its functioning and required to improve your experience. By clicking the consent button, you agree to allow the site to use, collect and/or store cookies.
The platform this site runs on doesn't have the option to turn off cookies server side, but you can do that in your browser and then return to the site.
I accept
Deny cookies Go Back

Annielytics.com

I make data sexy

  • About
  • Resources
  • Services
  • Blog
  • Contact
  • Log In

Jun 20 2014

VLOOKUP Tips And Tricks For Marketers [VIDEO]

Excel lookups for marketers

The VLOOKUP function in Excel is one of the most essential functions marketers need to master. It’s a staple in my tool set because it allows you to join any number of data sets, as long as they have one column in common. Sadly, as is the case with most really useful Excel techniques, it can be quite intimidating for newbies. I hope to remove some of that intimidation with this video.

Syntax

The syntax for the VLOOKUP function is:
VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

Video Overview

In this tutorial I take a custom landing page report from Google Analytics (which you can access here) and marry it to a data set I got from a Screaming Frog crawl. I cover these techniques:

  • Concatenating hostname and landing pages to match the format of URLs in Screaming Frog exports
  • Alternating between absolute and relative references for formulas
  • Building flat table custom reports in Google Analytics (learn more with this post)
  • Working with named ranges in Excel
  • Concatenating on the fly inside a VLOOKUP
  • Making VLOOKUPs dynamic
  • Error handling for VLOOKUPs

Video

Excel Download

You can download the Excel file here.

Couple More For The Road

Partial Matches

One more cool technique you can jam with VLOOKUPs (but didn’t work with my data set) is to use wildcard characters to look for partial matches in text. (Learn more about wildcard characters from the Microsoft site.) This transforms the matching functionality to a makeshift CONTAINS function. (I’ve requested that the Excel teams at Microsoft add a CONTAINS function.

Trims

Some marketing data exports can be pretty messy, but if they contain things like extra spaces before or after your lookup text or table array, your VLOOKUPs will break. If this happens to you, you can wrap either your lookup_value or table_array in a TRIM function to remove all extraneous spaces.

Your Turn

Do you have some wild and crazy things like you do with VLOOKUPs? If so, please share with the rest of the class in the comments!

Written by Annie · Categorized: Excel · Tagged: Excel, Excel Formulas

Comments

  1. Myron Rosmarin says

    June 30, 2014 at 10:06 PM

    For the longest time, I knew VLOOKUP was something I needed to understand but the compelling use case never really came along until your blog post. Now I don’t understand how I’ve lived without it. I had that same reaction with pivot tables. It didn’t hurt that your example had a tab for a Screaming Frog crawl alongside Google Analytics usage data. That’s when the light bulbs started going on. THANK YOU THANK YOU!

    Reply
    • Annie Cushing says

      June 30, 2014 at 11:48 PM

      This made my day. No … week. This is why I do what I do … 🙂

      Reply
      • Myron Rosmarin says

        July 1, 2014 at 12:19 PM

        🙂 Rock on Annie!

        Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

CAN I HELP YOU FIND SOMETHING?

‘MAKING DATA SEXY’ IS LIVE ?

Want to learn how to create compelling, aesthetically pleasing charts in Excel? Learn how with Making Data Sexy.

Note: Also offered for Mac

STUFF I BLOG ABOUT

LEARN HOW TO USE ALL THE TOOLS

marketing strategy guide

DIY marketing strategy guide. This guide provides step-by-step instructions on how to perform 66 unique marketing tasks using 15 reputable marketing tools (both free and paid). Steal it for $295! Learn more.

LEARN TO DO A SITE AUDIT

site audit template

DIY site audit template. 20 sections, 215 checkpoints, 100+ explainer graphics, 218 pages, step-by-step instructions. Steal it for $295! Learn more.

LEARN TO DO AN ANALYTICS AUDIT

analytics audit template

DIY analytics audit template. 8 sections, 61 checkpoints, 100+ explainer graphics, 205 pages, step-by-step instructions. Steal it for $295! Learn more.

TO THIS DATA I DO THEE WED

dashboard course

Learn to build dynamic dashboards in Excel with Google Analytics data. 16 hours of video, 3 sample dashboards, 142-page workbook, practice Excel file, and more! Learn more.

FOLLOW ME ON TWITTER

SUBSCRIBE TO MY YOUTUBE CHANNEL

Privacy Policy
  • Email
  • LinkedIn
  • Twitter
  • YouTube

© 2023 annielytics.com