Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Add a Filter in Excel Web

· 7 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To add a filter in Excel for the web, open your workbook, select any cell inside the data range, then go to the Data tab and click Filter. Drop-down arrows appear in the header row of each column, and you can start narrowing rows immediately. This works in the browser version of Excel on Microsoft 365 and does not require the desktop app, though the two versions differ slightly in what they offer.

What You'll Need

  • A Microsoft account with access to Excel for the web (a free Microsoft account works with OneDrive; a Microsoft 365 subscription adds more features).
  • A workbook stored in OneDrive or SharePoint so it opens in the browser. Local files must be uploaded first.
  • Data arranged in a clean table: one header row with unique column names, no completely blank rows or columns inside the range, and no merged cells in the header.
  • A modern browser such as Edge, Chrome, Firefox or Safari. Excel for the web is not supported in older or embedded browsers.

Step-by-Step

  1. Open the workbook in the browser. Sign in at office.com or onedrive.com, locate the file, and choose to open it in Excel for the web. If the file opens in the desktop app instead, use the browser's address bar to go directly to the file in OneDrive and pick the web editor.
  2. Click any single cell inside your data. Do not select the whole sheet or multiple separate ranges. Excel detects the contiguous block around the active cell and treats that as the range to filter.
  3. Go to the Data tab on the ribbon. The exact tab labels can differ slightly by version, region and whether you are on a work or personal account, but Data is the standard location.
  4. Click Filter. In Excel for the web the button is labelled Filter and sits in the Sort & Filter group. If your data is already formatted as a table, filtering may already be on and this button will toggle it off, so check the header row first.
  5. Confirm the drop-down arrows. Small arrows should appear in each header cell. If they appear in the wrong row, your header row was not detected; turn Filter off, make sure the first row contains text labels and no blanks, then turn it back on.
  6. Open a column's drop-down. Click the arrow in the header of the column you want to narrow. A menu opens with sorting options and a list of the values found in that column.
  7. Choose your filter. Tick or untick individual values in the list, or use the search box at the top of the list to find a value quickly. For text columns you can also use the number and text filter options in the same menu, such as equals, contains, begins with, greater than or less than.
  8. Apply and check the result. Click OK or Apply (the label varies) and the sheet shows only matching rows. The row numbers on the left will skip, which confirms rows are hidden rather than deleted.
  9. Add filters to more columns if needed. Each additional column filter narrows the result further, so two filters combine as an AND condition: a row must match both to stay visible.
  10. Clear or remove filters when finished. Open the column drop-down and choose Clear Filter to show all rows again, or click the Filter button on the Data tab to remove the arrows entirely. Clearing a filter does not change your data; it only unhides rows.

Common Mistakes

  • Leaving blank rows or columns inside the range. Excel stops detecting the data at the first fully blank row or column, so filters cover only part of the sheet. Delete the gaps or move the data into one contiguous block.
  • Merged header cells. Merged cells break the one-arrow-per-column layout. Unmerge the header row before adding filters.
  • Duplicate or blank column names. Two columns with the same header, or a blank header, make it hard to tell which filter you are changing. Give every column a unique label.
  • Filtering a single selected column instead of the whole range. If you select only one column before clicking Filter, other columns may not get arrows. Select one cell inside the data instead.
  • Assuming hidden rows are deleted. Filtering only hides rows. Copying a filtered range can paste hidden rows too if you are not careful, so copy visible cells only when you need a clean extract.
  • Expecting desktop-only features. Excel for the web supports the core filter options, but some advanced filter types and custom view behaviour are only in the desktop app. If a menu item is missing, that is usually why.

Tips

  • Format your range as a table (Insert > Table) before filtering. Tables keep the filter arrows attached as you add rows, and they name columns automatically.
  • Use the search box inside a column's filter list for long lists of values; it is faster than scrolling and ticking.
  • Filter one column at a time and check the row count as you go, so you can tell which filter removed too much.
  • If you need to keep a filtered view, copy the visible rows to a new sheet rather than relying on the filter staying applied.
  • Freeze the header row (View > Freeze Panes) so the filter arrows stay visible when you scroll down a long sheet.
  • Remember that sorting and filtering are separate: sorting reorders rows, filtering hides them. Use the sort options in the same drop-down menu when you want order rather than exclusion.

Troubleshooting

The Filter button is greyed out. This usually means the active cell is outside a data range, the sheet is protected, or the workbook is open in a view that does not allow editing. Click inside the data, and check whether the sheet or workbook is protected; you may need the owner to unprotect it.

No arrows appear after clicking Filter. Check that the first row of your range contains text headers and that there are no blank rows directly below the header. Also confirm you are on the Data tab of the web editor, not viewing the file in a read-only preview.

Arrows appear in the wrong row. Excel treated your first data row as a header. Turn Filter off, insert a proper header row above the data, then turn Filter back on.

Some rows will not come back after clearing. A filter may still be active on another column. Clear filters on every column, or toggle the Filter button off and on again. If rows are still missing, check for manually hidden rows (row numbers that skip without a filter).

The page is slow or the filter menu will not open. Refresh the browser tab, sign out and back in, and try a different browser. Very large ranges are slower in the web editor; narrowing the range or working in the desktop app can help.

Changes will not save. Confirm you have edit permission on the OneDrive or SharePoint file, and that you are signed in with the account that owns or shares it. If the file is checked out or locked by another user, saving may fail until the lock clears.

Frequently Asked Questions

Does filtering in Excel for the web change my data?

No. Filtering only hides rows that do not match. The underlying values stay in place, and clearing the filter brings every row back.

Can I filter more than one column at once?

Yes. Each column has its own drop-down, and active filters combine so a row must match all of them to remain visible.

Why do I see fewer filter options than in the desktop app?

Excel for the web covers the common filter types but not every advanced option. For features that are missing, open the file in the Excel desktop app if you have it.

Can I filter on a phone or tablet?

The Excel mobile app has its own filter controls, usually reached from the column header menu. The exact layout differs from the browser, so look for the filter icon rather than the Data tab.

How do I remove filters completely?

Go to Data > Filter to toggle the arrows off, or open each column drop-down and choose Clear Filter. Removing the filter does not delete any rows.

Can I share a filtered view with someone else?

Filters are part of the workbook state, so someone opening the same file may see the filter applied. For a guaranteed clean copy, copy the visible rows to a new sheet and share that.