# Writing data to spreadsheets: Overwrite and Update

Conduit offers two distinct methods for writing data to spreadsheets: Overwrite and Update.

**Overwrite Method:** In this approach, Conduit clears all existing content within the spreadsheet before writing new data. This method is straightforward but removes any previous information.

**Update Method:** This method preserves existing data, appending new rows at the spreadsheet's end. It's particularly useful for adding more columns and applying specific formatting without losing existing data.

To manage data updates efficiently, Conduit introduces a unique column, the RowUpdateId, placed at the table's extreme right. This column is essential for tracking whether a row has already been included in the spreadsheet. In Update mode, the presence of the RowUpdateId column is mandatory. Absence of this column triggers an error:

*"The RowUpdateId column is missing. Please ensure this column is not removed from the spreadsheet."*

Upon encountering this error, there are two solutions:

1. Export the data to a new, empty spreadsheet. Conduit will automatically generate the RowUpdateId column.
2. Manually add the RowUpdateId column. Note, this option may lead to duplicates if the spreadsheet already contains data.

You can hide RowUpdateId.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.getconduit.app/spreadsheets/writing-data-to-spreadsheets-overwrite-and-update.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
