VLOOKUP Function in Google Sheets: The Essential Guide

The VLOOKUP function in Google Sheets is a vertical lookup function. You use it to search for an item in a column and return data from that row if a match is found.

In the following example, we use a VLOOKUP formula to search for “Charles Dickens” in column 1. When we find it, the formula returns the value from the 4th column of the lookup table to give a result of $299.

Google Sheets VLOOKUP Function Explained

In this example, the VLOOKUP function is:

=VLOOKUP(B8,A2:D5,4,false)

Let’s break this formula down:

B8 is the search term: “Charles Dickens”

The VLOOKUP looks down the first column of the lookup table: A2:D5

If it finds the search term, it then looks across that row to the column indicated by the Index number: 4

It then returns the value from column 4 as the answer, which is $299 in this example.

The final argument is false, meaning this is an exact match.

VLOOKUP can also handle approximate matching as well as wildcard searches. These more advanced use cases are explored further below.

Continue reading VLOOKUP Function in Google Sheets: The Essential Guide

Google Sheets COUNTIFS Function

The Google Sheets COUNTIFS function is used to count items in ranges with multiple test criteria.

It works like a COUNTIF function, but lets you include more than one conditional test.

Here’s an example with a small real estate example dataset:

Countifs Google Sheets

How can we count the number of deals for apartments and buyers?

To count them, we use a COUNTIFS function:

=COUNTIFS(B2:B11,"Apartment",C2:C11,"Buyer")

There are three rows that are apartments AND buyers, highlighted in yellow.

Continue reading Google Sheets COUNTIFS Function

Google Sheets Query function: The Most Powerful Function in Google Sheets

The Google Sheets Query function is the most powerful and versatile function in Google Sheets.

It allows you to use data commands to manipulate your data in Google Sheets, and it’s incredibly versatile and powerful.

This single function does the job of many other functions and can replicate most of the functionality of pivot tables.

This video is lesson 14 of 30 from my free Google Sheets course: Advanced Formulas 30 Day Challenge

Continue reading Google Sheets Query function: The Most Powerful Function in Google Sheets

Google Sheets COUNTIF Function

The Google Sheets COUNTIF function is used to count items in a range that match a given condition.

For example, consider the following dataset of customer sales:

Countif Google Sheets

This formula counts how many times “John” is found in the range:

=COUNTIF(A2:A11,"John")

This one counts how many times “New York” occurs:

=COUNTIF(B2:B11,"New York")

And this one counts how many sales are over $500:

=COUNTIF(C2:C11,">500")

Continue reading Google Sheets COUNTIF Function

How To Get A Unique List Of Items From A Column With Grouped Words

This post shares my solution to a problem that I faced myself recently.

I needed the unique list of items from a column containing grouped words, separated by commas.

The data was in this format:

Grouped data in Google Sheets

As you can see, it’s a list of my online courses, but many of the rows contain more than one item, separated by commas.

Ultimately, I want to transform the data into this format:

Unique List Of Items

Continue reading How To Get A Unique List Of Items From A Column With Grouped Words