Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
LOOKUP Tips and Common Errors1:19 with Tyler Tallon
It’s easy to make mistakes when using a LOOKUP, so let’s discuss several tips to help you avoid some common pitfalls.
Download the LOOKUPS spreadsheet to follow along. Remember, you'll learn best by doing this with me!
It's easy to make mistakes when using a lookup.
So let's discuss several tips to help you avoid some common pitfalls.
First, lookups always find the first match.
So if the first column in your VLOOKUP range, the lookup value column
contains duplicates then they will match the first instance.
In a later video,
I'll show you how to quickly highlight duplicates using conditional formatting.
So in our example, if a county was listed twice in our table array,
it would retrieve the data from the first one.
Also be careful, if you insert or delete any rows, or
columns after you have created a lookup, the row or column
index number won't change automatically when columns are inserted or deleted.
Finally if you get an N/A error,
this means that no match was found which happens sometimes when using exact mode or
false as the fourth command in the formula.
In our example,
this would happen if our first dataset had a county the second data set didn't have.
Also numbers formatted as text can cause an N/A error.
To make sure this doesn't happen make sure the first column of the range in
the lookup value are both the same data type, both numbers or both text.
These are just a few tips that I hope will help you out
as you begin to use the lookup function.
You need to sign up for Treehouse in order to download course files.Sign up