> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runable.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Upload & View XLSX / CSV

> Upload an existing spreadsheet file and view it in the interactive grid.

You can upload any spreadsheet file to Runable and view it in the same interactive grid used for AI-generated spreadsheets. The agent can also read and analyze uploaded files.

## Supported file formats

| Format                 | Extension |
| ---------------------- | --------- |
| Excel (modern)         | .xlsx     |
| Excel (legacy)         | .xls      |
| OpenDocument           | .ods      |
| Comma-separated values | .csv      |
| Tab-separated values   | .tsv      |

## How to upload

<Steps>
  <Step title="Attach the file to your message">
    Click the **+** button next to the input bar and select **Upload files or images**. Or drag and drop the file onto the input area.
  </Step>

  <Step title="Tell the agent what to do">
    You can ask the agent to analyze the data, generate charts, clean up formatting, or create a new spreadsheet based on the uploaded file.

    <Prompt description="Upload and analyze a sales report">
      I uploaded our Q2 sales data (sales-q2.xlsx). Break down total revenue by product category, identify the top 5 best-selling products, calculate month-over-month growth for April, May, and June, and flag any products with declining sales. Create a summary sheet with charts.
    </Prompt>

    <Prompt description="Upload a CSV and convert it to a formatted spreadsheet">
      I uploaded our customer list as a CSV (customers.csv). Convert it to a properly formatted XLSX with these changes: add auto-filters on every column, freeze the header row, widen the columns to fit the content, sort by "Last Purchase Date" descending, and highlight any customer who has not purchased in over 90 days in yellow.
    </Prompt>
  </Step>

  <Step title="View in the grid">
    The spreadsheet opens in the interactive viewer in the side panel. You can scroll, switch tabs, and click into cells.
  </Step>
</Steps>

## Edit an uploaded file

Click the **Edit** button above the grid to enable editing. You can change cell values, insert or delete rows and columns, move data, sort, and paste. Changes save automatically.

For changes that go beyond what the viewer supports (formulas, charts, formatting, conditional rules), ask the agent in chat. It can modify the file and deliver an updated version.

<Prompt description="Ask the agent to restructure an uploaded spreadsheet">
  The customer list I uploaded has duplicate entries. Remove any rows where the email address appears more than once, keeping the most recent entry. Then add a new column called "Customer Segment" and categorize each customer as "Active" (purchased in last 30 days), "At Risk" (31-90 days), or "Inactive" (over 90 days) based on their Last Purchase Date.
</Prompt>

## Next steps

<CardGroup cols={2}>
  <Card title="AI Spreadsheets overview" icon="table" href="/overview">
    See what the agent can generate: formulas, charts, conditional formatting, and more.
  </Card>

  <Card title="Export" icon="file-export" href="/export">
    Download your spreadsheet as XLSX or CSV.
  </Card>
</CardGroup>
