# TAKE

## Content

The function returns a specified number of contiguous rows or columns from the start or end of an array.

## Syntax

`=TAKE(array, rows,[columns])`

## Arguments

The function has the following arguments:

| Argument | Description |
| -------- | ----------- |
| *array* | Refers to the array from which you can take rows or columns. |
| *rows* | Refers to the number of rows to take. A negative value takes from the end of the array. |
| *columns* | [Optional] Refers to the number of columns to take. A negative value takes from the end of the array. |

## Remarks

The function returns a #CALC! error to indicate an empty array when either row or column is 0.

## Data Types

The function returns an <span style="color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: -0.08px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">array, the type of each value in the array depends on the parameter.</span>

## Examples

![take-snapshot.png](https://gcdocumentsitekrblob.blob.core.windows.net/document-site-files/images/8d606653-16a0-474d-b9dc-e2b4d01c2446/take-snapshot.635972.png)