07 Points Guided You How to Find And Replace in Excel_1

07 Points Guided You How to Find And Replace in Excel?


How to Find And Replace in Excel? After entering data into the cells of a workbook or worksheet, we can find almost any values, text string, whether it is located in a cell, formula, cell reference, or range name with the help of the Find command in the Find and Replace dialog box. Once it is found, we have the option of replacing the text on a case-by-case basis or all at once using the Replace command in the Find and Replace dialog box.

The Excel Find and Replace dialog box includes a feature that allows us to search our worksheet to locate cells that contain specific formatting (for example, a currency symbol). This feature does not locate cells that contain formatting resulting from conditional formatting.

(A) HOW TO FIND A VALUE/TEXT USING FIND AND REPLACE IN EXCEL?

(01) HOW TO FIND A TEXT/NUMERIC VALUE FROM EXCEL WORKSHEET

We can find the text string within a specific range, or within the entire worksheet with the help of the ‘Find and Replace’ dialog box either in 2 ways:

• Open ‘Find’ Dialog box Using the Excel Shortcut: Click any cell or select the entire range or select the specific cells from where to find the specific value or text ➪ then press Ctrl+F.

Find Dialog box

• Open ‘Find’ Dialog box Using the Ribbon: Click any cell or select the entire range or select the specific cells in the worksheet ➪ Go to the Home tab ➪ Click Find & Select drop-down in the Editing group ➪ Click Find.

Open 'Find' Dialog box Using the Ribbon

In the Find and Replace dialog box, enter the text string to find under the ‘Find what’ text box ➪ Either click Find All or  Find Next ➪ Click Close or press Esc key.

HOW TO FIND THE TEXT NUMERIC VALUE FROM WORKSHEET

(02) HOW TO FIND A TEXT/NUMERIC VALUE FROM EXCEL WORKBOOK

To search the entire workbook, we must select the Workbook from the drop-down list in the ‘Within’option.

HOW TO FIND THE TEXT NUMERIC VALUE FROM EXCEL WORKBOOK_1

(03) EXPLORE FIND AND REPLACE ADVANCED OPTIONS

■ Set the ‘Search’ option: Excel can search by columns or rows, however, by default it is selected ‘By Rows’ in the Search option.  If it is selected by rows, Excel will begin searching in the current row and move across the entire row before dropping down to the next row. If it is selected by columns, Excel will begin searching in the entire current column and move to the next column to the right.

In either case, when the end of the worksheet is reached, Excel will continue searching from the beginning at cell A1 until it returns to the currently selected cell.  

■ Set the ‘Look in’ Option: This is important and could not find any result if set incorrectly. The options as follows:

(i) Formulas: If we choose this option, Excel will search cells that begin with an equal sign (formula) as well as any constant values. However, the results of the formula will not be searched. 

(ii) Values: In this case, Excel searches the calculated value and constant value, not the actual formula. 

(iii) Comments: This checks cell comment only.  

‘Match case’: If we want to find an exact match, with the same use of upper- and lower- case letter then select the checkbox ‘Match Case’. Text strings that do not match exactly will be ignored.

 For example, if we search with the name ‘thomas’ it will find ‘thomas’, ‘thomas singing a song.’ from the list, but it ignores the rest because this option allows a case-sensitive search.

HOW TO FIND THE TEXT NUMERIC VALUE FROM EXCEL WORKBOOK_Match Case

‘Match entire cell contents’: If we checked this option Excel finds entire cell contents and will only find a match if there are no other extraneous chracters or numbers in the cell. In this option, upper- and lower- case letters do not matter at all.

For example, if we search with name ‘thomas’ it will find ‘thomas’, ‘Thomas’, ‘THOMAS’ from the list but it ignores the cell with other extraneous characters.

HOW TO FIND THE TEXT NUMERIC VALUE FROM EXCEL WORKBOOK_Match entire cell contents

(04) FIND CONTENT USING WILDCARDS CHARACTERS

The wildcard characters asterisk (*) and question mark (?) can be used to expand the search.

The Asterisk (*) symbol is used to replace any number of characters. For example, to find all occurrences of the word total, use *Total*. This will find Total, Sub total, Subtotal, Totals, Grand Total.

HOW TO FIND THE TEXT NUMERIC VALUE FROM EXCEL WORKBOOK_Find Content with Wildcards Characters_1

Likewise, the question mark (?) is used to find a single character. For example, ?total would find Sub total, Subtotal, Grand Total

HOW TO FIND THE TEXT NUMERIC VALUE FROM EXCEL WORKBOOK_Find Content with Wildcards Characters_2

(05) FIND CONTENT IN CELLS WITH SPECIFIC FORMAT

To find content in cells with the specific format by Find and Replace dialog box.

• Press Ctrl+F which will open the Find and Replace dialog box.

Click Options >> in the lower right corner.

FIND CONTENT IN CELLS WITH SPECIFIC FORMAT_1

Then click the Format… drop-down in the upper right corner and select Choose Format From Cell…

FIND CONTENT IN CELLS WITH SPECIFIC FORMAT_2

As a result, a color picker with an addition symbol will activate. Then select a cell with specific formatting which will command Excel to isolate all the cells with the same formatting.

Click Find All.

FIND CONTENT IN CELLS WITH SPECIFIC FORMAT_3

(B) HOW TO REPLACE A VALUE/TEXT USING FIND AND REPLACE IN EXCEL?

Replace option helps to find and replace the values and text strings in formulas or constant values. It cannot find and replace the results of a calculation.

Note: Be extremely careful with the ‘Replace All’ button as it can have a significant effect on the worksheet, potentially replacing text that we may not want to be changed. Thus, it is the best practice to select the range prior to invoking the ‘Find and Replace’ command, then Replace All will only affect the selected range.

(01) HOW TO REPLACE A TEXT/NUMERIC VALUE FROM EXCEL WORKSHEET

• Open ‘Replace‘ Dialog box Using the Excel Shortcut: Click any cell or select the entire range or select the specific cells in the worksheet ➪ then press Ctrl+H.

Replace dialog box

Equivalently, Select the range of cells ➪ Then press Ctrl+F. The ‘Find and Replace’ dialog box will be displayed ➪ Then click on the ‘Replace’ button.

• Open ‘Replace’ Dialog box Using the Ribbon: Click any cell or select the entire range or select the specific cells in the worksheet ➪ Go to the Home tab ➪ Click Find & Select drop-down in the Editing group ➪ Click Find.

Open 'Replace' Dialog box Using the Ribbon_2

For example, to replace the existing text or value with the desired text or value from a worksheet we should follow the following steps: 

• Either select a specific range of the dataset or the entire dataset.

• Then press Ctrl+H which will open the Replace tab in the Find and Replace dialog box. 

• Type the existing text in front of the ‘Find what:’ box. For example, type the text #n/a.

• Type the replaceable text in front of the ‘Replace with:’ box. For example, type zero (0).

• Click Replace All. As a result, all the text #N/a is replaced with the value 0 from the worksheet. 

• After replacing, press the Esc key or click Close. 

HOW TO REPLACE A TEXTNUMERIC VALUE FROM EXCEL WORKSHEET

(02) HOW TO REPLACE A TEXT/NUMERIC VALUE FROM EXCEL WORKBOOK

To replace the existing text or value with the desired text or value from all the worksheets in a workbook, we must select the Workbook from the drop-down in the ‘Within’option.

HOW TO REPLACE A TEXTNUMERIC VALUE FROM EXCEL WORKBOOK

• Place cursor in a worksheet, then press Ctrl+H which will open the Replace tab in the Find and Replace dialog box. 

• Type the existing text in front of the ‘Find what:’ box. For example, type the text #n/a.

• Type the replaceable text in front of the ‘Replace with:’ box. For example, type zero (0).

• Click Options >> at the below of the right corner and as a result, more advanced settings will open. Then select the Workbook from the drop-down in the ‘Within’option.

• Click Replace All. As a result, all the text #N/a is replaced with the value 0 from all the worksheets in a workbook. 

• After replacing, press the Esc key or click Close.

➢ Key Points To Note:

• In the ‘Find what’ text box, type the text that we want to replace. For example, here we want to replace all the #N/A Errors.

• In the ‘Replace with’ text box, type the new text that will take the position in place of the existing text. For example, here we place 0 (zero) value which means all the #N/A Errors will be replaced by 0. 

• Click Replace All button to replace all the text string from the entire worksheet at a time.

• Click Replace to replace the text string in the single selected cell.

• Click Find All to find the text string from the entire worksheet.

• Click Find Next to skip this instance of the text and move to the next time it occurs.

When Excel can find no more occurrences of the text, it will alert us with a message. Choose the Close button or press the Esc key to end our search.

(03) HOW TO FIND AND REPLACE A LINE BREAK IN EXCEL

We can easily insert a line break in Excel’s cell by pressing Alt+Enter. But it is very difficult to remove a line break manually one by one from a huge dataset.

It is easiest to use Find and Replace to replace a line break with a space or any separator (likes slash”/”, dash “-“, etc.). 

(i) At first, press Ctrl+H which will open the Find and Replace dialog box.  

(ii) Then Press Ctrl+J in the ‘Find what:‘ field. [Ctrl+J denotes the ASCII control code for character 10 (line break, or line feed].

(iii) Then enter a space by pressing the Spacebar key once in the ‘ Replace with:‘ field.

(iv) Finally, click Replace All. As a result, all the line breaks will be replaced with spaces in a worksheet.

HOW TO FIND AND REPLACE A LINE BREAK IN EXCEL

(04) EASY TO CHANGE CELL FORMATTING WITH FIND AND REPLACE 

In Excel, we can easily change the same cell formatting with the Find and Replace dialog box. 

(i) Press Ctrl+H which will open the Find and Replace dialog box ➪ Click the Options.

(ii) Click the Format drop-down located in front of the ‘Find What:’ box ➪ Click Choose Format from Cell ➪ Select a cell with the desired cell formatting. Selected cell formatting is shown in the Preview section.

EASY TO CHANGE CELL FORMATTING WITH FIND AND REPLACE_1

(iii) Similarly,  click the Format drop-down located in front of the ‘Replace with:‘ box ➪ Click either Choose Format from Cell or Format (where to apply own desired format). Selected cell formatting is shown in the Preview section.

(iv) Finally, click Replace All. As a result, similar cell formatting will be replaced with the new cell formatting in a worksheet.

If we want to apply the change in the entire workbook, then we select the Workbook option in the ‘Within’ drop-down box.

EASY TO CHANGE CELL FORMATTING WITH FIND AND REPLACE_2

If you would like to improve your academic and professional career as well, then the below courses help you a lot. Instead of Advanced Excel, a number of best courses suggested you through this platform that boosts your confidence and flies your career high.
AEF_192by192
Advance Excel Forum

Premium Courses on ed2go

T14216 Master VLOOKUP4&bids=739114

Master VLOOKUP in Microsoft Excel

 

Bestseller
4.9/5
GES3028 AutoCAD 21 Certified User AutoCAD 3D 2021 Voucher4&bids=739114

AutoCAD 2021 Certified User with AutoCAD 3D 2021 (Voucher Included)

Bestseller
4.9/5
oracle courses online4&bids=739114

Intermediate Oracle (Self-Paced Tutorial)

Bestseller
4.9/5
Microsoft Excel Project19 B141444&bids=739114

Microsoft Excel and Project 2019 Suite

Bestseller
4.9/5
Microsoft Excel Access 194&bids=739114

Microsoft Excel and Access 2019 Suite

Bestseller
4.9/5
Microsoft Excel 2019 Stats4&bids=739114

Microsoft Excel 2019 and Statistics Suite

Bestseller
4.9/5

Premium Courses on Coursera

044&bids=759505

Excel Skills for Business

Bestseller
4.9/5
Search Thumbnail4&bids=759505

Google IT Support Professional Certificate

Bestseller
4.9/5
tfm14&bids=759505

DeepLearning: AI TensorFlow Developer Professional Certificate

Bestseller
4.9/5
cyber14&bids=759505

Security Governance & Compliance

Topseller
4.9/5
Course Logo 14&bids=759505

Technical Support Fundamentals

Bestseller
4.9/5
04 Visualisation4&bids=759505

Data Visualization in Excel

Bestseller
4.9/5
ITDSATADM Coursea 1200x1200 B R1 14&bids=759505

Data Science Fundamentals

Bestseller
4.9/5
Advanced Data Science Capstone4&bids=759505

Advanced Data Science Capstone

Bestseller
4.9/5
1 iStock 000039306742 Large Coursera4&bids=759505

Project Management Principles and Practices

Bestseller
4.9/5

Premium Courses on Udemy

1162936 2b0f 34&bids=507388

Advanced Excel Skills-How to finish works faster

Top Rated
4.8/5
3094486 293b 24&bids=507388

Data Analysis Using Microsoft Excel 2016

Top Rated
4.7/5
3786968 0a15 24&bids=507388

A Beginners approach to Advanced Excel

Bestseller
4.6/5
3870978 29c34&bids=507388

2021 Azure AZ-900 Fundamentals + 282 Practice Questions

Bestseller
4.8/5
3848490 7084 24&bids=507388

CompTIA: CompTIA Network+ practice Tests for Certification

Bestseller
4.8/5
3862918 b055 34&bids=507388

IBM: IBM database administrator db2 for linux unix & win

Bestseller
4.6/5
Read-More_Orange

Thanks for your interest joining to Advance Excel Forum community.

Something went wrong.

Join Our Community List

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.


Like it? Share with your friends!

Share via

Join Our Community List

Community grow with You. * VERIFY & CONFIRM YOUR EMAIL *

Thanks for your interest joining to Advance Excel Forum community.

Fill the Correct Information.

Thanks for your interest joining to Advance Excel Forum community.

Something went wrong.

Join Our Community List

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

We use cookies to ensure that we give you the best experience on our website (by analyzing).  Please see our cookies page for further details or agree by clicking the 'Accept' button.

 

Cookie settings

Below you can choose which kind of cookies you allow on this website. Click on the "Save cookie settings" button to apply your choice.

FunctionalOur website uses functional cookies. These cookies are necessary to let our website work.

AnalyticalOur website uses analytical cookies to make it possible to analyze our website and optimize for the purpose of a.o. the usability.

Social mediaOur website places social media cookies to show you 3rd party content like YouTube and FaceBook. These cookies may track your personal data.

AdvertisingOur website places advertising cookies to show you 3rd party advertisements based on your interests. These cookies may track your personal data.

OtherOur website places 3rd party cookies from other 3rd party services which aren't Analytical, Social media or Advertising.