0% found this document useful (0 votes)
53 views

How to Create a Search Box in Excel (4 Easy Methods)

Uploaded by

afoeze1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views

How to Create a Search Box in Excel (4 Easy Methods)

Uploaded by

afoeze1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 41

11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)


Home » Excel Formulas » How to Create a Search Box in Excel (4 Easy Methods)

How to Create a Search Box in Excel (4 Easy


Methods)
Written by
Last updated: Jul 3, 2024
Souptik Roy

We have a dataset regarding the Bill Status of a Corporation. This dataset consists of four columns:
Customer ID, Customer Name, Bill, and Status. We have 10 rows of data in the worksheet. We will
create a search box to go through the dataset.

Ad : (0:04)

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 1/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

Method 1 – Use Conditional Formatting to Create a Search Box in Excel

Steps:

Make a cell where you want to search for any data. We have selected the H2 cell.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 2/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 3/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

Select the range B5:E14.

Go to the Home tab on the toolbar and select Conditional Formatting.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 4/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

Under Conditional Formatting, click on the New Rule option.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 5/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

You’ll get a New Formatting Rule window. Select the option Use a formula to determine which
cells to format.
You’ll get a Formula Bar.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 6/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

Enter the formula given below in the box.

=SEARCH($H$2,$B5&$C5&$D5&$E5)

Go to Format.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 7/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

Select a color to see the searched result in the dataset from the Fill tab. We have selected a
yellow color.
Press the OK button.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 8/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

You’ll get the preview of the formatting. Press OK.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 9/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

The whole dataset will be highlighted since the search box is empty.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 10/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

In cell H2, enter any text, and you will find the resulting row highlighted in yellow.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 11/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

Method 2 – Use the FILTER Function to Create a Search Box in Excel

Steps:

We’ll use the same dataset.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 12/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

Select a cell to make a search box. We’ll use cell C16. Add borders and some surrounding
formatting if you want.
Make a result box from B18 to E19. This will display the resulting rows.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 13/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

In cell B19, enter the formula given below:

=FILTER(B5:E14,C5:C14=C16, “NO MATCH FOUND”)

In this formula, B5:E14 is the range of values to be filtered, C5:C14=C16 is the criteria to be matched,
and “NO MATCH FOUND” is the value to be returned when no entries meet the criteria.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 14/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

Enter a name into the search box. You will see the whole result.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 15/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

Read More: How to Create a Filtering Search Box for Your Excel Data

Method 3 – Create a Search Box Using the ISNUMBER Function

Steps:

Select the H2 cell to make a search box and format it a bit (see image).

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 16/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

From the ribbon, select the Home tab.


Go to Conditional Formatting and select New Rule.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 17/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

Select the option Use a formula to determine which cells to format.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 18/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

In the formula bar, insert the formula given below:

=ISNUMBER(SEARCH($H$2,B5))

Cick on the Format button.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 19/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

From the Fill tab, select any color. We have selected a blue color.
Press OK.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 20/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

You can preview the selected color. Press OK.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 21/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

You will see the whole dataset with the same blue color after formatting.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 22/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

Search for a value in the search box. You will find the result filled with blue color.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 23/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

Method 4 – Apply the IFERROR Function to Create a Search Box in Excel

Steps:

We’ll use a different dataset ranging from B4 to D14.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 24/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

We moved our dataset from B4-D14 to F5-H14.


Select cell C4 to make a search box.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 25/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

In E6, enter the formula given below:

=IFERROR(SEARCH($C$4,F6)+ROW()/100000,"")

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 26/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

$C$4 is the text which is going to be searched.

F6 is the cell number to perform the search.

After searching, the function returns a value. This value is added to the ROW number, and then
divided by 100000.

The IFERROR function returns the exact value if there is no error.

“” is the argument meaning the IFERROR function will return nothing if there is no error.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 27/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

Use the Fill Handle to paste the formula from E6 to E15.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 28/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

In D6, enter the formula given below:

=IFERROR(RANK(E6,$E$6:$E$15,1),"")

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 29/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

E6 is a value for which we will find the rank.

$E$6:$E$15 is a range of cells to be ranked.

1 is a number to specify the order. Here, 1 is for ascending order.

The IFERROR function will work just like explained earlier.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 30/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

Use the Fill Handle copy the formula from D6 to D15.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 31/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

Input numbers from B6 to B15 into D6 to D15.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 32/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

In the C6 cell, input the formula given below:

=IFERROR(VLOOKUP(B6,$D$6:$F15,3,FALSE),"")

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 33/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

B6 is the cell that you want to look up.

$D$6:$F15 is the range of cells you want to look for.

3 is the column number in the range to return the containing value.

FALSE indicates to return a match.

Then the IFERROR function will work just like explained earlier.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 34/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

Use the Fill Handle to input the formula to the whole column.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 35/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

Input data into the search box. You can see the result below.
You can apply additional formatting or hide the helper columns.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 36/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

Things to Remember
https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 37/41
11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

You need to use Excel 365 for the FILTER function.


The VLOOKUP Function only looks up from right to left.

Download the Practice Workbook

 Search Box in Excel.xlsx

Related Articles
Create a Search Box in Excel with VBA
How to Create a Search Box in Excel Without VBA
How to Create a Search Box in Excel for Multiple Sheets

<< Go Back to Data Management in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!

   
1
 Save Facebook Twitter

TAGS: Search Box in Excel

Souptik Roy

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 38/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)


Souptik Roy, a BSc graduate in Naval Architecture and Marine Engineering from Bangladesh University of
Engineering and Technology, dedicated 1.5 years to the ExcelDemy project. During this time, he authored 50+
articles and reviewed 20+ for ExcelDemy. Presently, he is a designer and content developer at
YouHaveGotThisMath and Brainor, sister concerns of ExcelDemy. His educational content spans science,
mathematics, and grammar. Roy's interests include developing creative ideas, visualizing concepts with tools
like Adobe Illustrator, and problem-solving within Microsoft... Read Full Bio

We will be happy to hear your thoughts

LEAVE A REPLY

 Name  E-mail  Website

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 39/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

Submit

Posts from: Search Box in Excel

How to Create a Search Box in Excel Without VBA


(2 Easy Ways)

Create a Search Box in Excel with VBA (5 Suitable


Examples)

How to Create a Filtering Search Box for Your Excel


Data (5 Methods)

Recent Posts How to Create Search Box in Excel with Conditional


Formatting (5 Ways)

When to Use Array Formulas vs. Dynamic Arrays in Excel How to Create a Search Box in Excel for Multiple
Summarizing Excel Sheets with AI Using GPT Excel Sheets (2 Methods)

Custom Number Formatting with Complex Display Rules in


Excel

Creating a Content Generation Tool in Excel with GPT-3

Advanced Data Cleaning: Power Query vs. Google Sheets’


REGEX

10 Free Excel Templates

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 40/41


11/18/24, 4:21 PM How to Create a Search Box in Excel (4 Easy Methods)

About ExcelDemy.com ExcelDemy Connect With Us!


Consulting
ExcelDemy is a place where you can learn Services
Excel, and get solutions to your Excel & Excel
VBA-related problems, Data Analysis with User Reviews
Excel, etc. We provide tips, how to guide, List of Services
provide online training, and also provide Service Pricing  Join ExcelDemy Forum
Excel solutions to your business problems.

Submit Excel
See Our Reviews at Task
Contact | Privacy Policy | TOS

ExcelDemy
Online Training

Create Basic Excel


Pivot Tables
Excel Formulas and
Functions
Excel Charts and
SmartArt Graphics
Advanced Excel
Training
Data Analysis Excel
for Beginners

ExcelDemy is a Guiding Tech Media company. Copyright © 2013-2024 ExcelDemy | All Rights Reserved.

https://www.exceldemy.com/create-a-search-box-in-excel/#:~:text=Steps: 1. Make a cell where you want to search 41/41

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy