# ADDTO

### Syntax

**ADDTO(list, out)**

| Argument name                               | Description                                                  |
| ------------------------------------------- | ------------------------------------------------------------ |
| <p><strong>list</strong></p><p>Required</p> | Input list of items, or text with items separated by commas. |
| <p><strong>out</strong></p><p>Required</p>  | Existing or new list to add items to.                        |

### Examples

![](https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTaL6FQB3RzlkCwQfN%2F-MA68-wkWs-Xs2Yla7BI%2F-MA690LKZafncY9p31mI%2Fimage.png?alt=media\&token=09fd12e4-3992-4fee-b6fb-d808506a8aee)

* Row 1 adds \[*p1, p2, p3*] to a new list named *list1*.
* Row 2 adds \[*p4, p5*] to the existing list *list1*.
* Row 3 adds *list1* items to *list2*.

Results will be:

* *list1* = \[*p1, p2, p3*]
* *list2* = \[*p4, p5, p1, p2, p3*]
