# Spreadsheets your agent reads row by row

> Upload an Excel or CSV file and your agent reads each row whole, with the sheet name and column headings, so it answers questions about a single record.

When you upload an Excel (xlsx) or CSV file, your agent keeps every row in one piece and attaches the sheet name and column headings to it. A question about one part, price or record is answered from that whole row instead of from half a record with no labels.

## What it does

- **Whole rows stay together.** Rows are packed into chunks without being cut across two chunks.
- **Headings on every chunk.** Each chunk repeats the sheet name and the column list, so a value is never read without its column.
- **One record per line.** Line breaks inside a cell become spaces, and separate sheets are kept apart.
- **Header from the first filled row.** A sheet that starts below a blank first row still keeps its column labels.

## How to use it

1. Open **Knowledge** and add a file (new dashboard: **Add knowledge**; previous dashboard: **Add Source** › **Document Upload**).
2. Choose your xlsx or CSV file.
3. For a CSV, leave **This file contains tables or spreadsheets** unticked to read it row by row.
4. Ask about one record in the [chat test](/agent/test-chat/), such as a part number, and check the answer.

A file is read this way when it is processed, so re-upload an older file to get the same result.

## Limits

- Spreadsheets count toward the same content cap as your other files. See [upload files](/knowledge/upload-files/).
- A row too large for one chunk is split by words, and each piece keeps the headings.
- A column list over 1,000 characters is shortened. Each row still carries its own heading labels.
- Values in merged cells can be missed.
- A CSV uploaded with the tables option ticked is read as a table instead.

## Questions

### Does it work for price lists and catalogs?

Yes. Each row stays whole with its headings, so the agent can answer about one item. For a live store catalog, [connect your store](/stores/) so prices and stock stay current.

### Do I need to format my sheet?

Put clear headings in the first row. Short, plain column names give the best answers.

### Does it re-read my file when I edit it?

Upload the new version. The agent answers from the file it was given.

## Related

- [Upload PDF, Word and spreadsheet files](/knowledge/upload-files/)
- [Saved answers (FAQ)](/knowledge/saved-answers/)
- [Add your website](/knowledge/add-your-website/)

Source: https://docs.askvault.co/knowledge/spreadsheets/
