Launch price: $49 one-time for all 38 specialists. Get it →
Claude prompts

7 Claude Prompts for Data Analysis, Excel and Finance

Excel formulas, CSV analysis, dashboards, financial forecasts, budgets, stock research and data cleaning.

Updated October 20267 promptsFree to copy, no signup

These Claude prompts help you analyse data, write spreadsheet formulas, design dashboards and plan finances with every assumption visible. They ask Claude to check data quality first, compute numbers rather than estimate them and flag anything uncertain, so you can trust and verify the results.

How to use these prompts

  • Upload files or paste real sample rows, including a messy one, instead of describing your data.
  • Tell Claude which app and version you use so formulas only use functions you have.
  • Ask Claude to use code for calculations where that is available, and to show its working.
  • Spot-check a few results by hand before you rely on them or share them.

The prompts

  1. Excel and Google Sheets formula prompt
  2. Data analysis prompt for a CSV or table
  3. KPI dashboard design prompt
  4. Financial forecast model prompt with assumptions
  5. Personal budget and spending review prompt
  6. Stock and company analysis framework prompt
  7. Data cleaning prompt for messy spreadsheets

1. Excel and Google Sheets formula prompt

Claude chat

Use it when: Use it to get a working spreadsheet formula from a plain-English description, with an explanation and the edge cases handled.

Prompt 01
Write a spreadsheet formula for me.

App and version: [EXCEL 365 / OLDER EXCEL / GOOGLE SHEETS]
What it should do: [PLAIN ENGLISH, E.G. TOTAL EACH REP'S SALES FOR THE CURRENT MONTH, EXCLUDING REFUNDS]
My data layout: [SHEET NAMES, COLUMN LETTERS AND HEADERS, WHICH ROWS HOLD DATA, AND WHICH CELL THE FORMULA GOES IN]
Sample rows: [PASTE 5 TO 10 ROWS, WITH SENSITIVE VALUES REPLACED]

Please:
1. Give the formula ready to paste, using my actual cell references.
2. Explain how it works piece by piece in plain language, so I can adjust it myself later.
3. Handle the edge cases: blank cells, text where numbers are expected, errors, duplicates, dates stored as text, and rows added later. Say how the formula behaves in each.
4. If a simpler or sturdier approach exists, such as a pivot table, a helper column, XLOOKUP instead of nested IFs, or FILTER or QUERY in Sheets, mention it and when to prefer it.
5. Show the expected result for two of my sample rows so I can confirm it works.

Use only functions available in the app and version I named. If my description could mean two different things, ask me before writing the formula.

Why it works: Giving your exact app version, layout and sample rows lets Claude write a formula with your real references that uses functions you actually have. Asking for edge cases and a worked result on your own rows catches the blank cells and text dates that break most formulas.

Tip: Include a messy row in your sample, such as one with a stray space or a text date; that is where most formulas break.

2. Data analysis prompt for a CSV or table

Claude or Claude Code

Use it when: Use it to get summary statistics, trends, anomalies, caveats and chart suggestions from a dataset you paste or upload.

Prompt 02
Analyse this dataset.

<data>
[PASTE THE CSV OR TABLE, OR ATTACH THE FILE]
</data>

What the data is: [SOURCE, WHAT EACH ROW REPRESENTS, TIME PERIOD]
My question: [E.G. WHY DID SALES DROP IN Q3?]
Who the results are for: [E.G. MY MANAGER, A CLIENT, JUST ME]

1. Check the data first: rows, columns, data types, missing values, duplicates, obvious errors, and anything that limits what we can conclude. If a problem is serious, tell me before analysing.
2. Summary statistics for the columns relevant to my question.
3. Trends and patterns over time or across segments, with the numbers behind each.
4. Anomalies and outliers, with possible explanations labelled as hypotheses.
5. A direct answer to my question with your confidence level. Separate what the data shows from what it only suggests, and treat correlation as correlation.
6. Caveats: sample size, missing context, seasonality, and the data that would make us more certain.
7. Two or three charts that would communicate the findings, with chart type, axes and the point each one makes.

If you can run code, use it for the calculations and show your work, so every number is computed rather than estimated. Open with a three-bullet summary written for the audience I named.

Why it works: Checking data quality before analysis stops conclusions being drawn from broken or incomplete data. Using code for the calculations and separating what the data shows from what it suggests keeps the numbers computed rather than estimated and the conclusions honest about causation.

Tip: Upload large datasets as a file rather than pasting them, so Claude can calculate across every row instead of a sample.

3. KPI dashboard design prompt

Claude chat

Use it when: Use it to decide which metrics, charts and filters a dashboard needs to answer a real business question.

Prompt 03
Help me design a dashboard that drives decisions rather than just displaying numbers.

The business question or decision it supports: [E.G. WHERE ARE WE LOSING TRIAL USERS, WHICH STORES NEED ATTENTION THIS WEEK]
Who will use it and how often: [ROLES, AND DAILY / WEEKLY / MONTHLY]
Data available: [SOURCES, TABLES, KEY FIELDS]
Tool: [E.G. LOOKER STUDIO, POWER BI, TABLEAU, EXCEL, METABASE]

1. Restate the decisions each user will make with this dashboard. If my question is too vague to design for, ask me to sharpen it.
2. Choose 3 to 7 KPIs. For each: an exact definition and formula, the data source, the comparison that gives it meaning (last period, target or benchmark), and the action someone takes when it moves. Drop any metric that wouldn't change a decision.
3. Separate leading indicators from lagging ones.
4. Layout from top to bottom: headline numbers, then the charts that explain them, then detail tables. Name each chart type and why it fits the data.
5. The filters and drill-downs users will actually need.
6. Data quality risks and definitions people are likely to argue about, such as what counts as an active user, with a suggested definition for each.

Output a top-to-bottom wireframe description followed by a metric dictionary table.

Why it works: Starting from the decisions users make, and dropping any metric that would not change one, keeps the dashboard short and useful. Exact metric definitions and a list of contested terms prevent the arguments that undermine trust in dashboards after launch.

Tip: Agree the metric definitions with the people who will use the dashboard before anyone builds it; most dashboard disputes are really definition disputes.

4. Financial forecast model prompt with assumptions

Claude or Claude Code

Use it when: Use it to build a simple revenue, cost and cash forecast in which every assumption is visible and easy to change.

Prompt 04
Build a simple financial model for [BUSINESS OR PROJECT] covering [12 MONTHS / 3 YEARS].

<inputs>
Revenue model: [HOW YOU MAKE MONEY, PRICES, PLANS]
Current numbers: [CUSTOMERS, REVENUE, GROWTH RATE, CHURN, IF ANY]
Costs: [FIXED COSTS, COST PER SALE OR CUSTOMER, SALARIES, MARKETING SPEND]
Starting cash and funding: [AMOUNTS]
</inputs>

1. Put every assumption in a separate assumptions table: value, unit, source (my data, my estimate, or your placeholder) and confidence. Mark your placeholders clearly so I replace them.
2. Build the model monthly: customers or units, revenue, direct costs, gross margin, operating costs, profit or loss, and cash balance.
3. Show three scenarios (conservative, base and optimistic) by changing only the two or three assumptions that matter most, and name them.
4. Key outputs: the break-even month, months of cash runway, and the lowest cash point.
5. Sensitivity: which single assumption moves the result the most.

Keep formulas simple and linked to the assumptions table so I can change inputs. If you can create a spreadsheet file, build one with the assumptions on their own tab; otherwise give me tables I can paste into a spreadsheet. Treat this as a planning tool rather than financial advice, and flag anything I should review with an accountant.

Why it works: Putting every assumption in one table with its source and confidence makes the model easy to question and update. Scenarios that change only the key drivers, plus a sensitivity check, show which numbers deserve your research time.

Tip: Spend most of your effort on the assumptions the sensitivity check flags; extra precision anywhere else barely changes the answer.

5. Personal budget and spending review prompt

Claude chat

Use it when: Use it to review your spending without judgement and build a realistic monthly budget you can actually stick to.

Prompt 05
Help me review my spending and build a monthly budget. I want practical help, not judgement.

<money>
Monthly take-home income: [AMOUNT, AND WHETHER IT VARIES]
Spending: [PASTE ONE OR TWO MONTHS OF TRANSACTIONS, OR LIST CATEGORIES AND AMOUNTS]
Debts: [BALANCE, INTEREST RATE AND MINIMUM PAYMENT FOR EACH]
Savings and emergency fund: [AMOUNTS]
Goals: [E.G. CLEAR A CREDIT CARD, SAVE A HOUSE DEPOSIT, STOP RUNNING OUT BEFORE PAYDAY]
</money>

1. Sort my spending into essentials, flexible spending, and savings or debt payments, with totals and each one's share of income.
2. Point out patterns: recurring subscriptions, small frequent purchases that add up, and irregular costs I should set aside for monthly (annual bills, gifts, car repairs).
3. Suggest three to five specific changes ranked by money saved against effort, noting which ones might be hard for me, so I can choose.
4. Build a monthly budget table that includes some guilt-free spending money, because budgets with no flexibility tend to get abandoned.
5. If I have debts, compare paying the highest interest rate first with paying the smallest balance first, and what each means in my case.
6. A weekly check-in routine that takes ten minutes or less.

Explain your reasoning in plain language. This is general budgeting help, so tell me when something calls for a qualified adviser or a free debt advice service, especially for tax, investments or serious debt.

Why it works: Sorting spending into essentials, flexible and savings or debt gives a clear picture without moralising about individual purchases. Building in guilt-free money and planning for irregular costs makes the budget survivable, which is what makes it last.

Tip: Strip out account numbers and any payee names you would rather keep private before pasting transactions; categories and amounts are enough.

6. Stock and company analysis framework prompt

Claude chat

Use it when: Use it to research a public company in a structured way: business model, financials to check, risks, and a bull and bear case.

Prompt 06
Help me research [COMPANY NAME AND TICKER] in a structured way. I'm learning to analyse companies, so this is for understanding rather than a recommendation, and I don't want price predictions.

<materials>
[PASTE SECTIONS OF THE ANNUAL REPORT, AN EARNINGS RELEASE, AN INVESTOR PRESENTATION, OR YOUR NOTES]
</materials>

1. Business model: how the company makes money, its main segments and customers, and what drives revenue. Use the materials I pasted and cite the section.
2. Financials to check: the key metrics for this type of business (for example revenue growth, gross and operating margin, free cash flow, debt, share dilution, segment trends), what each one tells me, and the values from my materials where available. Where data is missing, tell me where in the filings to find it instead of estimating.
3. Competitive position: what protects the business, if anything, and how durable that looks.
4. Risks: company-specific, industry and macro, including the ones the company lists itself.
5. Bull case and bear case: the strongest honest argument for each, and the evidence over the next year or two that would prove each one right.
6. The questions I should answer before forming my own view.

Keep facts from my materials separate from your interpretation, and say where your general knowledge may be out of date. This is not investment advice; remind me to consider a licensed financial adviser before making investment decisions.

Why it works: Working from filings you paste, with cited sections and facts kept apart from interpretation, reduces the risk of outdated or invented figures. Building both a bull and a bear case with the evidence that would confirm each trains balanced analysis instead of a prediction, and the prompt keeps it educational rather than advice.

Tip: Paste the risk factors and management discussion sections of the annual report; they hold far more useful detail than news headlines.

7. Data cleaning prompt for messy spreadsheets

Claude or Claude Code

Use it when: Use it to turn messy lists, exports or copied text into a clean, consistent table, with duplicates and problems flagged instead of silently changed.

Prompt 07
Clean this messy data and turn it into a structured table.

<raw_data>
[PASTE THE DATA OR ATTACH THE FILE]
</raw_data>

Target columns and formats: [E.G. NAME, EMAIL IN LOWERCASE, PHONE IN INTERNATIONAL FORMAT, COUNTRY CODE, DATE AS YYYY-MM-DD]
What it's for: [E.G. A CRM IMPORT, ANALYSIS, A MAILING LIST]

Steps:
1. Profile the data first: row count, the formats you see, and the main problems (inconsistent case, mixed date formats, extra spaces, merged fields, missing values).
2. Normalise each field to the target format.
3. Deduplicate: state the rule you used to treat two rows as duplicates (exact match, same email, or similar name plus same company) and keep the most complete version.
4. Flag instead of guessing: when a value is ambiguous (03/04 could be 3 April or 4 March), invalid or missing, leave it blank or unchanged and list it in an issues table with row number, field, original value and reason.
5. Keep a change log of the rules you applied so I can repeat them next time.

Output the clean table as CSV, then the issues table, then the change log with counts: rows in, duplicates removed, rows flagged, rows out. For large files, write and run code so every row is handled the same way.

Why it works: Profiling the data first and stating the duplicate rule makes the cleaning transparent and repeatable. Flagging ambiguous values like 03/04 instead of guessing protects you from silent errors, and the change log with row counts lets you confirm nothing went missing.

Tip: Ask for the cleaning rules as a reusable script or set of spreadsheet formulas, so next month's export takes seconds instead of a new chat.

Getting more out of every prompt

Let Claude run the numbers

Where Claude can run code in your app, it can calculate across every row of an uploaded file rather than reasoning about a sample. Ask it to show the code so you can see exactly what it did. This makes summary statistics and cleaning far more reliable.

Ask for a reusable output

For recurring work, ask for a formula set, a spreadsheet template or a short script instead of a one-off answer. Next month you rerun the tool on the new export without starting a fresh conversation.

Keep assumptions in one place

For forecasts and budgets, insist on a single assumptions table linked to every calculation. Changing one input then updates the whole model, and anyone reviewing it can see what drives the result.

Protect sensitive data

Remove account numbers, names and other personal details before uploading financial or customer data. Most analysis works just as well on anonymised data.

Frequently asked questions

Can Claude analyse Excel and CSV files?

Yes. In the Claude apps you can upload spreadsheets and CSV files and ask for summaries, trends, cleaning or charts, and Claude can run code to compute results where that feature is available. Check a sample of the results, especially for large or messy files.

Can Claude write Excel formulas?

Claude writes Excel and Google Sheets formulas from plain-English descriptions and explains how they work. Tell it your app and version, your exact columns and a few sample rows. Test the formula on your data before relying on it.

Can I use Claude for stock analysis?

Claude can help you understand a company's business model, read filings, list metrics to check and build bull and bear cases. It is not a licensed adviser, cannot predict prices, and its general knowledge may be out of date. Treat its output as education and research support, not investment advice.

Is Claude accurate with numbers?

Claude is much more reliable when it calculates with code than when it does arithmetic in its head, so ask it to use code where available. It can still misread data or make wrong assumptions. Ask for its working and verify key figures yourself.

More Claude prompts

18 prompts 18 Claude Code Prompts for Planning, Debugging and Code Review Plan mode, codebase maps, bug fixes, pre-push and PR reviews, CLAUDE.md and session handoffs. Browse prompts → 12 prompts 12 Claude Prompts for Coding, Debugging and Code Review Debug errors, review code, write SQL and regex, generate unit tests, design APIs and document projects. Browse prompts → 10 prompts 10 Claude Prompt Engineering Prompts: Generators, Improvers and Templates Prompt generator, prompt improver, custom instructions and templates for better Claude results. Browse prompts → 12 prompts 12 Claude Prompts for Writing, Editing and Rewriting Natural-sounding rewrites, voice matching, emails, blog posts, editing and summaries. Browse prompts → 12 prompts 12 Claude Prompts for Resumes, LinkedIn and Job Search Tailor your resume, pass ATS checks, write cover letters, fix LinkedIn and prepare for interviews. Browse prompts → 9 prompts 9 Claude Prompts for Website, App and UI Design Landing pages, homepage copy, UI critiques, design systems, dashboards and screenshot to code. Browse prompts → 10 prompts 10 Claude Prompts for Studying, Research and Academic Writing Tutoring, study plans, flashcards, revision questions and feedback on essays and theses. Browse prompts → 12 prompts 12 Claude Prompts for Marketing, SEO and Social Media Strategy, SEO briefs and audits, social calendars, scripts, email sequences, ad copy and cold email. Browse prompts → 10 prompts 10 Claude Prompts for Business, Strategy and Small Business Business plans, idea validation, pricing, market research, project plans, SOPs, HR and contract review. Browse prompts → 5 prompts 5 Claude Prompts for Presentations, Reports and Documents PowerPoint outlines, report-to-slides, executive summaries, meeting actions and proposals. Browse prompts → 7 prompts 7 Claude Prompts for Productivity and Everyday Life Weekly planning, travel itineraries, meal plans, language practice, decisions, workouts and learning skills. Browse prompts →

See all 124 Claude prompts · How to write better prompts for Claude

Give Claude Code a whole team. 38 specialists, one payment of $49.

Get Agentsforce