DROP Function. Deletes rows and columns from range of cells.(Microsoft Excel)

02/04/2023

Japanese version.

The DROP function is a new function added to Excel in September 2022 that deletes a portion of a cell range.
It is a function that is often used in combination with other functions rather than on its own.

How it works

=DROP(array,rows,columns)

NameOmissionExplanation
arrayRequired argument.
Specify the target cell range.
rowsRequired argument.
Specifies the number of lines to delete.
Specify 0 for no deletion, or a negative number for deletion from the end.
columns0Specifies the number of columns to delete.
Specify 0 for no deletion, or a negative number for deletion from the end.

Demonstrate

The first argument is the target cell range and the second argument is the number of rows to delete.

If the second argument is a negative number, it is removed from the tail.

The third argument is optional, but here you specify the number of columns to delete.
If no rows are to be deleted, the second argument can be zero or none, followed by a comma.

---

Links

Microsoft Excel Functions Lookup & Reference

Examples of Use

Formula to extract only rows with values.

TEXTSPLIT Function.

If there is a newline character at the end, the last line becomes an error line. The DROP function is used to deal with this problem.

Calculating the median in a Pivot table. Its alternative method.