To select only the visible cells in a filtered or hidden-row range in Excel Online (Excel for the web), the simplest reliable method is to apply a filter, select the range, and copy it — when a filter is active, Excel Online copies only the visible rows. In current versions of Excel for the web you can also try the desktop shortcut Alt+; (Select Visible Cells) to restrict a selection to visible cells before you copy or delete. Excel Online has no Find & Select > Go To Special dialog like the desktop app, so these two methods are what you have to work with. Below is the full process, plus what to do when hidden rows sneak into your copied data.

What You'll Need

  • A workbook open in Excel for the web (via OneDrive, SharePoint, or Teams) in a modern browser
  • Either rows hidden by a filter or manually hidden rows/columns in the sheet
  • Edit permission on the workbook if you plan to delete or modify the selected cells

Step-by-Step

  1. Open your workbook in Excel Online by navigating to it in OneDrive or SharePoint and clicking the file name. It will open in the browser editor.
  2. Hide the rows you don't want. If you haven't already, select your data, go to the ribbon and choose Data > Filter (labels can differ slightly between versions), then use the filter drop-down arrows in the header row to uncheck the values you want hidden. Manually hidden rows (right-click > Hide) work the same way.
  3. Select the range of visible cells by clicking the first cell and dragging to the last cell of the range, including hidden rows inside the selection — that's fine.
  4. Try the visible-cells shortcut. Press Alt+; (Alt key plus semicolon). If your version of Excel for the web supports it, the selection immediately shrinks to only the visible cells, and you'll see the selection broken into separate blocks. If nothing appears to change, don't worry — move to the next step, because the filter alone is usually enough.
  5. Copy the selection with Ctrl+C (or Cmd+C on Mac). With a filter active, Excel Online copies only the visible rows, skipping anything hidden.
  6. Paste where you want the data — click the destination cell and press Ctrl+V (Cmd+C on Mac). Only the visible rows appear. If you're pasting values without formatting, use right-click > Paste Special > Values or the paste options button that appears after pasting.
  7. To delete only visible cells, select the filtered range, press Delete to clear contents, or right-click and choose Delete Row to remove entire filtered rows. With a filter active, deletions apply only to visible rows — but double-check before deleting, as this cannot always be undone cleanly in the browser.
  8. Clear the filter when you're done via Data > Filter again or by choosing “Clear filter” in the drop-down arrow menu.

Common Mistakes

  • Copying without a filter active. If you manually hid rows but never applied a filter, Excel Online may copy the hidden rows too. Applying a filter (even one that shows everything) or using Alt+; prevents this.
  • Assuming Alt+; always works. Support for this shortcut in Excel for the web depends on the version and your keyboard layout. If it doesn't shrink the selection, rely on the filter-and-copy method instead.
  • Selecting entire columns. Clicking a column letter selects over a million cells, hidden or not, which makes pasting slow and messy. Select just the data range you need.
  • Pasting into a filtered range. Pasting a block of data into cells where rows are hidden can scatter values into hidden rows. Paste into a clean, unfiltered area.
  • Forgetting hidden columns. Filters hide rows; hidden columns are handled separately. If columns are hidden, unhide them or select around them manually.

Tips

  • The row numbers of filtered-out rows turn blue-ish or appear non-consecutive — a quick visual check that a filter is active before you copy.
  • For repeated exports of filtered data, paste into a separate sheet or workbook so your source data stays intact.
  • If you have the desktop Excel app installed, opening the file there gives you the full Home > Find & Select > Go To Special > Visible cells only dialog, which is the most reliable tool for this task.
  • Use Ctrl+Shift+L to quickly toggle filters on and off a selected range in Excel for the web.

Troubleshooting

  • Alt+; does nothing. Click a cell inside the sheet first so the grid has keyboard focus (not the browser address bar or a task pane), then try again. Some non-US keyboard layouts need a different key for the semicolon. If it still fails, use the filter-and-copy method, which doesn't depend on the shortcut.
  • Hidden rows still get pasted. This usually means no filter was active when you copied. Reapply Data > Filter, confirm some rows are filtered out, then copy again.
  • The paste looks wrong or misaligned. You may have pasted into a filtered range. Undo with Ctrl+Z, unfilter or pick a clean destination, and paste again.
  • The ribbon or shortcuts are unresponsive. Reload the browser page (your changes are saved automatically to OneDrive/SharePoint), make sure you're in Edit mode rather than Viewing mode, and try a different browser such as Chrome or Edge if the problem continues.
  • You only have view permission. Ask the file owner for edit access, or open the file in the desktop app if you have a license, where Go To Special is available.

Frequently Asked Questions

Does Excel Online have Go To Special > Visible Cells Only?

No. Excel for the web does not include the Go To Special dialog from the desktop app. Use a filter plus copy, or the Alt+; shortcut if your version supports it.

Does Alt+; work in Excel for the web?

It works in current versions, but support depends on the version and keyboard layout. If it doesn't select visible cells, filtering the data and then copying achieves the same result.

Will copying a filtered range include hidden rows?

No. When a filter is active, Excel Online copies only visible rows. The risk is with manually hidden rows and no filter, which may be copied along with everything else.

Can I delete only the visible cells in Excel Online?

Yes. With the filter applied, select the visible cells and press Delete to clear contents, or right-click and delete the rows. Only visible (filtered-in) rows are affected.

Does this work for hidden columns too?

Filters hide rows only. Alt+; should exclude hidden columns from a selection where supported, but the filter-and-copy method won't — unhide columns or select around them manually.

Why does my pasted data have gaps or wrong rows?

Most likely you pasted into an area with a filter or hidden rows, so values landed in hidden cells. Undo, clear the filter at the destination, and paste into an empty unfiltered range.