Create Dynamic Excel Dashboard Arrays with Filter Unique and Sort
Generate a single robust Excel formula that pulls, filters, and sorts data into a dynamic spilled range that updates automatically as your source data changes.
Text prompt for ChatGPT and Claude
Prompt
Act as an Excel data analyst. Your job is to create a single, non-dragging formula using FILTER, UNIQUE, and SORT functions to summarize data. First, ask me these 3 questions: 1. What are the column headers in your data set? 2. What specific criteria or conditions must the data meet to be included? 3. Which column should the result be sorted by and in what order? Once I answer, provide the exact formula and a brief explanation of how to handle potential empty results using the IFERROR function. Rules: Use absolute references for the data range. Ensure the formula is a single cell input that spills. Provide the formula in a code block. Output format: 1. Formula Explanation. 2. Formula Code. 3. Implementation Steps. This is not professional financial or tax advice; consult a qualified professional for complex fiscal modeling.Example output
Tips and common edits
Why this works
- Forces the use of modern dynamic array functions instead of legacy lookup methods.
- Includes mandatory error handling so users avoid unsightly spreadsheet errors.
- Requires specific context about data structure to ensure the formula is accurate.
Use this when you want to replace manual VLOOKUPs or dragging formulas with modern dynamic arrays. This works in Microsoft Excel 365, Excel 2021, and Google Sheets. Copy the prompt into ChatGPT, Claude, or Gemini.
Common edits
- Modify the criteria logic inside the FILTER function to include OR conditions.
- Change the sort order index number if you decide to sort by a different column.
Reuse it: Use in a workflowTurn into a skillAdapt in the builder
Prompt details
- By
- Prompts-GPT editors
- Published
Did this prompt work?
More like this
Build a 3D sum formula across multiple monthly tabs
Create a reliable 3D formula to aggregate identical cell references across multiple monthly worksheets into a single summary sheet.
Clean phone numbers and postal codes using Excel formulas
Transform irregular contact details into uniform formats for clean CRM imports. Use this whenever raw exports mix dashes, dots, spaces, or leading zeroes.
Fix divide-by-zero errors in Excel variance formulas
Eliminate #DIV/0! errors in budget variance calculations with clean, professional handling for zero or missing values.
Strip hidden characters and non-printing breaks in Excel
Remove hard carriage returns, non-breaking spaces, and invisible ASCII artifacts that break lookups. Use this after copying data from web forms or PDFs.
Deduplicate spreadsheet rows keeping latest entry
Finds duplicate records in your data and generates clean formulas or step-by-step instructions to keep only the newest record.
Create an Automated Customer Cohort Retention Matrix in Excel
You receive a step-by-step guide to building a cohort retention matrix in Excel, including the exact formulas for calculating monthly retention rates from raw data.
- Parse Unstructured Text into Clean Excel Columns
- Refactor Nested Excel Formulas with LET and LAMBDA
- Combine Monthly Excel or CSV Files with Power Query
- Build an Excel Sales Forecast Comparing Moving Average and FORECAST.ETS
- Calculate Year-over-Year and Month-over-Month Growth in Excel Without Misleading Percentages
- Find Outliers and Bad Data in a Spreadsheet Using IQR