In this article:

How to Search in Google Sheets (Easiest Methods in 2024)

May 9, 2024

In this tutorial, we will explain how to search in Google Sheets. We will cover two simple methods and three methods that could be useful in specific cases. The first simple method, using the simple Ctrl+F for Windows systems, is relatively easy to use. The other one, using Ctrl+H, gives you more options in searching in Google Sheets.

Ctrl+F

The keyboard shortcut Ctrl+F that we use in the Windows systems also works in Google Sheets! If you are looking for the simplest method for how to search in Google Sheets, this is it!

Here are the steps in using Ctrl+F:

  1. Press the keyboard shortcut Ctrl+F. A small box for entering search text will appear on the upper-right corner of Google Sheets.
Small search box on the upper-right of Google Sheets. Appears after Ctrl+F.
Small search box on the upper-right of Google Sheets. Appears after Ctrl+F.

  1. Type the string you are looking for inside the text box. Google Sheets automatically highlights the cells containing the string you entered.
Search results. Cells containing the search string highlighted in green.
Search results. Cells containing the search string highlighted in green. 
  1. If there is more than one cell containing the string you are looking for, press Enter until the cell containing what you need is highlighted.
Search result highlighted. Initially not seen on screen.
Search result highlighted. Initially not seen on screen.

Will this work with numbers in Google Sheets? Yes!

Search result with numbers in Google Sheets
Search result with numbers.

Ctrl+H: Find and Replace

Another way to search in Google Sheets is to use the Find and replace feature. This is useful if you are searching for a term because you want to replace it with another string.

Here are the steps:

1. Access the Find and replace feature. Here are two ways of accessing it:

  1. Use the keyboard shortcut Ctrl+H.
  2. Go to Edit, then click Find and replace from the drop down menu.
Edit menu. Find and replace option highlighted from Google Sheets drop down menu
Edit menu. Find and replace option highlighted.

This will load the Find and replace feature:

Find and replace box.
Find and replace box. 

2. Type the string you are looking for in the text box besides Find label. 

Find and replace box. A string was entered in the textbox besides the Find label. Google Sheets will look for this string once you click Find.
Find and replace box. A string was entered in the text box besides the Find label. Google Sheets will look for this string once you click Find. 

3. Specify the range that will be covered by the search.

By default, Google Sheets will search all the sheets in the opened spreadsheet for the specified string. To change it, click the drop-down box beside the Search label. There are three options: All sheetsThis sheet (referring to the active sheet), and Specific range

Search options drop-box for specifying the range covered by the search.
Search options drop-box for specifying the range covered by the search. 

A box for specifying the range covered by the search appears when you select the option Specific range.
A box for specifying the range covered by the search appears when you select the option Specific range. 

There are additional options. We will discuss two of them:

  • By default, the case of the characters of the string is ignored. Ticking the Match case option means the case of the characters must also match.
  • By default, Google Sheets will highlight the cell that contains the string, whether it is the only string inside the cell or not. Ticking the Match entire cell contents box will make Google Sheets highlight the cells that contain only the specified string.


You can use these options to narrow down the search.

4. Once you type a string in the text box beside the Find label (as shown above), the Find button on the bottom of the Find and replace box becomes visible. Click it. 

You can also add a string into the "Replace with" textbox if you want to replace the search term with another string.

One cell containing the string highlighted with a blue box.
One cell containing the string highlighted with a blue box. 

For this case, the individual cells containing the string are highlighted with blue borders. If there is more than one result, clicking the Find button will highlight the next cell containing the string you are searching for. Once you reach the last result, the message No more results, looping around will appear. 

If you want to replace the contents, click the "Replace" or the "Replace all" option. Now Google Sheets will not only find the string, but it will replace it with your specified term.

“No more results found, looping around” message displayed after the Find and replace feature reached the end of the list of results.
“No more results found, looping around” message displayed in Google Sheets after the Find and replace feature reached the end of the list of results.

Google Sheets SEARCH Function

The SEARCH function is helpful if you want to search within formulas. It returns the position at which a string is first found within text. This means that the function returns a numerical value

Syntax+

=SEARCH(search_for, search_range, start_at)

where

search_for=the string or substring that you are looking for; using text strings or cell references will both work; argument is not case-sensitive

search_cell=the cell where you want the function to search for the string

start_at=an optional argument if you 0nly want the function to start searching at a certain character in the search_cell rather than at the beginning of the cell contents

Example

For example, imaging that we want to search in Google Sheets cells for the term "Lido Users". Using the formula =SEARCH("Lido Users", A2), we can search cell A2 for the the start of this string.

Notice that we did not add the optional third argument because we want to search from the beginning of the cell contents. Also, we could use the cell reference B3 to refer to the substring that we are looking for.

You can see the results of our search in the image below. We get 7, the position of the start of our search string in the larger string.

Search within cells Google Sheets

Use Conditional Formatting to highlight matching search queries

Check out our tutorial to highlight cells containing matching search query.

This method is useful because you can match entire cell contents.

Cells containing search item highlighted

Search With Regular Expressions

The REGEXMATCH function is an extremely useful way to test whether cells contain a certain string that returns a TRUE/FALSE value. Check out tutorial about Google Sheets REGEXMATCH.

Determine whether a cell contains any of several specific words

We hope this article has helped you and given you a better understanding of how to search in Google Sheets. You might also like our articles on how to use Google Sheets data visualization and how to line break in Google Sheets.

To optimize your workflow, we recommend reading our article on how to send an automated email from Google Sheets.

Get Google Sheets productivity and automation tips delivered straight to your inbox
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
We'll email you 1-3 times a week — and never share your information.
Get your copy of our free Google Sheets automation guide!
  • 27 pages of Google Sheets tips and tricks to save time
  • Covers pivot tables and other advanced topics
  • 100% free

Work less, automate more!

Use Lido to connect your spreadsheets to email, Slack, calendars, and more to automate data transfers and eliminate manual copying and pasting. View all use cases ->