Excel Copy Only Visible Cells

If you just need to excel copy only visible cells and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

In Excel for Windows desktop: select the range and press Alt+; (Home ▸ Find & Select ▸ Go To Special ▸ Visible cells only), then copy — the hidden rows are left behind.

On this page7
▤Annotated stepsExcel
1

Filter, hide or group the rows so only what you want is on screen.

2

Select the range you intend to copy, headers included if you want them.

3

Press Alt+; — or Home ▸ Find & Select ▸ Go To Special ▸ Visible cells only.

4

Check the selection border has become segmented; that is the confirmation.

5

Press Ctrl+C and paste where you need it.

6

To delete only the visible rows, use the same Alt+; step first, then right-click ▸ Delete Row.

Ctrl+CthenCtrl+Shift+V⌘+Cthen⌘+Ctrl+VPaste values · WindowsMac

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, Microsoft lists Shift+⌘+* (asterisk) for Select only visible cells. 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: try it on a copy of the sheet or a handful of sample rows first and check the result before you apply it to the real data. That one habit catches almost every surprise while it is still cheap to reverse.

In Google Sheets

On a Mac, Microsoft lists Shift+⌘+* (asterisk) for selecting only visible cells; ⌘+Shift+Z is Redo, not a selection command. Excel for the web cannot paste only the visible cells of a filtered range, except when the data is a filtered table; otherwise open the workbook in the desktop app. Google Sheets support for this command has not been verified here. Check Google's own help for the Sheets workflow before assuming these steps carry over. 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 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 order of checks rather than the individual clicks: confirm what is selected, apply the step, and look at the result before moving on. That small routine is what keeps Excel work predictable when the same task comes back in a slightly different workbook.

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?

Microsoft lists Shift+⌘+* (asterisk) for Select only visible cells in Excel for Mac. Do not use ⌘+Shift+Z: that is Redo and repeats your last undone edit instead of changing the selection.

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.

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.