Clean and Standardize Data
Generate a macro or script to remove blank rows and duplicates, standardize dates as DD/MM/YYYY, and capitalize names, with instructions for Excel or Google Sheets
Prompt template
- Format
- Text Parameterized
- Inputs
- Data (text, document, csv) · Required Columns (text) · Required Target_platform (text) · Required platform (text) · Required
- Outputs
- Data_cleaning_macro_or_script (code, text)
Write a macro or script to clean this raw data:
Data: ${data}
Columns: ${columns}
Target platform: ${platform}
Remove blank rows and duplicates, standardize dates to DD/MM/YYYY, and capitalize the first letter of each word in names. Explain how to run it in the selected platform.
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
${platform}
platform
Required
What you'll create
This prompt asks for a macro or script that removes blank rows and duplicates, formats dates as DD/MM/YYYY, and capitalizes names. It also requests instructions for running the solution in Excel or Google Sheets
Comments
Tried this prompt? Share what you made, compare results, or ask a question