# 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: 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.qolaba.ai/chatbot/toolkit/spreadsheet-analysis.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.
