TOP function - Zoho Sheet - Help Guide

TOP

Returns top part/whole array from the top of given data_range after sorting it in descending order.

 

Syntax

 

TOP(data_range; sort_index; [result_index]; [result_sets])

data_range: The array or range containing the input data. E.g. A2:D8

sort_index: The position of the row/column to sort in the given data_range. E.g. 3

result_index: The position of the row/column, in the given data_range from which you want the result. Defaults to the sort_index value if omitted. E.g. 1

result_sets: The number of rows/columns to return. Defaults to 1 if omitted. E.g. 3

 

Examples  

 

Formula

Result

=TOP(A2:D8;3;1;3)

www.zylker.com/help/api/

www.zylker.com/features/

www.zylker.com/pricing.html


Get a hands-on experience of the function in the embedded range below. 



Possible Errors

 

Errors

Meaning

#N/A!

  • The function could not find the value it was asked to look for. Commonly occurs in VLOOKUP and similar functions.

#NAME!

  • The function name is incorrect or invalid.

  • The given defined name (if any) is invalid.

  • There is a typo in the defined name used in the function.

  • Double quotes are missing for text values in the function.

  • Colon missing in a cell range reference.

#VALUE!

  • The given argument's data type is incorrect or invalid.
    For example, the function =DATE(A1:A3) will return a #VALUE error when a text value is present in the range.

#REF!

  • The given cell reference is incorrect or invalid. This error could occur when a cell/range has been deleted, moved, or pasted over.

 

Similar Functions

  1. BOTTOM