Excel shortcuts

How to delete only filtered rows in excel shortcut

If you have a large data set in an Excel spreadsheet, you may want to filter it to view only certain rows. For example, you may want to view only rows that contain the word "Error" in column A. Once you have filtered the data, you may want to delete only the filtered rows. This can be done using a simple keyboard shortcut.

First, select the data set that you want to filter. Then, click the "Data" tab on the ribbon and click the "Filter" button. This will insert drop-down arrows next to each column header. Click the drop-down arrow next to the column header that you want to filter on and select the criteria that you want to use to filter the data. For example, if you want to view only rows that contain the word "Error" in column A, you would select "Contains" from the drop-down menu and then type "Error" in the text box. Then, click the "OK" button.

Once the data is filtered, you can delete only the filtered rows by selecting the filtered data and pressing the "Ctrl" and "-" keys on your keyboard at the same time. This will open the "Delete" dialog box. Make sure that the "Shift cells up" option is selected and then click the "OK" button.

You can also use this keyboard shortcut to delete only visible cells in a selection. For example, if you have a selection of cells that contains hidden cells, you can press the "Ctrl" and "-" keys to delete only the visible cells in the selection. This can be useful if you want to delete only certain rows or columns in a data set.

Move beyond 

Excel

Get started with Causal today.
Build models effortlessly, connect them directly to your data, and share them with interactive dashboards and beautiful visuals.