> For the complete documentation index, see [llms.txt](https://docs.qolaba.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.qolaba.ai/chatbot/toolkit/spreadsheet-analysis.md).

# Spreadsheet Analysis

The Spreadsheet Analysis tool lets the chatbot parse, clean, and analyze CSV and Excel files directly within chat — turning raw data into structured insights without leaving the conversation.

***

#### What It Does

When Spreadsheet Analysis is enabled and a file is attached, the model reads the data structure, identifies patterns, and performs analysis based on your prompt. This goes beyond simply reading the file — it actively processes the data and returns structured, actionable output.

Common use cases:

* Sales and revenue report analysis
* Financial summaries and KPI tracking
* Survey data aggregation and interpretation
* Forecasting and trend identification
* Data cleaning and deduplication

***

#### How to Enable It

Toggle **Spreadsheet Analysis** on in the Toolkit panel and attach your CSV or Excel file. Describe what you need in your prompt.

**Example prompt:**

```
Analyze this sales report, identify the top 5 performing
regions by revenue, and flag any months with negative growth.
```

{% hint style="info" %}
Ensure your spreadsheet has clear column headers and consistent data formatting before uploading. Messy or merged cells may affect analysis accuracy.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.qolaba.ai/chatbot/toolkit/spreadsheet-analysis.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
