In the pack: ChatGPT, Claude & Gemini Prompts for Data Analysis, Excel & Google Sheets
Convert a Range to a Table With Named Ranges
Prompt
App and version: {{SPREADSHEET_APP}}
How the data is laid out today (location, headers, blank rows, totals inside the range): {{CURRENT_LAYOUT}}
Five formulas that reference it, exactly as typed: {{FORMULAS_USING_IT}}
What breaks today (new rows missed, shifted references, wrong ranges): {{CURRENT_PROBLEMS}}
Produce a migration plan:
1. Prepare the range: remove blank rows, merged cells and inline totals, and make headers unique.
2. Convert it: in Excel, to a Table (Ctrl+T) with a sensible name; in Google Sheets, use a named range or, if tables are available in my version, a table. Tell me to confirm which my version offers.
3. Rewrite each of my five formulas to use table column references or named ranges, showing before and after.
4. Explain the behavioural changes: tables expand when rows are added, references auto-adjust, formulas inside tables fill themselves, and names are workbook-wide.
5. List what to check afterwards: charts and pivots pointing at the old range, other files linking to it, and named range scope.
Flag any formula where the rewrite changes the result and explain why.
Customize this prompt
Fill in the variables below to personalize this prompt:
Model Settings
Recommended Models
Temperature
Max Tokens
Additional Notes
About this prompt
“Convert a Range to a Table With Named Ranges” is a free prompt for ChatGPT in the Productivity category, 184 words long, added to The Prompt Index on October 28, 2026 by The Prompt Index. Copy it with the button above, paste it into ChatGPT or any other AI chat assistant, and send it.
It has 4 placeholders to fill in first:
{{SPREADSHEET_APP}}, {{CURRENT_LAYOUT}}, {{FORMULAS_USING_IT}}, {{CURRENT_PROBLEMS}}.
Use the “Customize this prompt” fields to personalise it before you copy.
Recommended models: ChatGPT, Claude, Gemini.
0 upvotes, sent to an AI tool 0 times, viewed 6 times.
Browse all Productivity prompts, the AI prompt database or use the AI prompt finder to search every prompt.