Excel Practice Test

At a Glance: Review the sections below for a comprehensive guide to How covering preparation, structure, scoring, and what to expect.

What Merging Cells Actually Does

Merging cells in Excel combines two or more adjacent cells into a single, larger cell. The result spans the space of the original cells—but here's the catch: Excel only keeps the content from the top-left cell. Everything else gets discarded.

That sounds alarming, and honestly, it should give you pause. But merging is genuinely useful in the right situations. You'll typically see it for:

The key distinction is context. Merging works great on structural cells—titles, labels, decorative elements. It breaks badly on data cells you intend to sort, filter, or reference in formulas. We'll cover both angles below.

Before diving into methods, know that Excel offers four distinct ways to merge. Each behaves slightly differently, and picking the wrong one wastes time. Some center the content automatically, others don't. Some merge the full selection into one block, others work row by row. Knowing which tool fits which job saves you from going back and undoing an awkward merge. Let's walk through all four options so you can make that call confidently every time.

Excel Merge Cells at a Glance

4
Merge methods available
4 keys
Keyboard steps (Alt+H+M+M)
Top-left only
Data kept after merge
No
Works inside Excel Tables
Center Across Selection
Best no-merge alternative
Yes
Breaks sorting/filtering

Method 1: Merge & Center (The Most Common Approach)

This is what most people reach for first—and for good reason. Merge & Center is a single click that merges your selected cells and centers the content horizontally. It's on the Home tab, right in the Alignment group.

Step-by-step

  1. Select the cells you want to merge. Click the first cell, hold Shift, then click the last cell in the range.
  2. Go to the Home tab on the ribbon.
  3. In the Alignment group, click the Merge & Center button (it shows a small merge icon with a center-align symbol).
  4. If any of your selected cells contain data beyond the top-left cell, Excel will warn you that merging will delete that data. Click OK to proceed—or Cancel if you want to back up first.
  5. Done. Your cells are merged and the content is centered.

The merged cell behaves as one unit. You can resize it by dragging the column/row border, format it like any other cell, and reference it in formulas using its top-left address (e.g., =A1 if you merged A1:C1).

One thing to watch: Merge & Center always centers. If you want the text left-aligned after merging, just click the Left Align button on the Home tab after merging. The merge itself won't undo—alignment and merge are independent properties.

Toggling Merge & Center off

Clicking Merge & Center a second time on an already-merged cell will unmerge it. The content returns to the top-left cell. This is the fastest unmerge method if you're already in the Home tab.

Method 2: Merge Across (Row-by-Row Merging)

Merge Across is less well-known, but it's incredibly handy when you have multiple rows and want to merge each one independently. Instead of merging your entire selection into one giant cell, it merges each row separately—left to right—keeping the structure row-by-row.

When to use it

Imagine you have labels in column A spanning rows 1 through 5, and you want each label to extend across columns A to D without combining the rows. Merge & Center would smash all 20 cells into one. Merge Across merges A1:D1 into one cell, then A2:D2 into another, and so on—five merged rows, each independent. That's a very different result, and exactly what you need for side-by-side label layouts.

Step-by-step

  1. Select the full range you want to merge—for example, A1:D5.
  2. Go to HomeAlignment group.
  3. Click the dropdown arrow on the right side of the Merge & Center button (the small downward-pointing triangle).
  4. Select Merge Across from the dropdown menu.
  5. Excel merges each row in your selection separately. You'll see the warning about data loss for any row where non-top-left cells have content.

The result: each row becomes a single merged cell spanning your selected columns, but the rows themselves remain distinct. You can still select and format them independently.

One common use: building a weekly schedule where each day's label spans a set of time-slot columns. Merge Across gives you a clean label row without collapsing all the time slots into one. It's worth experimenting with this method on a test sheet before using it in a real document—once you see how it behaves differently from Merge & Center, it clicks instantly.

Quick Reference: All 4 Merge Options

Merge & Center — merges selection into one cell, centers text (Home tab, Alignment group, ribbon button)
Merge Across — merges row by row, each row becomes one merged cell (dropdown only, not the main button)
Merge Cells — merges without auto-centering, keeps your existing alignment settings (dropdown only)
Format Cells dialog (Ctrl+1, Alignment tab) — most control, set alignment and merge in one visit

Method 3: Merge Cells (No Centering)

Same as Merge & Center, but without the automatic centering. The content stays wherever it was—left-aligned, right-aligned, or whatever you had set before.

This is the right choice when you want the visual merge but don't want Excel overriding your alignment. Headers that you've already formatted left-aligned, for example, or cells with right-aligned numbers that also need to span multiple columns. Merge Cells gives you the span without touching your existing alignment settings.

Step-by-step

  1. Select the cells to merge.
  2. Click the dropdown arrow on the Merge & Center button (Home → Alignment group).
  3. Choose Merge Cells.
  4. Confirm the data loss warning if prompted.

You'll get a merged cell, but the text alignment stays exactly as it was. From here, you can manually set alignment however you like. This option is available only from the dropdown—there's no dedicated ribbon button for it, and there's no way to set it as a default. You always go through that dropdown arrow.

Method 4: The Format Cells Dialog (Ctrl+1)

This is the most precise method—and the most overlooked. The Format Cells dialog gives you full control over alignment, text wrapping, indentation, and merging all in one place. It's especially useful when you're already in the dialog for other formatting reasons.

Step-by-step

  1. Select the cells you want to merge.
  2. Press Ctrl+1 to open the Format Cells dialog. (You can also right-click → Format Cells.)
  3. Click the Alignment tab.
  4. Under the Text control section, check the box labeled Merge cells.
  5. While you're here, set your Horizontal and Vertical alignment as needed—center, left, right, top, middle, bottom.
  6. Click OK.

The advantage: you're combining the merge with other formatting changes in a single dialog visit. Less clicking around the ribbon, more control over the final result.

This method also doesn't default to centering—you set the alignment explicitly, which makes the outcome more predictable. Professionals who format complex reports often prefer this approach because it's deliberate. You can even apply text wrapping, shrink-to-fit, and indentation at the same time—all without visiting the ribbon multiple times.

Compare All 4 Merge Methods

📋 Merge & Center

Best for: Single-cell span headers, dashboard titles, and report labels where center alignment is desirable.

Centering: Yes — automatic, always applied.

Access: Home tab → Alignment group → Merge & Center button (the main button, not the dropdown arrow).

Keyboard: Alt → H → M → C

Caution: Discards all content except top-left cell. Shows a warning before deleting.

📋 Merge Across

Best for: Multi-row label layouts where you want each row to merge independently across the same columns.

Centering: No — keeps your existing alignment.

Access: Home → Alignment → Merge & Center dropdown → Merge Across. Only accessible from the dropdown arrow.

Keyboard: Alt → H → M → A

Caution: Each row merges separately. Great for invoice or form row-label designs.

📋 Merge Cells

Best for: Merging when you don't want Excel to override your existing text alignment settings.

Centering: No — preserves whatever alignment was already set.

Access: Home → Alignment → Merge & Center dropdown → Merge Cells. Dropdown only, no ribbon button.

Keyboard: Alt → H → M → M

Caution: Same data loss rules apply as Merge & Center.

📋 Format Cells (Ctrl+1)

Best for: Combining merge with other formatting (text wrap, indentation, precise alignment) in one dialog visit.

Centering: Your choice — you set horizontal and vertical alignment explicitly before clicking OK.

Access: Ctrl+1 → Alignment tab → check Merge cells checkbox. Also via right-click → Format Cells.

Keyboard: Ctrl+1, navigate to Alignment tab, check Merge cells.

Advantage: Most control; ideal for formatted report templates.

Test Your Excel Skills — Take a Free Practice Quiz

Keyboard Shortcuts for Merging Cells

There's no single built-in shortcut that merges cells directly, but Excel's ribbon shortcuts get you there fast. Here's the sequence:

Alt → H → M → M

Press and release each key in sequence (not simultaneously):

For Merge & Center specifically: Alt → H → M → C

For Merge Across: Alt → H → M → A

For Unmerge Cells: Alt → H → M → U

These are access key sequences, not chords—you tap them one at a time. Once you've done it a few times, it becomes muscle memory. Much faster than reaching for the mouse, especially if you're keyboard-heavy in your workflow.

You can also record a macro and assign it to a custom shortcut like Ctrl+Shift+M if you merge cells constantly. That's overkill for occasional use, but worth knowing if it's a daily task. The macro approach also lets you combine merge with specific formatting in one keystroke—useful for templated reports where you always merge with the same font and fill color. Recording the macro takes about two minutes: Developer tab → Record Macro → perform the merge → Stop Recording → assign shortcut.

How to Unmerge Cells

Unmerging is just as straightforward as merging—once you know where to look. When you unmerge, Excel splits the merged cell back into individual cells. The content goes to the top-left cell only. The other cells come back empty.

Three ways to unmerge

  1. Merge & Center toggle: Select the merged cell, click Merge & Center again. It unmerges immediately.
  2. Dropdown menu: Select the merged cell → Home → Merge & Center dropdown → Unmerge Cells.
  3. Keyboard: Select the merged cell → Alt → H → M → U.

If you need to unmerge an entire sheet's worth of merged cells at once, here's a quick way: press Ctrl+A to select all cells, then click Merge & Center dropdown → Unmerge Cells. That strips all merges from the sheet in one shot—handy when inheriting a badly formatted file from a colleague who loved merging everything in sight.

After unmerging, you'll often have empty cells where the merged span used to be. If you need to fill those gaps—say, for use in a PivotTable—select the column, press F5 → Special → Blanks → OK, then type = and press the Up arrow, then Ctrl+Enter. That fills all blank cells with the value from the cell above. A proper data cleanup trick worth keeping in your toolkit.

Finding All Merged Cells in a Workbook

Before you can fix or unmerge cells, you need to find them—especially in large files you didn't create yourself. Excel doesn't highlight merged cells by default, but there's a quick method using the Find feature.

Press Ctrl+F to open Find, then click Options to expand the dialog. Click the Format button next to the "Find what" field. In the Format Cells dialog that opens, go to the Alignment tab and check Merge cells. Click OK, then click Find All. Excel will list every merged cell in the active sheet in the results pane—you can click any result to jump to it, or select all of them and unmerge in one action.

If you're comfortable with VBA, a macro can loop through all cells and log merged ranges to a new sheet. But the Find method is fast enough for most cases and doesn't require any coding.

When to Merge vs. When to Avoid It

🔴 Safe to Merge

These use cases work well with merged cells because the data isn't sorted, filtered, or used in analytical formulas.

🟠 Avoid Merging

Merging here will break Excel features or create maintenance headaches down the line.

🟡 Use Center Across Selection Instead

This formatting trick gives the visual appearance of a merge without the functional drawbacks.

Why Merged Cells Break Sorting and Filtering

This is where a lot of people run into trouble. Merged cells and Excel's data tools don't play nicely together—and it's not a minor inconvenience. It can completely block operations you rely on.

Sorting

Try to sort a column that contains merged cells and Excel throws an error: "To do this, all the merged cells need to be the same size." Even if they are the same size, sorting reorders rows in ways that split your merged cell across different positions—which Excel won't allow. The sort fails entirely, not just for the merged rows.

Filtering

AutoFilter on a column with merged cells only shows the first row of each merged block. The other rows get hidden, even if they're not matched by the filter. Your data effectively disappears, and there's no clean way to recover the view without removing filters and fixing the merges. This is one reason Excel MVPs almost universally advise keeping raw data tables completely free of merged cells.

Formulas and references

Formulas that reference merged cells use the top-left cell address. That's usually fine. But if you're dragging a formula down a column and some cells in the reference range are merged, the fill behavior gets unpredictable—you might get repeated values, blank references, or outright errors. Dynamic array formulas like XLOOKUP and FILTER are particularly sensitive to this.

PivotTables and Power Query

Both tools expect flat, unmerged data. Merged cells in source data cause import errors or silently wrong aggregations. Always unmerge before feeding data into a PivotTable or Power Query.

The Center Across Selection alternative

If you want text to look centered across multiple columns without actually merging, use Center Across Selection. It's in the Format Cells dialog (Ctrl+1 → Alignment tab → Horizontal dropdown → Center Across Selection). This gives the visual effect of a centered header spanning multiple columns—without any merging. Sorting, filtering, and formulas all work normally. It's the professional's choice for data tables that need to stay sortable.

Before You Merge — Quick Safety Checklist

Will this range ever be sorted or filtered? If yes, don't merge — use Center Across Selection instead
Does the data feed a PivotTable or Power Query? Unmerge first
Are there values in cells other than the top-left? Copy them somewhere safe before merging
Is the sheet protected? Unprotect it (Review → Unprotect Sheet) before merging
Are you working inside an Excel Table (Insert → Table)? Convert to range first

Practical Use Cases and Excel Skill Building

Merging cells is one of those Excel skills you'll use constantly once you understand it—and equally, you'll know when not to use it, which is just as valuable. Report headers, invoice layouts, form templates, and dashboard section labels are all legitimate candidates. Data tables, sortable lists, and anything feeding a PivotTable are not.

Mastering cell formatting—merging, alignment, conditional formatting—is a core part of any Excel practice test or certification exam. Microsoft Office Specialist (MOS) exams test exactly this kind of formatting knowledge. If you're preparing for certification, you'll want to practice both the technique and understanding why certain approaches are preferred over others.

Our Excel certification practice test covers formatting, formulas, data management, and more—worth bookmarking alongside your study notes.

If you've been using Excel primarily for formatting and want to expand into data analysis—digging into vlookup excel functions, XLOOKUP, and dynamic arrays—that's a worthwhile next step. For those just getting started, our guide on how to download Microsoft Excel covers all the official options, including free web versions.

Practice Excel Formulas — Free Questions and Answers

How Pros and Cons

Pros

  • How has a publicly available content blueprint — you know exactly what to prepare for
  • Multiple preparation pathways accommodate different schedules and budgets
  • Clear score reporting shows specific strengths and weaknesses
  • Study communities share current insights from recent test-takers
  • Retake policies allow recovery from a difficult first attempt

Cons

  • Tested content scope requires substantial preparation time
  • No single resource covers everything optimally
  • Exam-day performance can differ from practice test performance
  • Registration, prep, and retake costs accumulate significantly
  • Content changes between versions can make older materials less reliable

Excel Questions and Answers

Can you merge cells in Excel without losing data?

Not with Excel's built-in merge feature—it always discards content from all cells except the top-left one. If you need to combine the text from multiple cells, use a formula first. For example, =A1&" "&B1 combines the text from A1 and B1 into a single string. Paste the result as a value into your target cell, then merge. That way you preserve the combined content before merging.

What's the difference between Merge & Center and Center Across Selection?

Merge & Center physically combines the cells into one, which breaks sorting, filtering, and some formulas. Center Across Selection is a formatting trick that makes text appear centered across multiple columns without actually merging them. The cells stay independent, so all Excel data tools work normally. You'll find Center Across Selection in Format Cells (Ctrl+1) → Alignment tab → Horizontal dropdown. It's the better choice for data tables.

Can you merge cells across multiple sheets at once?

No—Excel doesn't support merging cells across different worksheets. Merging only works within a single sheet at a time. If you need identical merged formatting on multiple sheets, select the sheets by right-clicking a tab and choosing 'Select All Sheets', then apply the merge. This applies the merge to the same cell range on all selected sheets simultaneously.

Why is the Merge & Center button grayed out?

A few things can disable the merge button. The most common: your sheet is protected (Review → Unprotect Sheet). Another cause is that the workbook is shared (legacy sharing mode restricts formatting). If you're in a table (inserted via Insert → Table), merging inside the table range is blocked by design—convert the table to a range first (Table Design → Convert to Range).

Does merging cells affect formulas that reference those cells?

Formulas that reference a merged cell use the top-left cell address of the merged range. So if you merged A1:C1, a formula like =A1 returns the merged cell's content correctly. Problems arise when you try to fill formulas down a column that includes merged cells of different sizes—Excel can't predict how to handle the pattern consistently, and you'll often get errors or blank results.

How do I find all merged cells in a spreadsheet?

Use Find & Replace. Press Ctrl+H to open the dialog, click 'Options' to expand it, then click 'Format' next to the Find field. In the Format Cells dialog that opens, go to the Alignment tab and check 'Merge cells'. Click OK, then click 'Find All'. Excel lists every merged cell in the sheet. You can select them all from that list and unmerge in one go.
▶ Start Quiz