Write Complex Excel Formulas
Generate advanced Excel formulas with nested functions, conditions, and lookups. Perfect for data analysis and complex calculations.
Prompt Template
Variables to Customize
[DATA_DESCRIPTION] Description of your data and what it represents
Example: Sales data with columns for salesperson, product category, sale amount, date, and region
[FORMULA_OBJECTIVE] What you want the formula to calculate or accomplish
Example: Calculate the average sale amount for each salesperson, but only for sales above $1000 in the last 6 months
[REQUIREMENTS] Specific conditions, criteria, or logic the formula must handle
Example: Must handle blank cells, exclude weekends, and return 'No Data' if no matching records found
[COLUMN_HEADERS] The column names or letters in your spreadsheet
Example: A: Salesperson, B: Product, C: Amount, D: Date, E: Region
[DATA_RANGE] The range of cells containing your data
Example: A2:E1000
[CONSTRAINTS] Any limitations or special conditions in your data
Example: Some dates are formatted as text, amounts may contain currency symbols
Example Output
Pro Tips for Best Results
- Always test your formula with a small dataset first to verify logic before applying to large ranges
- Use meaningful cell names or table references instead of cell addresses to make formulas more readable and maintainable
- Break complex formulas into helper columns when possible - it makes debugging and updating much easier
- Include error handling with IFERROR or IFNA to prevent formula crashes when data doesn't match expected patterns
- Document complex formulas with comments or nearby cells explaining the logic for future reference
Tags
Want 500+ Expert Prompts?
Get the Premium Prompt Pack — organized, tested, and ready to use.
Get it for $29Related Prompts You Might Like
Debug SQL Syntax Errors
You are an expert SQL developer and database administrator. I need help debugging a SQL syntax error in my query. Here'...
Build Employee Performance Tracker Spreadsheet
Create a comprehensive employee performance tracker spreadsheet for [DEPARTMENT] with [NUMBER_OF_EMPLOYEES] employees. T...
Analyze Survey Response Data
You are an expert data analyst specializing in survey research. I need you to analyze the following survey response data...
Create Data Heatmap Visualization
You are a data visualization expert specializing in heatmap creation. I need you to create a comprehensive heatmap visua...
Create Executive Dashboard Layout
You are an expert business intelligence designer specializing in executive-level dashboards. Create a comprehensive dash...
Build ETL Data Pipeline
You are a senior data engineer tasked with designing and implementing a comprehensive ETL (Extract, Transform, Load) dat...