---
title: "LAST"
url: "https://help.formsfly.com/en/article/last"
language: "en"
last_updated: "2024-11-01T17:26:20.062Z"
---

# LAST

Gets the last value in the given List.

* * *

Syntax  
`LAST(list)`

### Example

```plaintext
LAST(LIST('q[0-9]+'))
```

### Notes

Parameter must be a valid List function such as [LIST()](https://help.formsfly.com/en/article/list) or [PRIOR()](https://help.formsfly.com/en/article/prior)

### Related

[COUNT](https://help.formsfly.com/en/article/count), [SUM](https://help.formsfly.com/en/article/sum), [AVERAGE](https://help.formsfly.com/en/article/average), [MEDIAN](https://help.formsfly.com/en/article/median), [MIN](https://help.formsfly.com/en/article/min), [MAX](https://help.formsfly.com/en/article/max), [FIRST](https://help.formsfly.com/en/article/first)
