Microsoft Excel 2024 Comprehensive Course — Beginner to Intermediate
X
Excel 2024 Microsoft 365
📗 34 Modules Foundations Data Entry Formatting Formulas Functions Charts Pivot Tables Data Analysis Protection Automation

🔍 Module 29: Search & Replace, Views & Freezing Panes

Three tools that every Excel user uses daily but rarely masters fully. Find & Replace is far more powerful than most people realise — it can search formulas, values, or formatting, use wildcards, replace across the entire workbook at once, and even find and replace formatting without touching text. Views control how you see your spreadsheet: zoom level, gridlines, headings, formula bar, and the ability to save custom views that switch between different display configurations instantly. Freezing Panes locks rows and columns in place while you scroll, keeping headers and labels visible across large datasets — an essential technique for any data table that extends beyond the screen.

29.1 Find — Locating Data Quickly

Find locates cells containing a specific value, text, formula, or formatting. It is the fastest way to navigate large spreadsheets and locate specific records.

Opening Find

  • Ctrl+F — opens the Find and Replace dialog on the Find tab
  • Home tab → Editing group → Find & Select → Find…

Basic Find

  1. Type the search term in the "Find what" box
  2. Press Enter or click Find Next to jump to the next match
  3. Find All: lists every matching cell in a panel below — click any entry to navigate to it; all matching cells are simultaneously selected
  4. Press Esc to close without losing the current position

Find Options — Expanding the Dialog

Click Options >> in the Find dialog to reveal advanced settings:

OptionWhat It DoesPractical Use
Within: Sheet / Workbook Search only the current sheet or all sheets in the workbook Find a value across all 12 monthly sheets at once
Search: By Rows / By Columns Controls the direction Find Next moves through the grid By Rows is the default (left to right, then down); By Columns searches down first
Look in: Formulas / Values / Notes / Comments Specifies what content to search Formulas: finds text in formulas (e.g., find all cells containing VLOOKUP). Values: searches calculated results only (e.g., find cells displaying "Error" even if the cell contains a formula).
Match case Distinguishes uppercase from lowercase Find "ABC" but not "abc"; find "Rand" but not "rand"
Match entire cell contents Only matches cells where the search term is the entire cell value (not a substring) Find cells containing exactly "10" without also finding "100", "210", or "10 units"
Format… button Search for cells with a specific format (font colour, fill colour, bold, number format, borders) Find all cells highlighted in yellow; find all cells with red font; find all bold cells

Wildcards in Find

WildcardMeaningExample
*Any number of any charactersCape* finds Cape Town, Cape Winelands, Capetown, Cape
?Any single characterJ?n finds Jan, Jun, Jon, Jin
~*A literal asterisk (escape with tilde)10~* finds the text "10*" exactly, not "10" followed by anything
~?A literal question markWhat~? finds the text "What?" literally
~~A literal tilde character~~ finds the text "~" literally

Find All — Selecting Multiple Cells at Once

Power technique: after clicking Find All, press Ctrl+A in the results pane to select ALL matching cells simultaneously. You can then apply formatting, delete, or copy all matching cells in one action — without filtering or sorting first.

29.2 Find & Replace — Changing Data at Scale

Find & Replace locates values and replaces them with new ones. It can operate on the entire workbook in one click and is indispensable for bulk data corrections, terminology updates, and reformatting.

Opening Find & Replace

  • Ctrl+H — opens directly on the Replace tab
  • Ctrl+F then click the Replace tab

Using Replace

  1. Enter the search term in "Find what"
  2. Enter the replacement in "Replace with"
  3. Replace: replaces one match at a time (use to review each before replacing)
  4. Replace All: replaces every match simultaneously — a confirmation message shows how many replacements were made
  5. All Find options (Within, Look in, Match case, Match entire cell, wildcards) apply to Replace as well
Before Replace All: Always use Find All first to see every match before committing to a replacement. Set Within = Workbook only if you are certain all sheets should be changed. Use "Match entire cell contents" when replacing specific values to avoid unintended partial replacements (e.g., replacing "10" without matching whole cell would also change "100" to "1000").

Replacing Across the Entire Workbook

  1. Options >> → Within: Workbook
  2. Enter Find what and Replace with
  3. Replace All — every sheet is updated simultaneously

Replacing with Nothing (Deleting Text)

Find what:   "(Pty) Ltd"
Replace with: (leave BLANK)

Replace All → removes "(Pty) Ltd" from every matching cell, leaving only the company name.

Other useful "replace with nothing" examples:
Remove all spaces:    Find: " "    Replace: (blank)
Remove hyphens:      Find: "-"    Replace: (blank)
Remove "R " prefix:   Find: "R "   Replace: (blank)

Find & Replace Formatting

One of the most underused features — you can find cells by their format and replace with a different format, without touching any cell values:

  1. Ctrl+H → Options >>
  2. Next to "Find what": click Format… → specify the format to find (e.g., yellow fill)
  3. Next to "Replace with": click Format… → specify the replacement format (e.g., green fill)
  4. Leave both text boxes blank (you are only changing formats, not values)
  5. Replace All
Practical SA uses:
  • Replace all yellow-highlighted cells (manual overrides) with no-fill after review
  • Replace all red-font cells with black font after issues are resolved
  • Convert all "Currency" number format cells to "Accounting" format in one operation

Common Replace Scenarios

TaskFind whatReplace withNotes
Rename a department across the workbook"Human Resources""People & Culture"Within: Workbook; Match entire cell
Fix a misspelled province name"Kwazulu-Natal""KwaZulu-Natal"Match case; Within: Workbook
Remove all line breaks within cellsCtrl+J (line break character)Space or blankType Ctrl+J in Find what box (displays as a blinking cursor)
Replace $ absolute references in formulas"$B$1""B1"Look in: Formulas; replaces in formula text

29.3 Find & Select Special — Selecting by Cell Type

Go To Special selects cells based on their type or content — all blank cells, all formula cells, all cells with conditional formatting, all constants, all comments, and many more. It is the fastest way to identify and act on a specific category of cells across a large range.

Opening Go To Special

  • Home → Editing → Find & Select → Go To Special…
  • — or — Ctrl+G then click Special…
  • — or — F5 then click Special…

Most Useful Go To Special Options

OptionSelectsPractical Use
BlanksAll empty cells in the selectionFind missing data; fill all blanks with a value (type value, Ctrl+Enter after Go To Special → Blanks)
ConstantsCells with hardcoded values (not formulas)Audit which cells are manual entries vs calculated; protect formulas while leaving constants editable
FormulasAll cells containing formulas (optionally filter by result type: Numbers, Text, Logicals, Errors)Select all formula cells to lock them before protecting the sheet; find all error-producing formulas
Errors (under Formulas)All cells whose formulas currently return an error (#N/A, #REF!, #DIV/0!, etc.)Quickly locate all broken formulas in the sheet for repair
Current regionThe contiguous data block surrounding the active cell (equivalent to Ctrl+Shift+*)Select the entire table you are working in without knowing its exact size
Conditional formatsAll cells with conditional formatting appliedAudit where CF rules are active; clear all CF at once after selecting
Data validationAll cells with data validation rulesFind all drop-down list cells; audit validation rules across the sheet
Visible cells onlyOnly cells that are not hidden by filters or hidden rows/columnsCopy filtered data to a new location without copying hidden rows; essential for filtered table copy-paste
Last cellThe last used cell in the sheet (last row + last column with data or formatting)Find how far the sheet extends; identify "phantom" rows/columns that inflate file size

Filling All Blank Cells — A Key Data Cleaning Technique

Problem: a category column has the value only in the first row of each group,
with blanks below (common in exported reports):

  Gauteng
  (blank)
  (blank)
  Western Cape
  (blank)

Fix using Go To Special:
1. Select the category column
2. Home → Find & Select → Go To Special → Blanks → OK
3. All blank cells are selected
4. Type: =A2 (reference the cell directly above — do not press Enter yet)
5. Press Ctrl+Enter (fills ALL selected blank cells with the formula simultaneously)
6. Result: each blank copies the value from the cell above, filling the group labels down
7. Optional: Copy the column → Paste Special → Values to convert formulas to static text

29.4 View Options — Controlling What You See

The View tab controls how Excel displays the spreadsheet on screen. These settings affect the display only — they do not change the data.

View Tab — Show Group

ToggleShows/HidesWhen to Turn Off
RulerThe measurement ruler in Page Layout viewIn Normal view where it is not needed
GridlinesThe grey cell border lines across the entire sheetDashboard sheets — hide gridlines for a cleaner designed appearance
Formula BarThe bar above the sheet showing the active cell's content or formulaFinished dashboards presented to non-technical users (hides formulas from casual view)
HeadingsThe column letter (A, B, C...) and row number (1, 2, 3...) headers around the gridDashboard and report presentation — a spreadsheet without headings looks more like a designed document

Workbook Views

ViewWhat It ShowsBest For
Normal Standard spreadsheet view — infinite grid, no page boundaries visible Everyday data entry, formula building, and analysis
Page Break Preview Shows the data with blue dashed lines indicating where pages will break when printed. Drag the dashed lines to adjust page breaks. Adjusting what prints on each page before a large print job; inserting or removing manual page breaks
Page Layout Shows the sheet as it will print, with page margins, header/footer areas, and a ruler. Scroll reveals each printed page. Designing headers, footers, and margins; verifying print layout before printing

Zoom Controls

  • Status bar slider (bottom-right): drag to zoom in or out instantly
  • Ctrl+Scroll Wheel: zoom in/out with the mouse wheel
  • View → Zoom group → Zoom: set exact percentage
  • View → Zoom group → 100%: reset to 100%
  • View → Zoom group → Zoom to Selection: zooms so the selected cells fill the screen — useful for presenting a specific chart or table

29.5 Custom Views — Saving Display Configurations

A Custom View saves the current display settings — zoom level, active cell position, print settings, filter settings, hidden rows/columns, and frozen panes — so you can switch between different display configurations with a single click.

Creating a Custom View

  1. Set up the display exactly as you want it (zoom level, filters, hidden rows, etc.)
  2. View tab → Workbook Views group → Custom Views
  3. Click Add…
  4. Type a name (e.g., "Management Summary" or "Full Data Entry")
  5. Choose what to include:
    • Print settings: saves paper size, margins, and print area
    • Hidden rows, columns and filter settings: saves which rows/columns are hidden and AutoFilter state
  6. Click OK

Switching Between Custom Views

  1. View → Custom Views → select the view name from the list → Show
  2. Excel instantly restores all saved display settings

Custom View Examples

View NameSettings Saved
Management SummaryZoom 90%, salary columns hidden, AutoFilter set to Active employees only
Full Data EntryZoom 80%, all columns visible, no filters, all rows shown
Print ReadyZoom 75%, specific print area set, A4 paper size, narrow margins
Gauteng OnlyAutoFilter set to Region = Gauteng; other regional rows hidden
Custom Views limitation: Custom Views are not available when the workbook contains an Excel Table (Ctrl+T formatted range). If your sheet has a Table, Custom Views will be greyed out. Convert the Table back to a range (Table Design → Convert to Range) to use Custom Views.

29.6 Freezing Panes — Keeping Headers Visible While Scrolling

Freeze Panes locks specific rows and/or columns in place so they remain visible on screen as you scroll through the rest of the data. This is essential for any dataset that extends beyond one screen — without frozen panes, headers disappear when you scroll down and you lose track of what each column represents.

The Three Freeze Options

OptionWhat It FreezesHow to Apply
Freeze Panes All rows above AND all columns to the left of the active cell Click a cell → View → Freeze Panes → Freeze Panes. Click B2 to freeze row 1 and column A simultaneously.
Freeze Top Row Only row 1 (regardless of which cell is active) View → Freeze Panes → Freeze Top Row. Always freezes row 1 only.
Freeze First Column Only column A (regardless of which cell is active) View → Freeze Panes → Freeze First Column. Always freezes column A only.

Freeze Panes — Active Cell Determines What Is Frozen

The rule: Freeze Panes freezes everything ABOVE and to the LEFT of the active cell.

Click cell A2 → Freeze Panes: freezes row 1 only (nothing to the left of A)
Click cell B1 → Freeze Panes: freezes column A only (nothing above row 1)
Click cell B2 → Freeze Panes: freezes row 1 AND column A
Click cell C3 → Freeze Panes: freezes rows 1-2 AND columns A-B
Click cell D5 → Freeze Panes: freezes rows 1-4 AND columns A-C

Visual Indicator of Frozen Panes

A thick dark line (slightly thicker than normal gridlines) appears along the freeze boundary — between the frozen and scrollable areas. On most themes this appears as a darker grey or black line separating the header row(s) from the data rows.

Unfreezing Panes

  • View → Freeze Panes → Unfreeze Panes (this option replaces "Freeze Panes" in the menu when panes are already frozen)
  • There is no keyboard shortcut for freeze/unfreeze — it must be done through the View menu

Common Freeze Configurations

ScenarioClick This Cell FirstResult
Header row only (most common)A2 (first cell of data row)Row 1 stays visible while scrolling down
Header row + ID columnB2Row 1 and column A both stay visible while scrolling
First two header rowsA3Rows 1 and 2 freeze (useful for two-row headers)
First three columns (navigation)D1Columns A, B, C stay visible while scrolling right
Large cross-tab table (row + column headers)B2Row labels in column A and column headers in row 1 both stay visible

29.7 Split Panes — Viewing Two Parts of a Sheet Simultaneously

Split divides the sheet window into two or four separate scrollable panes, allowing you to view and compare different parts of the same sheet at the same time. Unlike Freeze, both panes are independently scrollable.

Splitting the Window

  1. Click the cell where you want to split (the split occurs above and to the left)
  2. View tab → Window group → Split
  3. The sheet divides into up to 4 panes at the active cell position
  4. Each pane can be scrolled independently
  5. To remove the split: View → Window → Split again (toggles off) — or — double-click the split divider bar

When to Use Split vs Freeze

FeatureFreeze PanesSplit Panes
PurposeLock headers in place while the data scrollsCompare two distant parts of the same sheet
ScrollingFrozen area does not scroll; data area scrollsBoth panes scroll independently
Best forLong or wide datasets with headersComparing row 5 with row 500; comparing column B with column AZ

29.8 Quick Self-Check

Q1: You need to find every cell across all sheets in a workbook that contains the text "Outstanding". How do you configure Find to search the entire workbook, and how do you see all matches at once without clicking "Find Next" repeatedly?

✓ Ctrl+F → Options >> → Within: change from "Sheet" to "Workbook" → type "Outstanding" in Find what → click Find All. Excel lists every matching cell (with sheet name, cell address, and content) in a panel at the bottom of the dialog. Click any entry to navigate to that cell. To select all matching cells simultaneously: click any entry in the results list, then press Ctrl+A — all matches across all sheets are selected. You can then apply formatting or note the sheet locations before closing the dialog.

Q2: You have a column of company names in column A. Some have "(Pty) Ltd" and others have "(Pty) Ltd." (with a trailing full stop). You want to remove both variants from all cells. How do you do this with two Replace operations?

✓ Ctrl+H → First operation: Find what = "(Pty) Ltd." (with full stop), Replace with = (leave completely blank) → Replace All. This removes the version with a trailing full stop. Second operation: Find what = "(Pty) Ltd" (without full stop), Replace with = (blank) → Replace All. This removes the remaining version. The order matters — always replace the longer/more specific variant first. If you replaced "(Pty) Ltd" first, the cells that had "(Pty) Ltd." would become "." (the full stop would remain). Tick "Match entire cell contents" if company names are in the cell alone; leave unticked if "(Pty) Ltd" is part of a longer company name like "Acme (Pty) Ltd Holdings".

Q3: A dataset exported from a payroll system has blank cells in the Department column — the department name only appears in the first row of each department group and the rows below are blank. How do you fill all the blanks so each row shows its department?

✓ Select the department column → Home → Find & Select → Go To Special → Blanks → OK. All blank cells in the column are now selected. Without clicking anywhere else, type = then press the Up Arrow key (to reference the cell directly above the active cell — e.g., if the first selected blank is A3, the formula becomes =A2) → press Ctrl+Enter. This fills every selected blank cell with the formula =cell_above simultaneously. Every blank now shows the department from the cell above it, propagating the group label downward. Finally, to convert the formulas to static values: select the department column again → Ctrl+C → Paste Special (Ctrl+Alt+V) → Values → OK. This prevents the values from changing if rows are later sorted.

Q4: Your spreadsheet has 2,000 rows of data with employee names in column A and salary in column B. After scrolling down to row 1,500, the header row (row 1) has disappeared and you cannot see which column is which. What is the fastest fix, and which cell should you click before applying it?

✓ Click cell A2 (the first data row, first column) → View → Freeze Panes → Freeze Panes. The rule: Freeze Panes locks everything ABOVE and to the LEFT of the active cell. Clicking A2 means "above A2" = row 1 (the header), and "to the left of A" = nothing (A is the first column). Result: row 1 stays permanently visible no matter how far you scroll down. If the data also scrolls horizontally and column A (employee names) should also stay visible, click B2 instead, which freezes both row 1 AND column A simultaneously.

Q5: What is the difference between Freeze Panes and Split, and give a real example of when you would use Split instead of Freeze?

✓ Freeze Panes permanently locks specific rows and/or columns so they do not scroll — used to keep headers visible. The frozen area and the data area scroll as one unit (headers stay, data below scrolls). Split divides the sheet into two or four independently scrollable panes — both can display any part of the sheet. Real example for Split: you have a 1,200-row payroll sheet and you want to compare the formula in row 5 with the formula in row 1,187 to check they are consistent. With Freeze, you can only see row 5 OR scroll down to row 1,187 — not both simultaneously. With Split: position one pane at row 5 and independently scroll the other pane to row 1,187 — both rows visible side by side. Freeze is for navigational headers; Split is for comparison of distant content.

Q6: You want to create two Custom Views of the same employee report: one showing all 15 columns for full data entry, and one showing only columns A, B, and J (name, ID, and salary) at a larger zoom for management review. Describe the steps.

✓ First, set up the full view: ensure all columns are visible, zoom at your preferred level (e.g., 80%) → View → Custom Views → Add → Name: "Full Data Entry" → tick "Hidden rows, columns and filter settings" → OK. Second, set up the management view: hide columns C through I and K through O (right-click each group of column headers → Hide) → set zoom to 110% → View → Custom Views → Add → Name: "Management Review" → tick "Hidden rows, columns and filter settings" → OK. To switch: View → Custom Views → select "Full Data Entry" or "Management Review" → Show. Note: this only works if the sheet does not have an Excel Table (Ctrl+T). If it does, convert to a range first (Table Design → Convert to Range).

✓ Module 29 Complete — You Have Learned:

  • Find (Ctrl+F) — basic Find Next; Find All (lists all matches + Ctrl+A to select all); Options: Within (Sheet/Workbook), Search direction, Look in (Formulas/Values/Notes), Match case, Match entire cell, Format button; wildcards (* any chars, ? single char, ~* literal asterisk, ~? literal question mark)
  • Find & Replace (Ctrl+H) — Replace one at a time vs Replace All; all Find options apply; replacing across the workbook (Within: Workbook); replacing with nothing to delete text; removing line breaks (Ctrl+J); replacing dollar signs in formulas (Look in: Formulas); Find & Replace Formatting (find by fill/font/format, replace with different format without touching values)
  • Common replace scenarios — department rename, province misspelling, company suffix removal, cell reference type change
  • Go To Special — opening (Ctrl+G or F5 → Special; or Home → Find & Select); 9 key options (Blanks, Constants, Formulas/Errors, Current region, Conditional formats, Data validation, Visible cells only, Last cell); fill blanks technique (Go To Special → Blanks → type =↑ → Ctrl+Enter then paste as values)
  • View options — Show group toggles (Gridlines, Formula Bar, Headings, Ruler); 3 workbook views (Normal, Page Break Preview with draggable breaks, Page Layout with margins/headers); Zoom (status bar slider, Ctrl+scroll, View → Zoom, 100%, Zoom to Selection)
  • Custom Views — View → Custom Views → Add; saves zoom, filters, hidden rows/columns, print settings; switching via Show; limitation (not available with Excel Tables)
  • Freeze Panes — 3 options (Freeze Panes/Top Row/First Column); the key rule (freezes everything ABOVE and LEFT of active cell); common configurations (A2 = freeze row 1, B2 = freeze row 1 + column A, C3 = freeze rows 1–2 + columns A–B); visual indicator (thick dark border line); Unfreeze via View → Freeze Panes → Unfreeze
  • Split Panes — View → Split (toggle); up to 4 independently scrollable panes; Freeze vs Split comparison (headers vs content comparison); removing by toggling or double-clicking divider

← Back to All Modules