SEO & GEO

Google Sheets for SEO: 10 Formulas Every SEO Should Know

By Sébastien SourdetPublished Dec 5, 2026Updated Dec 5, 20265 min read
formule google sheets
Contents
  1. 1. VLOOKUP
  2. 2. CONCATENATE
  3. 3. FLATTEN
  4. 4. COUNTIF
  5. 5. SUM
  6. 6. LOWER
  7. 7. GOOGLETRANSLATE
  8. 8. SPLIT
  9. 9. LEN (and LENB)
  10. 10. REGEXREPLACE
  11. Frequently asked questions
  12. Google Sheets for SEO: make these formulas a habit

Using Google Sheets for SEO is part of the daily routine of most SEO consultants: listing and grouping keywords, organizing content, URLs and meta data, building simple dashboards. The catch is that the right formulas save you hours, and the wrong habits cost you just as many.

Here are the 10 Google Sheets formulas I use most for SEO work, with the syntax, what each one is good for, and an example.

A note on the screenshots: they were taken in a spreadsheet set to a French locale, so function names appear in French (RECHERCHEV is VLOOKUP, NB.SI is COUNTIF, SOMME is SUM, MINUSCULE is LOWER) and arguments are separated by semicolons. In a US-locale sheet, use the English names and commas, as written in the formulas below.

1. VLOOKUP

=VLOOKUP(search_key, range, index, [is_sorted])

VLOOKUP, short for "vertical lookup," is one of the best-known spreadsheet formulas, and usually the first one you learn in SEO. It pulls data from another table based on a value both tables share.

A typical use: matching keywords with their search volume from a keyword tool export. The last argument controls the match type: set it to FALSE (or 0) for an exact match, which is what you want almost every time with keywords.

VLOOKUP example in Google Sheets: matching a keyword with its search volume from a second table
Illustrative example

2. CONCATENATE

CONCATENATE joins the content of several cells. In SEO, it is handy to combine keywords quickly (service + city), build URL paths in bulk, or draft meta data.

=CONCATENATE(A2, B4) joins A2 and B4. To combine A3, A4 and A5 with the same cell B4, write it as $B$4: B4 stays fixed while the A column changes as you drag the formula down.

=CONCATENATE(A2, " my text") adds a fixed text to A2. Note that the formula doesn't add spaces for you: =CONCATENATE(A2, " ", B4) puts one between the two cells.

Watch out for your spreadsheet locale: in some locales, in Google Sheets as in Excel, arguments are separated by semicolons instead of commas.

CONCATENATE example in Google Sheets: joining a service and a city with a space to build a keyword
Illustrative example

3. FLATTEN

There's a reason FLATTEN comes right after CONCATENATE. Once you've combined thousands of keywords, you usually need to paste them into your rank tracker or upload them as a CSV.

That gets tedious when your keywords are spread over several columns. FLATTEN stacks a whole range into one single column, ready to copy and paste.

=FLATTEN(A3:E6) Here the colon defines a range of cells, from A3 to E6.

FLATTEN example in Google Sheets: stacking keywords from two columns into a single column
Illustrative example

4. COUNTIF

COUNTIF counts the cells in a range that meet a condition. It works with numbers and text alike.

It's useful to group pages, manage an upcoming content calendar, or sort keywords by a shared dimension such as page type or product name.

You can also use conditions, for example to count keywords with a CPC above $10 or a search volume above 100 searches a month: =COUNTIF(A1:A10, ">20")

COUNTIF example in Google Sheets: counting the values greater than 20 in a column
Illustrative example

5. SUM

SUM looks like COUNTIF, but instead of counting how many times a value appears, it adds up the values you select. Handy to total the search volume of a keyword group.

=SUM(cell, cell, …) In the example below, the formula adds G9 + G12 + G13. For a continuous range, write =SUM(G9:G13).

SUM example in Google Sheets: adding the values of cells G9, G12 and G13
Illustrative example

6. LOWER

LOWER is simple but very useful: it turns text into lowercase. That comes up often when you import data from several tools and want clean, comparable keywords before deduplicating them.

=LOWER(cell) The opposite function, UPPER, turns lowercase text into capital letters.

LOWER example in Google Sheets: turning an uppercase keyword into lowercase
Illustrative example

7. GOOGLETRANSLATE

GOOGLETRANSLATE brings Google Translate into your sheet. Use it when you have many words to translate, for example a first pass on a keyword list for another market.

=GOOGLETRANSLATE(text, [source_language or "auto"], [target_language]) Languages are written as short codes: "en" for English, "fr" for French, "es" for Spanish. In the example, English words are translated into French.

A machine translation is not keyword research: people in another country don't always search with the translated phrase, so check volumes before you use the results.

GOOGLETRANSLATE example in Google Sheets: English words translated into French in the next column
Illustrative example

8. SPLIT

Data rarely arrives in the format you need. Extra information is often separated by commas, parentheses, hyphens or spaces.

There is a "Split text to columns" option in the Data menu, but SPLIT does the same inside the sheet: it divides text around a character, a word or a space into separate columns, so you can quickly break down a keyword list.

=SPLIT(text, delimiter, [split_by_each], [remove_empty_text])

split_by_each tells the formula whether to split around each character of the delimiter or around the delimiter as a whole. remove_empty_text decides whether empty results are dropped (TRUE, the default) or kept as empty cells between consecutive delimiters (FALSE).

SPLIT example in Google Sheets: splitting a three-word keyword into three columns at each space
Illustrative example

9. LEN (and LENB)

In SEO, you count characters to check the length of a title tag or a meta description (more on that in my guide to the title tag).

=LEN(cell or "text") returns the number of characters. The screenshot uses LENB, which counts bytes instead: it gives the same result on plain English text, but counts accented letters and emoji as more than one, so LEN is the safer choice.

LEN example in Google Sheets: counting the characters of a title in the next column
Illustrative example

10. REGEXREPLACE

Regular expressions are a powerful way to explore data on large websites. If you've never needed regex, you probably haven't yet worked on a site with thousands of URLs.

I use REGEXREPLACE most often to clean or trim URLs: keeping only the path without the domain name, or preparing a redirect map. Find and replace gets the same result by hand, but the formula updates itself.

=REGEXREPLACE(cell, "pattern to replace", "replacement") For example, =REGEXREPLACE(A2, "^https?://[^/]+", "") keeps only the path of any URL.

REGEXREPLACE example in Google Sheets: removing the domain from a URL to keep only the path
Illustrative example

Frequently asked questions

Why use Google Sheets for SEO instead of Excel?

Both work. Google Sheets is free, shared in real time with clients or colleagues, and offers functions like GOOGLETRANSLATE that Excel doesn't have.

Which Google Sheets formula should an SEO learn first?

VLOOKUP. It lets you merge exports from different tools (keywords, volumes, rankings, pages) on a shared column, which is the base of most SEO spreadsheets.

Why does my formula return an error with commas?

Your sheet probably uses a locale where arguments are separated by semicolons. Replace the commas, or change the locale under File > Settings.

Google Sheets for SEO: make these formulas a habit

These are the Google Sheets formulas I use most for SEO. Once they become habits, you'll save time on every task and deliver clearer reports. Start with VLOOKUP and CONCATENATE on your next keyword research spreadsheet, then add the others as you need them.

Sébastien Sourdet, independent SEO consultant for over 5 years, creator of MaloSEO.