Ctrl+Enter in Excel: Fill Many Cells at Once
By ExcelReady TeamUpdated 5 min read
The short answer
In Excel, Ctrl+Enter enters what you typed into every selected cell at once, instead of only the active cell. Select the range, type a value or formula, then press Ctrl+Enter (Mac: Control+Return). Formulas adjust their relative references for each cell, like Fill Down. With one cell selected, Ctrl+Enter confirms the entry and stays in that cell.
Key takeaways
- Select the cells, type once, press Ctrl+Enter (Mac: Control+Return): every selected cell gets the entry.
- Relative references adjust for each cell; lock fixed cells with $ before you press Ctrl+Enter.
- It works on non-adjacent cells too: Ctrl+click (Mac: Command+click) to build the selection.
- Ctrl+Enter enters the content only; Ctrl+D copies the top cell's formatting as well.
- Combined with Go To Special > Blanks, it fills every empty cell in a column in seconds.
On this page+
Ctrl+Enter in Excel enters what you type into every selected cell at once. Select a range, type a value or a formula, press Ctrl+Enter (Mac: Control+Return), and the whole range is filled in one step, with no copying and no dragging. This guide shows how it works with values and formulas, how to use it on scattered cells and blanks, and how it compares with Fill Down.
What does Ctrl+Enter do in Excel?#
Ctrl+Enter confirms an entry in all the selected cells instead of just the active cell. The active cell is the white one in a selection, where your typing appears.
It has two uses:
- Several cells selected: the entry goes into every one of them.
- One cell selected: the entry is confirmed and the same cell stays selected. Plain Enter would move down. That's handy when you want to type a formula and then look at the result, or copy it straight away.
| Shortcut | Windows | Mac | What it does |
|---|---|---|---|
| Enter | Enter | Return | Confirms the entry in the active cell and moves down |
| Fill selection | Ctrl+Enter | Control+Return | Puts the entry into every selected cell |
| Fill Down | Ctrl+D | ⌘D | Copies the top cell into the cells below, with its formatting |
| Fill Right | Ctrl+R | ⌘R | Copies the left cell into the cells to the right |
| Array formula | Ctrl+Shift+Enter | ⌘+Shift+Return | Enters a legacy array formula (older Excel) |
Don't mix up Ctrl+Enter with Alt+Enter, which starts a new line inside a cell (Mac: Option+Return).
How to fill many cells at once with Ctrl+Enter#
Here's how to put the word "Pending" into a block of cells:
- Select the cells, for example D2:D20. Drag with the mouse, or click the first cell and use Shift+arrow keys.
- Type
Pending. It appears only in the active cell for now. - Press Ctrl+Enter (Mac: Control+Return).
Every cell in D2:D20 now says Pending. The selection stays in place, so you can see what changed. The same works for numbers, dates and formulas. If you press Enter by mistake, only the first cell is filled: press Ctrl+Z (Mac: ⌘Z), select the range again and retry.
Ctrl+Enter with formulas: relative and absolute references#
When you enter a formula with Ctrl+Enter, Excel writes it into the active cell and then adjusts the relative references for every other cell, exactly as if you had filled it down. Take this sales table, with a bonus rate of 5% in F1:
| A | B | C | |
|---|---|---|---|
| 1 | Rep | Sales | Bonus |
| 2 | Hana | 8,400 | |
| 3 | Luis | 6,200 | |
| 4 | Grace | 9,100 |
- Select C2:C7, with C2 as the active cell.
- Type
=B2*$F$1. - Press Ctrl+Enter.
C2 gets =B2*$F$1 and returns 420. C3 gets =B3*$F$1 (310), C4 gets =B4*$F$1 (455), and so on. B2 is relative, so it moves down one row per cell. $F$1 is absolute: the dollar signs lock it, so every row uses the same rate. Without them, C3 would point at F2, which is empty, and return 0.
Always write the formula for the active cell, the one where your typing appears. If the active cell is C7 because you selected from the bottom up, write =B7*$F$1. The guide on applying a formula to a whole column compares Ctrl+Enter with the fill handle and Excel Tables.
Fill non-adjacent cells and blank cells#
Ctrl+Enter doesn't need a neat block. Hold Ctrl (Mac: ⌘) and click scattered cells to build a selection, type the entry, and press Ctrl+Enter. Every selected cell gets it, which is a quick way to mark several rows "N/A" or reset a few scores to 0.
Its most famous use is filling blanks. In a report where each group name appears only once, with blank cells below it:
- Select the column.
- Press F5 (Mac: Control+G), click Special, choose Blanks and click OK. Only the empty cells are now selected.
- Type
=and press the up arrow, which points the first blank at the cell above it. - Press Ctrl+Enter.
Every blank now copies the value above it. The full method, including how to turn the formulas into fixed values, is in how to fill blank cells in Excel, and Go To Special shows the other selections it can make.
To fill only the visible rows of a filtered list, select the range, then use Go To Special > Visible cells only (Windows shortcut: Alt+;) before typing. That way hidden rows aren't touched.
Ctrl+Enter vs Ctrl+D: which should you use?#
Both put the same formula into many cells, but they work differently. Ctrl+D copies the top cell of the selection down, including its formatting, so the first cell must already hold the formula. Ctrl+Enter enters what you're typing and leaves each cell's formatting alone.
Use Ctrl+Enter when you haven't typed the formula yet, when the cells aren't next to each other, or when the cells have formatting you want to keep, such as coloured bands. Use Ctrl+D when the first cell is already correct and you just need to copy it down. The article on Fill Down and Fill Right covers Ctrl+D and Ctrl+R in detail.
Common Ctrl+Enter problems#
If Ctrl+Enter doesn't give the result you expect, check these:
- Only one cell filled. The selection was lost, often because you clicked a cell while building the formula. Select again and use the keyboard to point at cells.
- Every row shows the same wrong answer, or zeros. A reference that should be locked wasn't. Add
$to the fixed cell (press F4 on Windows while the cursor is in the reference; on a Mac, ⌘T). - Existing data overwritten. Ctrl+Enter replaces whatever was in the selected cells. Undo with Ctrl+Z (Mac: ⌘Z).
- Formula points at the wrong row. You wrote it for a cell other than the active one. Rewrite it for the active cell.
For more time-savers like this, see the Excel keyboard shortcuts cheat sheet.
Practise it#
Shortcuts only stick once your fingers know them, and speed matters in a timed test. Practise Fill Down and Fill Right in a live spreadsheet: you type the formula and it checks it instantly. Then build your selection skills in the selection shortcuts lesson, and test your speed in the basic Excel mock test.
Try it yourself
This is a live spreadsheet. Type the formula in the green cell and press Enter.
In real Excel you'd select C2:C7, type one formula and press Ctrl+Enter. Here, type the formula for the first cell: in C2, multiply the sales in B2 by the bonus rate in F1, locking F1 with $ so it would stay fixed in every cell.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Bonus | ||||||
| 2 | |||||||
| 3 | |||||||
| 4 | |||||||
| 5 | |||||||
| 6 | |||||||
| 7 | |||||||
| 8 | |||||||
| 9 | |||||||
| 10 |
Tip: Use B2 as a normal reference and $F$1 as the locked rate: =B2*$F$1.
Practise this in a lesson
Frequently asked questions
What does Ctrl+Enter do in Excel?
It puts the value or formula you just typed into every selected cell, not only the active one. If only one cell is selected, it confirms the entry and keeps that cell selected instead of moving down.
What is Ctrl+Enter on a Mac?
In Excel for Mac, press Control+Return to fill the selected cells with the current entry.
What is the difference between Ctrl+Enter and Ctrl+Shift+Enter?
Ctrl+Enter fills the selected cells with the same entry. Ctrl+Shift+Enter enters a legacy array formula, which older Excel versions needed for some calculations on ranges.
Why did Ctrl+Enter only fill one cell?
Usually the range was no longer selected when you pressed it, for example because you clicked a cell while typing a formula. Select the range again, type the entry, and press Ctrl+Enter without clicking the sheet.
Does Ctrl+Enter copy formatting?
No. It enters the content only, and each cell keeps its own formatting. Fill Down with Ctrl+D copies the top cell's formatting as well.