Create a Monthly Data Summary
Generate a script that creates a monthly summary with totals by category, an average, and the top five results, then saves it as a new Excel file
Prompt template
- Format
- Text Parameterized
- Inputs
- Data (text, document, csv) · Required Columns (text) · Required Category_field (text) · Required
- Outputs
- Monthly_summary_script (code)
Write a script to create a monthly summary from this data:
Data: ${data}
Columns: ${columns}
Category field: ${category-field}
Include the total for each category, an average, and the top five results. If the data does not make clear which values to average or how to rank the top five, ask for clarification before writing the script. Save the summary as a new Excel file.
Replace the ${…} placeholders with your values
before using this prompt. See parameters
and defaults below
Parameters
Replace each placeholder with your own value, or use its default when one is provided
${data}
data
Required
${columns}
columns
Required
${category-field}
category-field
Required
What you'll create
This prompt asks for a script that creates a monthly report with totals by category, an average, and the top five results. The completed summary should be saved as a new Excel file
Usage instructions
Frequently asked questions
What if the data does not make the average or top-five measure clear?
The prompt asks the script writer to clarify which measure to average or rank before generating the script
Comments
Tried this prompt? Share what you made, compare results, or ask a question