TAKE Function in Excel: First or Last N Rows of a Range

⏱ 1 min readUpdated 28 September 2026

Dynamic ArrayLevel: ExpertAvailable in: Excel 365 / 2021+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Example 2
  5. Related functions

TAKE returns the first (or last, with a negative number) rows or columns of an array — perfect for top-N reports.

Syntax

=TAKE(array, rows, [columns])
Argument What it means
rows Positive = from the top, negative = from the bottom.

Examples

Example 1

=TAKE(SORT(A2:E500, 5, -1), 10)

Top 10 rows by amount.

Example 2

=TAKE(A2:E500, -5)

Last 5 rows — the latest entries.

DROP · SORT · CHOOSEROWS

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong