ElyxAI
formulas

How to How to Use DROP Function in Excel

Excel 365Excel 2021Excel Online

Learn how to use the DROP function to remove rows or columns from a range in Excel. This dynamic array function lets you exclude a specified number of rows from the top or columns from the left of your data, making it ideal for skipping headers or cleaning datasets without manual deletion.

Why This Matters

DROP streamlines data manipulation by dynamically removing unwanted rows or columns, eliminating manual deletion and improving formula flexibility in data analysis workflows.

Prerequisites

  • Basic understanding of Excel ranges and cell references
  • Familiarity with Excel 365 or Excel 2021+ dynamic array functions
  • Knowledge of rows and columns structure

Step-by-Step Instructions

1

Open Your Excel File and Select a Cell

Launch Excel and open your workbook containing the data range you want to modify. Click on an empty cell where you want the result to appear.

2

Enter the DROP Function Syntax

Type the formula: =DROP(array, rows_to_drop, [columns_to_drop]). Replace 'array' with your data range (e.g., A1:D10), 'rows_to_drop' with the number of rows to remove from top.

3

Specify Rows to Remove (Required)

Enter the number of rows to exclude from the beginning of your range. Use 0 if you don't want to remove any rows, or a positive integer for the count.

4

Add Columns to Remove (Optional)

Add a third parameter to remove columns from the left: =DROP(A1:D10, 1, 1) removes 1 row and 1 column. Leave blank if only removing rows.

5

Press Enter and Review Results

Press Enter to execute the formula. The DROP function displays the resulting range without the specified rows/columns in the selected cell area.

Alternative Methods

Using OFFSET Function

Combine OFFSET with COUNTA to skip rows dynamically. This method requires more complex syntax but works in older Excel versions without dynamic arrays.

Using FILTER with Conditional Logic

Use FILTER to exclude specific rows based on conditions rather than fixed positions. This offers more flexibility for conditional data removal.

Manual Deletion and Sorting

Manually delete rows or use Data > Sort & Filter to reorganize data. This is simpler for one-time edits but less efficient for recurring tasks.

Tips & Tricks

  • Use DROP with TAKE to both remove and limit rows simultaneously for cleaner data extraction.
  • Combine DROP with other dynamic array functions like SORT or UNIQUE for advanced data transformations.
  • Always reference absolute ranges (e.g., $A$1:$D$10) to prevent errors when copying formulas down.

Pro Tips

  • Nest DROP inside FILTER: =FILTER(DROP(data, 1), criteria) removes the header row and applies filtering in one formula.
  • Use negative values carefully—DROP doesn't support negative row/column parameters; use TAKE for bottom rows.
  • Combine with SEQUENCE for dynamic range selection based on data size changes.

Troubleshooting

DROP function returns #NAME? error

This function is only available in Excel 365 and Excel 2021+. Update your Excel version or use OFFSET as an alternative for older versions.

Result shows unexpected values or truncated data

Verify that your array parameter correctly references the full data range and that rows_to_drop doesn't exceed available rows. Check for merged cells blocking results.

Formula doesn't spill to adjacent cells

Ensure your Excel version supports dynamic arrays and that no data is obstructing the output range. Clear adjacent cells if needed.

Related Excel Formulas

Frequently Asked Questions

What's the difference between DROP and FILTER?
DROP removes a fixed number of rows or columns from a specific position, while FILTER removes rows based on conditions. Use DROP for positional removal and FILTER for conditional exclusion.
Can DROP remove rows from the bottom instead of the top?
No, DROP only removes from the top (rows) or left (columns). To remove from the bottom, use TAKE with a negative row count or nest DROP inside other functions.
Does DROP work with non-contiguous ranges?
No, DROP requires a single contiguous range. If your data is scattered, use FILTER or consolidate your data first.
Can I use DROP in Excel Online or Teams?
Yes, Excel Online and Microsoft Teams support DROP as part of Excel 365 dynamic array functions, provided your subscription is current.

This was one task. ElyxAI handles hundreds.

Sign up