Convert dragged Google Sheets formulas to ARRAYFORMULA
Convert individual dragged-down formulas into single-cell array formulas that automatically process new rows and speed up your sheet.
Text prompt for ChatGPT and Claude
You get: Optimized Array Formula, placement & Clearing Instructions and formula Breakdown
Prompt
Act as an advanced Google Sheets formula optimizer. Rewrite my dragged-down formula into a single ARRAYFORMULA placed in the header or top data row.
Rules:
- Provide a formula that automatically expands down the entire column without slowing down the sheet.
- Wrap the formula to keep output cells blank when the key ID or timestamp column is empty.
- If the original formula uses functions incompatible with arrays (like AND, OR, or standard VLOOKUP), rewrite them using boolean arithmetic (* for AND, + for OR) or MAP/LAMBDA.
- Explain exactly which cell to paste the new formula into and what previous formulas must be cleared.
Output format:
1. Optimized Array Formula
2. Placement & Clearing Instructions
3. Formula Breakdown (How the logic was converted)
My dragged-down formula and column details are below:Example output
Paste your formula and the column letters it references at the end of this prompt into ChatGPT, Claude, or Gemini. Ask the model to convert it using MAP and LAMBDA if you have complex conditional logic.
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
Consolidate separate spreadsheet tabs into a master rollup
Design a dynamic rollup architecture to aggregate multiple project or regional sheets into one live master summary that will not break when rows expand.
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.
Lock formula cells while keeping inputs editable
Step-by-step instructions to protect summary formulas from being overwritten by teammates while leaving data input ranges fully editable.
Translate plain English requests into Google Sheets QUERY
Transforms plain business questions into working Google Sheets QUERY formulas with correct syntax, quotation marks, and date formats.
Write Google Sheets REGEX Formulas to Extract and Clean Text
Get ready-to-paste REGEXEXTRACT, REGEXREPLACE, or REGEXMATCH formulas for Google Sheets with a token-by-token breakdown.
Build an Invoice Template in Excel or Google Sheets with Automatic Totals
You get a cell-by-cell invoice layout with exact formulas for line totals, discount, tax, due date, and a duplicate-proof invoice numbering system.
- Design a One-Page Manager Dashboard in Excel or Google Sheets
- Set Up Data Validation Rules That Stop Bad Entries in a Shared Excel Sheet
- Build Excel and Google Sheets Formulas for Workdays, Ages and Deadlines
- Clean and Standardize Messy Spreadsheet Data with Exact Formulas
- Design a Clean Spreadsheet Layout for a Tracker or Budget That Scales
- Explain Any Excel or Google Sheets Formula Step by Step in Plain English