How to Center Cells Across Selection in Excel
In this article
To center text across a range of cells in Excel, select the cells you want the text to span, open the Alignment tab of the Format Cells dialog (Ctrl+1 on Windows, Cmd+1 on Mac), and choose Center Across Selection from the Horizontal drop-down. This gives you the merged look without actually merging cells, so sorting, filtering, and formulas keep working normally. The one requirement is that the leftmost cell in your selection must contain the text; the other cells should be empty.
What You'll Need
- Microsoft Excel for Windows, Mac, or the web version (the feature exists in all three, though the dialog looks slightly different).
- A worksheet where the text you want centered sits in the leftmost cell of the range you plan to select.
- Empty cells to the right of that text, because Center Across Selection only displays across blank cells.
Step-by-Step
- Click the cell that contains the text you want to center. For example, if A1 holds your title, click A1.
- Hold Shift and click the last cell of the range you want the text to span, such as D1. The selection now covers A1:D1. Alternatively, drag from the first cell to the last.
- Press Ctrl+1 on Windows or Cmd+1 on Mac to open the Format Cells dialog. You can also right-click the selection and choose Format Cells.
- Go to the Alignment tab. This is the second tab in the dialog on desktop versions.
- Open the Horizontal drop-down and select Center Across Selection. It appears near the bottom of the list, below the standard alignment options.
- Leave the Vertical drop-down at whatever you prefer (typically Bottom or Center). Vertical alignment is independent of the horizontal setting.
- Click OK. The text now appears centered across the full width of A1:D1, even though only A1 contains the value.
- To confirm it worked, click any cell in the range and look at the formula bar. The text still lives only in A1, and B1 through D1 remain empty.
In Excel for the web, the path is similar but the dialog is simplified: select the range, open the Home tab, click the small arrow in the bottom-right corner of the Alignment group, and choose Center Across Selection from the Horizontal list. Labels can differ slightly by version, device, and region, so if you do not see the exact wording, look for the Alignment settings area.
Common Mistakes
- Putting text in more than one cell of the range. Center Across Selection only works when all cells except the leftmost are empty. If B1 also has content, Excel centers each cell's text within its own cell instead of spanning the range.
- Confusing it with Merge & Center. Merge & Center physically combines cells, which breaks sorting, filtering, and copy-paste of rows. Center Across Selection is a display setting only, so the underlying grid stays intact.
- Selecting the wrong starting cell. The text must be in the leftmost cell of your selection. If you select B1:E1 but the text is in A1, nothing will appear centered.
- Expecting it to work on a single cell. With only one cell selected, the option has no visible effect because there is nothing to span.
- Applying it to a vertical range. Center Across Selection is horizontal only. To center text vertically across rows, use Merge Cells or adjust row heights and vertical alignment instead.
Tips
- Use Center Across Selection for report titles and header rows where you want a clean look but still need to sort or filter the table below.
- If you later need to undo the effect, select the same range, open Format Cells, and set Horizontal back to General.
- You can copy the formatting to other ranges with the Format Painter, which saves repeating the dialog steps.
- Keyboard shortcut Ctrl+1 (Cmd+1 on Mac) opens Format Cells directly and is faster than hunting through the ribbon.
- If the centered text looks off-center, check for extra spaces at the start or end of the cell value, and confirm the column widths are roughly equal.
Troubleshooting
If the text does not appear centered after you apply the setting, first check that every cell to the right of the text is truly empty. A stray space counts as content and will stop the span. Select the range, press Delete to clear the cells, and reapply Center Across Selection.
If the option is greyed out, you may have selected a single cell or a range that includes a merged cell. Unmerge any merged cells first (Home tab > Merge & Center drop-down > Unmerge Cells), then try again.
If the text appears centered but shifts when you change column widths, that is expected: Center Across Selection recalculates based on the total width of the selected columns. Widen or narrow the columns and the text re-centers automatically.
If you are on Excel for the web and cannot find the setting, make sure you are editing, not viewing, the file. Some older browsers or limited views hide formatting options. Try a current version of Chrome, Edge, Firefox, or Safari.
If the workbook was created in an older version and the setting seems missing, verify the file is saved in a modern format (.xlsx). Legacy .xls files still support the feature, but the dialog layout differs.
Frequently Asked Questions
Does Center Across Selection merge cells?
No. It is purely a display setting. The cells remain separate, so you can still sort, filter, insert rows, and reference each cell individually in formulas.
Can I center text across a selection that includes non-adjacent cells?
No. The range must be contiguous. Select a single block of adjacent cells in one row.
Why does my text disappear when I apply Center Across Selection?
Most likely the leftmost cell of your selection is empty and the text is in a different cell. Move the text to the first cell of the range and reapply.
Does it work in Excel for Mac?
Yes. The steps are the same, using Cmd+1 instead of Ctrl+1 to open Format Cells.
Can I use Center Across Selection on multiple rows at once?
Yes, but each row needs its own text in the leftmost cell of that row's range. Select all the rows together and apply the setting once.
Is Center Across Selection available in Google Sheets?
Google Sheets does not offer this exact option. The closest alternative is merging cells, which has the same limitations as Excel's Merge & Center.