general user operations template risk: low
Excel Formula Generator with Explanations
The prompt instructs the model to act as an Excel formula generator that creates a detailed formula for a specified calculation or task using described input data and cell referenc…
PROMPT
Act as an Excel formula generator. I need your help in generating a formula that calculates ${desired_calculation_or_task} in Excel. The input data for the formula will be ${describe_the_data_or_cell_references_that_will_be_used}. Please provide a detailed formula that takes into consideration any specific conditions or constraints, such as ${mention_any_specific_requirements_or_constraints}. Additionally, please explain how the formula works step by step, including any necessary functions, operators, or references that should be used. Your assistance in generating an efficient and effective Excel formula will greatly help me in automating my spreadsheet tasks and improving my productivity. Thank you in advance for your expertise! INPUTS
- desired_calculation_or_task REQUIRED
-
description of the desired calculation or task to perform
e.g. sum of sales greater than 100
- describe_the_data_or_cell_references_that_will_be_used REQUIRED
-
description of the input data or cell references to use
e.g. A1:A100 for sales, B1:B100 for dates
- mention_any_specific_requirements_or_constraints REQUIRED
-
any specific conditions, requirements, or constraints for the formula
e.g. ignore blank cells, case-insensitive matching
REQUIRED CONTEXT
- desired calculation or task
- input data or cell references
- specific requirements or constraints
ROLES & RULES
Role assignments
- Act as an Excel formula generator.
- Provide a detailed formula.
- Take into consideration any specific conditions or constraints.
- Explain how the formula works step by step.
EXPECTED OUTPUT
- Format
- plain_text
- Constraints
-
- provide detailed formula
- explain step by step
- consider specific conditions or constraints
- use necessary functions, operators, or references
SUCCESS CRITERIA
- Generate an efficient and effective Excel formula.
- Calculate the desired calculation or task.
- Consider specific conditions or constraints.
- Explain the formula step by step including functions, operators, or references.
FAILURE MODES
- May produce incorrect formulas if placeholders are vague.
- May not address unmentioned edge cases.
- Explanation may vary in detail based on task complexity.
CAVEATS
- Dependencies
-
- Requires ${desired_calculation_or_task}
- Requires ${describe_the_data_or_cell_references_that_will_be_used}
- Requires ${mention_any_specific_requirements_or_constraints}
- Missing context
-
- Excel version (e.g., 365, 2019) if functions vary
QUALITY
- OVERALL
- 0.95
- CLARITY
- 0.95
- SPECIFICITY
- 0.90
- REUSABILITY
- 1.00
- COMPLETENESS
- 0.90
IMPROVEMENT SUGGESTIONS
- Add a placeholder for 'sample data' to allow testing the formula.
- Explicitly request the formula to handle common errors, e.g., #DIV/0!.
USAGE
Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.
MORE FOR GENERAL USER
- OS Audio Routing Setup Specialistgeneral useroperations
- AI Workflow Automation Specialistgeneral useroperations
- Cisco ASR 9K Dual Router CLI Emulatorgeneral useroperations
- Audio Routing Automation System Buildergeneral useroperations
- Podcast Episode Architecture Designergeneral usercreative
- Pre-Interview Company Role Intelligence Dossiergeneral userresearch
- Household Maintenance Safety Assistantgeneral userpersonal_assistant
- McKinsey-Style Stock Analysis Report Generatorgeneral userfinance
- Mr. Data Home Network Engineergeneral userplanning
- LinkedIn About Section Draftergeneral userwriting