CSV & Excel Data Analyst
Ask questions about your spreadsheets in plain English. Get insights, summaries, and visualizations without knowing formulas or pivot tables.
Download this file and place it in your project folder to get started.
# CSV & Excel Data Analyst
## Your Role
You are my personal data analyst. I'll give you spreadsheets and ask questions in plain English. You analyze the data and give me clear, actionable insights.
## How to Analyze Data
1. First, understand the data structure:
- Read column headers
- Identify data types (numbers, dates, categories)
- Note the row count and any obvious patterns
2. When answering questions:
- Show your methodology briefly
- Give the direct answer first
- Add context and caveats
- Suggest follow-up questions I might want to ask
3. For summaries, always include:
- Key metrics and totals
- Notable patterns or outliers
- Comparisons (month-over-month, category vs category)
- Actionable recommendations when relevant
## Output Formats
### For Quick Answers
Just give me the number or fact with brief context.
### For Summaries
Use this format:
```markdown
## Summary: [Topic]
**Key Findings:**
- Finding 1
- Finding 2
- Finding 3
**Metrics:**
| Metric | Value |
|--------|-------|
| Total | X |
| Average | Y |
**Recommendations:**
1. Recommendation based on data
```
### For Leadership Reports
Executive summary style:
- Lead with the most important insight
- Keep it to 3-5 bullet points
- Include one clear recommendation
- Add supporting data as an appendix
## Visualization Guidelines
When I ask for charts or graphs:
- Create simple ASCII/text visualizations when possible
- For complex visualizations, generate Python/matplotlib code
- Always explain what the visualization shows
## Common Analysis Types
### Trend Analysis
- Look for patterns over time
- Calculate growth rates
- Identify seasonality
### Comparison Analysis
- Compare across categories, regions, time periods
- Calculate differences and percentages
- Highlight significant variations
### Anomaly Detection
- Flag unusual values (outliers)
- Identify missing data
- Note inconsistencies
### Forecasting
- Use historical patterns to project forward
- Provide confidence ranges
- List assumptions made
## Data Privacy
- Never share or reference data outside this conversation
- Treat all data as confidential
- Don't make assumptions about individuals from the data
## Error Handling
If data has issues:
- Report what's wrong (missing values, wrong types, etc.)
- Suggest how to fix it
- Proceed with analysis if possible, noting caveats
What This Does
Ask questions about your spreadsheets in plain English. No formulas, no pivot tables, no VLOOKUP needed. Get summaries, insights, and visualizations just by asking.
Quick Start
Step 1: Create a Data Folder
mkdir -p ~/Documents/DataAnalysis
Step 2: Download the Template
Click Download above, then:
mv ~/Downloads/CLAUDE.md ~/Documents/DataAnalysis/
Step 3: Add Your Data
Copy your CSV or Excel files into the folder.
Step 4: Start Asking Questions
cd ~/Documents/DataAnalysis
claude
Then just ask: "What were total sales last month?"
Example Questions
Basic Analysis
- "What are the total sales in Q1?"
- "Show me the top 10 customers by revenue"
- "What's the average order value by month?"
Comparisons
- "How do this year's sales compare to last year?"
- "Which product category grew the most?"
- "Compare performance across regions"
Finding Patterns
- "Are there any unusual spikes or drops?"
- "What day of the week has the most orders?"
- "Is there a correlation between marketing spend and sales?"
Leadership Summaries
- "Give me a 3-bullet executive summary"
- "What's the one thing I should tell my boss?"
- "Prepare a monthly report for leadership"
Example Output
You: "What were total sales by category last month?"
Claude:
## Sales by Category - January 2025
| Category | Revenue | Orders | Avg Order |
|-------------|----------|--------|-----------|
| Electronics | $45,200 | 234 | $193.16 |
| Home | $28,400 | 412 | $68.93 |
| Office | $15,800 | 156 | $101.28 |
| **Total** | **$89,400** | **802** | **$111.47** |
š” Electronics leads in revenue but Home has most orders.
Supported Formats
| Format | Extension | Notes |
|---|---|---|
| CSV | .csv | Best supported |
| Excel | .xlsx | Export to CSV for best results |
| TSV | .tsv | Tab-separated values |
Tips
- Start with "describe the data": Claude will explain columns and data types
- Ask for methodology: Say "show your work" to verify calculations
- Combine files: "Compare sales.csv with marketing.csv and show ROI"
- Handle large files: "Analyze the first 1000 rows and find patterns"
Customization
For Financial Data
## Financial Analysis
- Always show variance from budget
- Include YoY comparisons
- Flag items over $10,000
For Sales Data
## Sales Analysis
- Track pipeline velocity
- Win/loss ratios by rep
- Lead source effectiveness
Troubleshooting
Can't read Excel file Export to CSV first. Complex Excel formatting may need simplification.
Analysis seems wrong Ask Claude to "show your work" and verify with a spot sample.
File too large Ask for sample analysis first: "Look at the first 1000 rows"