In this tutorial, we will take a look at quick simple videos to help you power up your Google Sheets knowledge.
🔥 PRO TIP: You can see all Google Sheet functions here or in a Google Sheet using: =IMPORTHTML("support.google.com/docs/table/25273" , "table" , 1)
Google Sheets Shortcuts #
Shortcuts allow you to work quicker and more efficiently – especially when working on larger datasets.
- Copy: CTRL + C (Command + C on mac)
- Paste: CTRL + V (Command + V on mac)
- Cut: CTRL + X (Command + X on mac)
- Select All: CTRL + A (Command + A on mac)
- Find: CTRL + F (Command + F on mac)
- Find & Replace: CTRL + H (Command + Shift + H on mac)
- Select Entire Column: CTRL + Space (Control + Space on mac)
- Select Entire Row: Shift + Space (Shift + Space on mac)
- Copy Formula Down Column: Select the cell with the completed formula, hover over the small square at the lower right-hand corner of the cell and then click and drag down over the cells you want the formula to be applied to.
Magic Trick #
Fastest Way to Open An Empty Spreadsheets.
Enter
sheets.new
in your Google Chrome Browser🔥 Hit enter!
1 of 30 – CONCATENATE #
Need to merge 2 or more cells together? Use CONCATENATE functionality.
Type
=CONCATENATE
Select the first cell you’d like to merge
Select the second cell you’d like to merge
Hit enter!
Ideal for adding http:// or https:// to a list of URLs or merging domains with subfolders.
2 of 30 – Text to columns #
Need to split a URL into domain, subfolder and slug? This is quick and simple with just a few clicks.
Select all cells in column A
Click data > Split text to columns
Change separator to Custom and set as
/
3 of 30 – UNIQUE #
Need to tidy a list of repeating domains so they are all UNIQUE?
Type
=UNIQUE
Select the cells you’d like to tidy (A2:A18 in the video)
4 of 30 – LEN #
Character limits are a pain! Check your copy length in bulk.
Type
=LEN
Select the cell you’d like to check
Magic! Drag down over the other cells
5 of 30 – Conditional Formatting #
Easily spot when a limit has been reached or what’s yet to be done on a to-do list
Select the column you want to format
Format -> Conditional formatting
Set rules
Select Formatting
6 of 30 – Trim #
Get rid of rogue spaces in your cells by using TRIM functionality.
A common use case is to remove additional spaces at the end of URLs. These spaces often break future formulas such as VLOOKUP.
Type
=TRIM
Select the cell & hit enter
Drag over other rows
7 of 30 – IMPORTRANGE #
Need to grab data from another sheet? You could use copy and paste, , but maybe that data is updated frequently!
Using this formula the data will then automatically update across all linked sheets.
Type
=IMPORTRANGE
Add URL of the sheet to be copied
Add the tab name and cell range
8 of 30 – LEFT, RIGHT, MID #
Extract all the character either side of a specific character.
Type
=LEFT
Select the cell
Nest a FIND formula for the first empty space
Select the cell to look in
-1 to remove the space
9 of 30 – COUNTIF #
Quickly calculate how many keywords are ranking above, below or equal to a certain position / number.
Type
=COUNTIF
Select the cells to be counted
Enter the criteria e.g “<=5”
10 of 30 – SUMIF #
Quickly tally up sessions or conversions in a subfolder.
Type
=SUMIF
Select the range of cells to be checked
Input the subfolder e.g. “*products*” (a little bit of regex here)
Select the cells containing data to be totalled
11 of 30 – PROPER/UPPER/LOWER #
Quickly change the case of all your copy using any of the above.
Type
=PROPER
Select the cell to be adjusted
Drag down the rest of the column!
12 of 30 – IF #
Writing SEO titles or social copy & fed up of having to check if you have broken your character limit?
Type
=IF
Add Logical expression
Add copy for if this TRUE or FALSE
=IF(logical_expression, value_if_true, value_if_false)
In this case, we are looking for the result “TRUE” if our title tags are over 60 characters.
13 of 30 – SUBSTITUTE #
Building page subtitles for loads of different products?
Type
=SUBSTITUTE
Select the cell to be searched (A2)
Add the text to replace (“Jeans”)
Add the text to replace this with (“Shorts”)
14 of 30 – COUNTIFS #
Counting data that needs to satisfy two criteria?
Type
=COUNTIFS
Select the column you want to check (B1:B11)
Input the test that data needs to pass to be counted (<=5)
Repeat steps 2-3 with any other conditions
15 of 30 – SEARCH / ISNUMBER #
Want to check if keywords contain two feature words? Like “Birthday” and “Card”
The SEARCH
function returns the position of a substring within a string.
Combined with ISNUMBER
(which provides TRUE or FALSE depending on whether the cell is a number) we can easily see if cells contain particular keywords.
Type
=AND(ISNUMBER(SEARCH(
Type the feature word wrapped in “”
Select the cell you want to check (A2)
Close off with 2 ))
Add another
ISNUMBER(SEARCH(
and repeat!
16 of 30 – PIVOT TABLES #
Pivot tables are great to quickly summarize and organize data.
In this case, how many keywords a landing page ranks for.
Highlight data
Select Data > Pivot Table
Set rows as Landing Page
Set values as Keyword
Adjust Order & Sort by
17 of 30 – Sumifs #
Sum cells based on multiple criteria. Ideal for totalling traffic based on device and subfolder.
Type
=sumifs
Select values to be totalled
Highlight the Device column & set criteria as “Desktop”
Highlight Landing Page URLs & set as “*products*” (a little bit of regex here)
18 of 30 – IMPORTXML #
Extract all the links (or anything else) on a page into #GoogleSheets!
Type
=IMPORTXML
Insert URL wrapped with “ “
Use the XPath query
“//@href”
19 of 30 -REGEXREPLACE #
Regex, uh oh! 😟
Here’s a quick way using regex to replace a variety of dates.
This is potentially useful if you’re looking to update blog posts that are spread across multiple years.
Type
=REGEXREPLACE
Select the cell to be rewritten
“[0-9]+” – this means we’re matching at least one digit up to infinity times
Add the new year e.g. “2020”
🔥 Much quicker and easier than manually rewriting or using multiple find and replaces.
20 of 30 – REGEXEXTRACT #
Quickly pull categories from URLs using REGEXEXTRACT.
Type
=REGEXREPLACE
Select the cell to be rewritten
“football|golf” –
|
means “or” in regexDrag down
21 of 30 – SPLIT #
Earlier in this series, we used text to columns to break up URLs. SPLIT is an alternative!
Ideal for breaking URLs into subfolders.
Type
=SPLIT
Select the cell to be split
Set the character used to decide where to split e.g. /
22 of 30 – SEARCH #
Combining ISNUMBER and SEARCH can help quickly group keywords.
Type
=ISNUMBER
(SEARCH
(“keyword”The cell you’d like to check
Close off brackets
23 of 30 – VLOOKUP #
This is a formula worth mastering.
Ideal for search for a certain value in a column
Type
=VLOOKUP
-
Select the cell you’d like to find information for
In the example, this is (A2)
-
Select where you’d like to get that information from.
Often this is another tab or sheet. A simple method here is to select all columns.
Input the column where the data you’d like to merge is found.
In the example, this is the 2nd column
This is super powerful and worth exploring. If you’d like to explore this in Excel then check out distilled.net/excel-for-seo/… for a more detailed tutorial.
24 of 30 – IFERROR #
Combine IFERROR with VLOOKUP to tidy all the #N/A values.
=IFERROR
(Complete your
VLOOKUP
(see formula 23!)Close brackets and add ,“No Data”
Close brackets again!
25 of 30 – JOIN #
Ideal for quickly build URLs using JOIN or for piecing together some keyword research.
Type
=JOIN
(“/” or a delimiter of your choice
Select the cells you’d like to merge
26 of 30 – REGEXMATCH #
…
Type
=IF(REGEXMATCH
(Select cell to be checked
“resources” or your own query!
Close brackets and enter copy to be returned if the statement is TRUE.
In this example, we are using the REGEX MATCH formula nested within an IF formula to return the value “Resources Page” if the URL contains the text “resources.”
27 of 30 – REGEXEXTRACT #
Ideal for extract domains quickly and easily
Type
=REGEXEXTRACT
(Select the URL to extract the domain from
Copy and paste this regex:
^(?:.*://)?(?:www\.)?([^:/]*).*$
Make sure the regex is wrapped in “”
28 of 30 – More CONCAT #
Back on 1, we showed you how to use concatenate.
Did you know you can also use it with a combo of text and cells to quickly build titles?
="write something "
(note the space!)&A2
29 of 30 – INDEX / MATCH #
Combined INDEX and MATCH can operate similar to VLOOKUP, but for rows and columns!
This works because the MATCH formula returns the position of value in a given range and INDEX returns a specific value in a specific range.
Formulas:
=INDEX(array, row_num, [column_num])
=MATCH (lookup_value, lookup_array, [match_type]
The example below demonstrates how to pull out the number of conversions on blog pages for January.
=INDEX
(select all your data-
,
MATCH
(month selector, all your data, 0)note zero here means exact match!
-
Repeat for the conversion page.
In the example below this is MATCH(G3,B2:D2, 0)
30 of 30 – QUERY #
QUERY is great for quickly pulling data into a new tab
Ideal for tidying up all your data to be shared with a client.
Type
=QUERY
(Select the sheet containing your data
“SELECT A,B,E”) – choose the columns you want to bring across
Conclusions
Hopefully, you’ve learnt a trick or two along the way
Reference #
- Google – Keyboard shortcuts for Google Sheets: Link
- Google – Google Sheets function list: Link
- @Brainlabs – Tweeter Thread: Link
- Brainlabs – Guide to Google Sheets / Excel for SEOs and Digital Marketers: Link