The "you can only copy filtered data" error in Excel appears when you try to paste a filtered range into a place where Excel cannot map the visible cells cleanly—most often because the copy and paste areas overlap, or because you are pasting into a table or another filtered range without telling Excel how to handle the hidden rows. The fix is to copy only the visible cells (Alt+; on Windows, or Select Visible Cells on Mac), paste into a clean area, and avoid overlapping source and destination. If you just need the visible rows elsewhere, copying the filtered range and pasting into a new sheet or a blank column usually clears the message immediately.
What You'll Need
- Excel for Windows or Mac (the steps below note where they differ).
- A worksheet with an active filter applied (AutoFilter or a table filter).
- Enough empty space below or beside your data—or a new sheet—to receive the pasted rows.
Step-by-Step
- Confirm the filter is actually active. Look for the funnel icon in the column header and the row numbers that skip (for example 1, 2, 5, 8). If no rows are hidden, the error is not about filtering—check for a merged cell or a protected sheet instead.
- Select only the visible cells. Highlight the filtered range, then press Alt+; (semicolon) on Windows. On Mac, use Edit > Find > Go To Special, choose Visible cells only, and click OK. Excel outlines the selection with thin white lines between rows—that is your confirmation.
- Copy the selection. Press Ctrl+C (Windows) or Command+C (Mac). Do not click elsewhere before copying, or you will lose the visible-cells selection.
- Choose a destination that does not overlap the source. Paste into a blank area on the same sheet, a new sheet, or a new workbook. Overlapping ranges are the single most common trigger for this error.
- Paste as values if formatting causes trouble. Right-click the destination and choose Paste Special > Values (or use Ctrl+Alt+V then V on Windows). This avoids Excel trying to reconcile row heights and hidden rows from the source.
- If pasting into another filtered range, clear that filter first. Excel cannot reliably paste visible cells into a range that also has hidden rows. Turn off the filter on the destination sheet (Data > Filter to toggle it off), paste, then reapply the filter.
- If the destination is a table, paste outside it. Excel tables have their own row rules. Paste into a normal cell range, then convert or append to the table afterward.
- Verify the row count. Compare the number of pasted rows with the number of visible rows in the source. If they differ, you copied hidden rows too—repeat step 2 before copying.
Menu labels can differ slightly by Excel version, device and region, but the commands above are present in current Excel for Windows and Mac.
Common Mistakes
- Copying before selecting visible cells. A plain Ctrl+C on a filtered range includes hidden rows in the clipboard, and Excel may refuse the paste. Always apply Alt+; first.
- Pasting back into the same filtered column. Source and destination overlap, so Excel cannot resolve which rows to keep.
- Leaving a filter on the destination sheet. Hidden rows there block a clean paste of visible cells.
- Using merged cells in the filtered range. Merged cells break visible-cell selection; unmerge before copying.
- Forgetting that protected sheets block paste. If the destination is protected, unprotect it (you will need the password) or paste to an unprotected sheet.
Tips
- Use Ctrl+Shift+L (Windows) to toggle AutoFilter quickly, which makes it easy to clear a destination filter before pasting.
- Paste into a new sheet when you are unsure—there is no overlap and no existing filter to interfere.
- If you paste often, add the Select Visible Cells button to the Quick Access Toolbar so you do not have to remember Alt+;.
- For one-off exports, copy the filtered range, paste as values into a new sheet, then save that sheet as a separate file—this avoids the error entirely.
Troubleshooting
If the error persists after the steps above, work through these checks in order:
- Restart Excel. Close and reopen the workbook; a stuck clipboard state can cause the message to repeat.
- Clear the clipboard. Press Esc twice, then copy again. On Windows you can also clear the clipboard from the Clipboard pane in the Home tab.
- Check for a second filter or table. A hidden table filter on the destination sheet behaves like an active filter. Select the destination range and confirm no funnel icons appear in its headers.
- Unmerge cells. Select the range, then Home > Merge & Center to unmerge. Reapply merges after pasting if needed.
- Unprotect the sheet. Go to Review > Unprotect Sheet. Warning: this removes protection until you reapply it; make sure you have the password and re-protect afterward.
- Try a new workbook. Copy the visible cells, paste into a brand-new workbook, and save. If that works, the original file has a structural issue—often a corrupt table or merged header.
- Repair the file. Use File > Open > Browse, select the file, click the arrow next to Open, and choose Open and Repair. This can fix table corruption that triggers the error.
Frequently Asked Questions
Why does Excel say I can only copy filtered data?
Excel is telling you the paste operation cannot map the visible rows onto the destination because the ranges overlap, the destination has its own filter, or the clipboard contains hidden rows. Copying only visible cells and pasting to a clean area resolves it.
What is the keyboard shortcut for selecting visible cells only?
On Windows, Alt+; (semicolon). On Mac, there is no default single-key shortcut; use Edit > Find > Go To Special > Visible cells only.
Can I paste filtered data into another filtered sheet?
Not reliably. Clear the destination filter first, paste, then reapply the filter. Pasting visible cells into a range with hidden rows is what triggers the error.
Does this happen with Excel tables as well as AutoFilter?
Yes. Table filters hide rows the same way, and pasting into or out of a filtered table can produce the same message. Paste outside the table, then append the rows.
Will copying visible cells keep my formatting?
A normal paste keeps formatting but may bring row heights that do not match. Use Paste Special > Values if you only need the data, or Paste Special > Formats separately.
Why does the error appear even when I use Alt+;?
Usually because the destination overlaps the source or has an active filter. Move the paste to a blank sheet or clear the destination filter, then try again.