EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Certification Courses
  • 120+ Courses All in One Bundle
  • Login

Excel Search Box

By Madhuri ThakurMadhuri Thakur

Home » Excel » Blog » Excel Tips » Excel Search Box

Search Box Example

Excel Search Box (Table of Contents)

  • Search Box in Excel
  • How to Create Search Box in Excel
  • Explanation of Search Box in Excel
  • Example of Search Box in Excel Usage

Search Box in Excel

Search Box in Excel is a customized function used to search anything in a worksheet, and we can even highlight the search results. To create a search box in Excel, go to Conditional Formatting, which is under the Home menu ribbon, and from the drop-down menu, the list creates a new rule to use a formula for formatting a cell from there. In the rule box, use the SEARCH function in such a way that if we put anything we want to search in the Find Text option, it will highlight those value cells with the selected color within the selected text range.

Start Your Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

How to Create Search Box in Excel

Creating a Search Box in Excel is very easy and convenient when it comes to searching for rows or filtering data with a specific criterion. By using Conditional Formatting and Formulas, we can easily create a Search Box in Excel.

Let’s understand how to create your own Search Box in Excel.

You can download this Search Box Excel Template here – Search Box Excel Template

Usage of Search Box in Excel

Consider that you have the data of a company that deals in the sale and purchase of used vehicles. The amount of data can be enormous, and it can be difficult to search for a particular car model name from the entire data. A search box can prove to be a useful tool in such a case and help you highlight the values you might be looking for.

To begin with, let’s consider data as shown in the screenshot below:

Search Box Example 1-1

  1. In Excel, Go to the cell in which you wish to create the search box. In this case, we have selected G1 as the search box cell. You can highlight the selected cell in order to distinguish it from other cells easily.
  2. Now select the entire data range from where you want the data or the value to be searched. The selected range in our case is A2: D27 (as shown in the image below)

Search Box Example 1-2

  1. Once you have selected the entire data range, go to Conditional Formatting, select New Rule.

Search Box Example 1-3

  1. On the next window, click on the option that says, Use a formula to determine which cells to format.

Search Box Example 1-4

After this, enter the following formula in the text box just below it.

=SEARCH($G$1,$A2&$B2&$C2&$D2)

  1. After writing the above formula in the space provided, click on the Format button just below it to select the color in which the searched (and matched) values will be highlighted.

This can be done by selecting the Fill button on the next window and selecting the color.

Popular Course in this category
Sale
Excel Training (21 Courses, 9+ Projects)21 Online Courses | 9 Hands-on Projects | 110+ Hours | Verifiable Certificate of Completion | Lifetime Access
4.9 (11,444 ratings)
Course Price

View Course

Related Courses
Excel Data Analysis Training (16 Courses, 8+ Projects)Excel for Finance Training (18 Courses, 7+ Projects)

Search Box Example 1-5

  1. After this, click on OK, and you will see that all the fields in your sheet are now highlighted with the color that you selected. A screenshot of the same is also given below.

Search Box Example 1-6

  1. Now you can search for the desired keyword, and you will see that all the rows with the word you have searched for are now highlighted with the selected color.

For example, let’s try searching for the item named Scooter. You’ll see that all the rows with the word scooter have been highlighted.

Highlighted Rows

This simplifies the process of looking for any value. For example, now, after the fields for Scooter have been highlighted, we can simply apply a filter on the color and refine our search results even further. Now let us try to understand the meaning of the parameters that we used in the Search formula and how it worked for us in Excel.

Explanation of Search Box in Excel

Let us now try to understand what each parameter within the formula of Search means in Excel. Consider the formula that we used.

=SEARCH($G$1, $A2&$B2&$C2&$D2)

Let’s have a look at each parameter individually.

1. $G$1

=SEARCH($G$1, $A2&$B2&$C2&$D2)

This parameter defines the location where we wish to apply the search rule. We can either type in the cell number or simply click on the cell where we want the search box after we have written =SEARCH in the conditional formatting rule window.

2. $A2&

=SEARCH($G$9,$A2&$B2&$C2&$D2)

This parameter, ‘A’, specifies the column from which data is to be searched, and ‘2’ specifies the initial position. So, ‘A2’ means that we wish to search for the data in column ‘A’ starting from the 2nd row. Adding $ sign before ‘A’ ensures that the search location remains fixed even if we change the location of the search box.

Affixing the ‘&’ sign after ‘A2’ means that we wish to add more locations from where data is to be searched. We can then specify all the search locations in the same manner as we specified for ‘A2’.

This can be seen in the formula:

=SEARCH($G$9,$A2&$B2&$C2&$D2)

Example of Search Box in Excel Usage

By now, we have been able to develop a clear understanding of how to implement a Search Box in Excel. Now let us see some examples where we can use a search box and get refined results. Consider the previous example where we had searched for the word ‘Scooter’ in our Excel sheet, and all the fields having the word ‘Scooter’ were highlighted. Now, what will we do if we wish to see the brand names of the Scooters that were sold in the year 2008?

Well, the answer to this question is quite simple. We can simply apply a filer now in the Year of Sale field. Let us have a look at the screenshot attached below.

Year of Sale field

We get the following result once we apply the filter and click OK. There are 2 brands whose scooter were sold in the year 2008, as shown below.

Brand Names

This is how a Search Box in Excel can help us in simplifying the search process.

We can even use filters to perform a search as we did above, but then we would need to apply multiple filters in order to look for multiple things. Moreover, the example that we saw here had limited data. There may be cases when the amount of data present in a sheet is huge. A Search Box can help us in all such situation as it creates a search criterion for the entire sheet.

Things to Remember

  • Make sure that you enter the formula correctly in the conditional formatting window.
  • Use the $ sign as shown in the formula above to ensure that there is no deviation.
  • The & sign is used to add more columns in the formula. Make sure that you do not put the & sign at the end of the formula.
  • We can use a filter to solve the purpose of a Search Box in Excel, but we may need to apply filters to several columns in order to solve that purpose.
  • Though both Search Box and Filters are used to fetch outputs based on various conditions, we should not use them interchangeably as both solve unique purposes and in different manners. A Search Box in Excel can be used to enhance the function of a filter.

Recommended Articles

This has been a guide to Search Box in Excel. Here we discuss How to Create Search Box in excel and Usage of Search Box in Excel, along with practical examples and downloadable excel template. You can also go through our other suggested articles –

  1. SEARCH Formula in Excel
  2. Excel SEARCH Function
  3. Search For Text in Excel
  4. Name Box in Excel

All in One Excel VBA Bundle (120+ Courses, 30+ Projects)

120+ Online Courses

30+ Projects

500+ Hours

Verifiable Certificates

Lifetime Access

Learn More

0 Shares
Share
Tweet
Share
Primary Sidebar
Excel Functions
  • Excel Tips
    • Recover Document in Excel
    • Excel Shortcut to Select Row
    • Excel Header Row
    • Excel Insert Button
    • Excel Translate
    • Budget in Excel
    • KPI Dashboard in Excel
    • Blank Invoice Excel Template
    • Write Formula in Excel
    • Auditing Tools in Excel
    • Autofit Row Height in Excel
    • Formatting Text in Excel
    • Add Rows in Excel Shortcut
    • Divide Cell in Excel
    • Compare Two Columns in Excel for Matches
    • Excel Troubleshooting
    • Unprotect Excel Workbook
    • Subtract Date in Excel
    • Carriage Return in Excel
    • Negative Numbers in Excel
    • Worksheets in Excel
    • Excel Match Multiple Criteria
    • Exponential Moving Average Formula
    • Sentence Case in Excel
    • Excel Reverse Order
    • Excel Timesheet Template
    • Weighted Average in Excel
    • CTRL Shift-Enter in Excel
    • Excel Expense Tracker
    • INDEX MATCH Function in Excel
    • Percent Change in Excel
    • Drag and Drop in Excel
    • Shade Alternate Rows in Excel
    • Excel Database Template
    • Inverse Matrix in Excel
    • New Line in Excel Cell
    • Format Cells in Excel
    • Excel Text with Formula
    • Project Management Template in Excel
    • Vlookup vs Index Match
    • Embedded in Excel
    • Count Colored Cells in Excel
    • Excel Hacks
    • Column Header in Excel
    • Database Function in Excel
    • Excel Spell Check
    • Linear Interpolation in Excel
    • Convert Excel to CSV
    • Excel Not Responding
    • Delta Symbol in Excel
    • Excel Mortgage Calculator
    • Excel Show Formula
    • Break Links in Excel
    • VLOOKUP Examples in Excel
    • Alternate Row Color Excel
    • Checklist in Excel
    • Microsoft Office Tips
    • Excel vs Access
    • Excel Change Case
    • Count Characters in Excel
    • Formula Bar in Excel
    • Invoice Template in Excel
    • Find and Replace in Excel
    • PowerPivot in Excel
    • Wildcard in Excel
    • Line Break in Excel
    • NULL in Excel
    • Text Formula in Excel
    • Family Tree in Excel
    • Insert Calendar in Excel
    • Page Setup in Excel
    • Search For Text in Excel
    • Switching Columns in Excel
    • 3D Cell Reference in Excel
    • Roadmap Template in Excel
    • Cell References in Excel
    • Excel Automation
    • Matching Columns in Excel
    • Evaluate Formula in Excel
    • How to Find Mean in Excel
    • How to Add Cells in Excel
    • Project Timeline in Excel
    • TODAY Formula in Excel
    • Poisson Distribution in Excel
    • YEAR Formula in Excel
    • REPLACE Formula in Excel
    • Create Spreadsheet in Excel
    • SEARCH Formula in Excel
    • HYPERLINK Formula in Excel
    • Pivot Table with Multiple Sheets
    • COLUMNS Formula in Excel
    • DAY Formula in Excel
    • RIGHT Formula in Excel
    • INDIRECT Formula in Excel
    • Excel IRR Formula
    • Pivot Table Sort
    • OR Formula in Excel
    • Pivot Table Formula in Excel
    • How to Edit Drop Down List in Excel?
    • WEEKDAY Formula in Excel
    • Chart Wizard in Excel
    • Time Difference in Excel
    • Lookup Table in Excel
    • SUBTOTAL Formula in Excel
    • LOOKUP Formula in Excel
    • Themes in Excel
    • Group Worksheets in Excel
    • Excel ISNUMBER Formula
    • 3D Maps in Excel
    • VLOOKUP Tutorial in Excel
    • Moving Columns in Excel
    • Grouping Columns in Excel
    • Excel Formula of Percentage
    • Excel Leading Zeros
    • Timesheet in Excel
    • Nested IF Formula in Excel
    • SUMIF Formula in Excel
    • Concatenation in Excel
    • Excel Insert Page Break
    • LEN Formula in Excel
    • Insert Comment in Excel
    • Excel Print
    • Fractions in Excel
    • Excel Add a Column
    • Borders in Excel
    • Excel Sum by Color
    • Excel vs Google Sheets
    • Calculate Percentage Increase in Excel
    • Excel Format Phone Numbers
    • Excel Search Box
    • Excel vs CSV
    • Excel vs Numbers
    • Excel Concatenate Date
    • Excel Bullet Points
    • Calculate Compound Interest in Excel
    • Find External Links in Excel
    • Excel Comma Style
    • Excel Remove Leading Spaces
    • Combine First and Last Name in Excel
    • How to Calculate Ratio in Excel
    • SUMPRODUCT Function with Multiple Criteria
    • Create Excel Template
    • Excel Greater than or Equal
    • Excel Keyboard Shortcuts
    • Excel Row vs Excel Column
    • Excel Operators
    • Excel Text Compare
    • Excel Uppercase Function
    • Excel Auto Numbering
    • Watermark in Excel
    • Excel Delete Row Shortcut
    • Excel Word Count
    • Row Count in Excel
    • Excel Grade Formula
    • Excel Percentage Difference
    • Excel Rows and Columns
    • Excel Group
    • Excel Move Columns
    • Excel Row Height
    • Excel Sparklines
    • Excel Drawing a line
    • Multiple IFS in Excel
    • Excel Strikethrough
    • Numbering in Excel
    • Share Excel Workbook
    • Excel Shortcut For Merge Cells
    • Excel OneDrive
    • Excel Track changes
    • Excel Hide Formula
    • Excel Filter Shortcuts
    • Excel 3D Reference
    • Protect Excel Workbook
    • Excel Moving Averages
    • Excel Row Limit
    • Excel Absolute Value
    • Excel Print Area
    • Excel Format Painter
    • Excel Separate text
    • Excel Autofit
    • Excel Columns to Rows
    • Excel Paste Shortcut Option
    • Excel Rows to Columns
    • Excel Insert Row Shortcut
    • Excel Extensions
    • Excel Unmerge Cells
    • Divide in Excel Formula
    • Excel Compare Two Columns
    • Not Equal To Excel
    • Excel Remove Duplicates
    • Excel Remove Spaces
    • Excel Calculate Age
    • Copy Excel Sheet
    • Excel Conditional Formatting Based on Another Cell Value
    • Excel Cell Reference
    • Excel Split Cell
    • Excel Circular Reference
    • Highlight Every Other Row in Excel
    • Errors in Excel
    • Excel Delete Pivot Table
    • Excel Pivot Table
    • Subtraction in Excel
    • Count Unique Values in Excel
    • Excel Highlight Duplicates
    • Excel Data Formatting
    • Random Numbers in Excel
    • Basic Excel Formulas
    • Page Numbers in Excel
    • Excel CAGR Formula
    • Excel Combine cells
    • IFERROR with VLOOKUP in Excel
    • Column Sort in Excel
    • Print Comments in Excel
    • Cheat Sheet of Excel Formulas
    • Remove Hyperlinks in Excel
    • Excel Drop Down List
    • Remove (Delete) Blank Rows in Excel
    • Relative Reference in Excel
    • Subscript in Excel
    • Superscript in Excel
    • Excel Insert Multiple Rows
    • Excel Absolute Reference
    • Unhide Columns in Excel
  • Excel Functions (12+)
  • Excel Tools (114+)
  • Financial Functions in Excel (17+)
  • Logical Functions in Excel (14+)
  • Lookup Reference Functions in Excel (34+)
  • Maths Function in Excel (47+)
  • TEXT and String Functions in Excel (26+)
  • Date and Time Function in Excel (23+)
  • Statistical Functions in Excel (59+)
  • Information Functions in Excel (4+)
  • Excel Charts (56+)
  • Workplace Productivity (4+)
  • Microsoft Office Tools (15+)
  • Excel Formula and Functions (21+)
  • MS Excel Shortcuts (4+)
Excel Functions Courses
  • EXCEL COURSE
  • Online Excel Data Analysis Course
  • Excel for Finance Course
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Excel Charts
  • Excel Tips
  • All Tutorials
Certification Courses
  • All Courses
  • Excel VBA Course - All in One Bundle
  • VBA Course
  • Excel Data Analysis Course
  • Excel for Marketing Course
  • Excel for Finance Course
  • Excel for HR Training

© 2022 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA

Download Search Box Excel Template

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

डाउनलोड Search Box Excel Template

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more

Special Offer - EXCEL COURSE Learn More