Advanced Excel formulas for data analysis
Describe your workbook and four analysis problems. Get formulas you can paste into a cell, with alternatives for your version of Excel.
Paste in your AI
Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.
I'm using Excel [version] to analyze [data description]. My workbook contains [workbook layout], for example, sales spread across monthly sheets or a customer table with purchase history.
I need to solve four problems:
- [problem 1], such as combining data from several sheets using one criterion.
- [problem 2], such as ranking results and handling ties.
- [problem 3], such as returning the top N values that meet several conditions.
- [problem 4], such as building a dashboard with filters.
For each problem, give me a formula I can paste into a cell. Explain it step by step and show which references to change. Flag common errors and give a simpler formula where one exists. Identify differences that matter for Excel 2019, Microsoft 365 and Excel for Mac.
Include examples of SUMIFS and COUNTIFS. Compare VLOOKUP with XLOOKUP, show how LET can make a long formula easier to read, and cover the dynamic array functions FILTER, SORT and UNIQUE where my version supports them.
Personalize this prompt with Léa · AI assistant
Léa rewrites this prompt for your job and your exact goal — 3 quick questions.
Why this prompt works
Give the sheet names and column headers as they appear in your workbook. A formula that refers to Sales!B:B is easier to check when you know that column B contains the sale date. Include your Excel version so the answer can offer a fallback for functions you don't have.
Use Cases
Expected Output
A formula for each problem, a walkthrough, and simpler or version-specific alternatives where available.
Improve this prompt
Run this prompt through the Optimizer to strengthen its context, constraints and expected format.
Improve this prompt with the OptimizerComments
Be the first to comment on this prompt.
Glossary Terms
📬 Get new prompts every week
Join our newsletter and never miss a prompt.
Go further
Similar Prompts
Claude Prompt to Analyze Market Trends
Market trend analysis is a strategic exercise that requires cross-referencing economic, behavioral, and sectoral data to identify weak signals and underlying movements. Claude excels at this task thanks to its ability to synthesize large amounts of information, structure multi-dimensional analyses, and formulate well-argued hypotheses. Whether you are an entrepreneur seeking to validate an opportunity, an analyst mapping an industry, or a marketer preparing a launch, Claude saves hours of research by producing structured, nuanced, and actionable analyses. By providing precise context about your target market, objectives, and constraints, you get a panoramic view of the dynamics at play: technological developments, regulatory changes, shifts in consumer behavior, and competitive repositioning. AI does not replace field monitoring, but it significantly accelerates the exploration and structuring phase of information, allowing you to focus your human expertise on strategic interpretation and decision-making.
ChatGPT Prompt for Data Analysis
Data analysis has become an indispensable strategic lever for businesses and professionals. Yet extracting relevant insights from raw datasets remains a technical challenge that typically requires skills in statistics, programming, or specialized tools like advanced Excel, Python, or R. ChatGPT radically transforms this approach by allowing anyone to analyze complex data through natural language instructions. Whether you're working on sales data, survey results, marketing metrics, or financial indicators, a well-structured prompt enables you to obtain statistical analyses, correlations, trends, and actionable recommendations in seconds. The key lies in how you formulate your request: a precise prompt that defines the context, the type of analysis desired, and the expected output format will yield significantly more usable results than a vague query. In this guide, you'll find optimized prompts to get the most out of ChatGPT for your data analyses, regardless of your expertise level.
Write an ML system design
Design production ML systems
Design a feature store
Build a feature store