In Excel: select the range and press Alt+; (Home ▸ Find & Select ▸ Go To Special ▸ Visible cells only), then copy — the hidden rows are left behind.
Filter, hide or group the rows so only what you want is on screen.
Select the range you intend to copy, headers included if you want them.
Press Alt+; — or Home ▸ Find & Select ▸ Go To Special ▸ Visible cells only.
Check the selection border has become segmented; that is the confirmation.
Press Ctrl+C and paste where you need it.
To delete only the visible rows, use the same Alt+; step first, then right-click ▸ Delete Row.
What this does
A plain Ctrl+C over a filtered or grouped range copies everything, including the rows Excel is not showing you, and pasting it elsewhere brings the hidden rows back. Alt+; restricts the selection to visible cells only before you copy; the marching-ants border becomes segmented, which is the visual confirmation that it worked. This applies equally to filtered rows, manually hidden rows and columns, and collapsed outline groups. Deleting works the same way: select, Alt+;, then delete — otherwise you remove rows you cannot see. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. For “excel copy only visible cells”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected cells change, and only then apply the same setup to the full sheet. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. That is what makes a layout choice that keeps the sheet readable and sortable useful in real work: repeatable, auditable, and not dependent on memory or luck.
A worked example
A 5,000-row table filtered to the 120 rows for "North". Select the filtered range, press Alt+; — the selection border breaks into segments — then Ctrl+C and paste onto a new sheet. You get 120 rows. Without Alt+;, the same paste produces all 5,000. The ribbon route is Home ▸ Editing ▸ Find & Select ▸ Go To Special ▸ Visible cells only; on Mac the shortcut is ⌘+Shift+Z or the same Go To Special dialog. Filtering to find something and then copying it out is one of the most common things anyone does in Excel, and without this one shortcut the result quietly contains every row you filtered away. A practical tip before you scale it up: build it once on a small block of test data, confirm the number against the tool on this page, and only then point it at your real sheet. That one habit catches almost every mistake while it is still cheap to fix, long before a wrong figure reaches a report or a colleague.
In Google Sheets
If you are in Google Sheets rather than Excel, the good news is that the formula shown here is identical and the workflow barely changes — menus sit across the top instead of in a ribbon, and a few function names differ slightly, but anything you build here moves across with little or no rework. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. If you take one thing from this page on “excel copy only visible cells”, make it the habit rather than the keystrokes: set the problem up with labelled inputs, reference those cells, and let Excel do the recomputing. Bookmark the page for the syntax, but do the example once in a blank sheet and check it against the tool above — five minutes of hands-on practice fixes the method in memory far better than re-reading, and it surfaces the small snags while they are still harmless. After that the technique is genuinely yours: faster than searching for it again, and reliable enough to drop into work that other people depend on.
Common mistakes
- Copying a filtered range without Alt+; and pasting the hidden rows along with it.
- Deleting filtered rows without Alt+;, which removes hidden rows too — and that is not always undoable once saved.
- Assuming the paste failed because the row numbers are no longer consecutive; the segmented border tells you it worked.
- Expecting Alt+; to help with an autofilter that is hiding rows you actually wanted, rather than checking the filter first.
Frequently asked questions
How do I copy only visible cells in Excel?
Select the range, press Alt+; to restrict the selection to visible cells, then Ctrl+C. The hidden or filtered-out rows are excluded.
What is the shortcut on Mac?
⌘+Shift+Z, or use Edit ▸ Find ▸ Go To ▸ Special ▸ Visible cells only, which works on every version.
How do I delete only the filtered rows?
Select the range, press Alt+; first, then right-click ▸ Delete Row. Without that step you delete the hidden rows as well.
How do I know it worked?
The selection outline changes from a solid block to segmented sections, one per visible group of rows.
Other ways people ask this
On the way here you may have searched this as “excel only copy visible cells”, “copy visible cells only in excel”, “copy pase documentation cells excel” and “excel copy to visible cells only” — it is all the same task, and this page is the single, complete answer to it.
This guide also answers
- excel paste only visible cells
Why do people search for this in so many different ways?
Because the same task has many names. “excel only copy visible cells”, “copy visible cells only in excel”, “copy pase documentation cells excel” all point at the one operation explained on this page, which is why they all lead here.