Short and Clear Excel : By Vishal Aggarwal
50 Bad vs Good Excel Prompts
Bad Prompt Good Prompt
Calculate total Sum sales in column B where region is "North"
Make a chart Create a bar chart for monthly revenue from Jan to Dec
Remove blanks Remove blank rows from "SalesData" sheet
Highlight values Highlight cells in column C greater than 5000
Filter data Filter "ProductList" for category "Electronics"
Find duplicates Highlight duplicate entries in "Email" column
VLOOKUP example Use VLOOKUP to find product price by name in table A2:B10
l
Average marks Calculate average of marks in D2:D20 excluding blanks
ce
Format data Format "Joining Date" column as dd-mm-yyyy
Count data
Add column Ex
Count how many employees are in "HR" department
Add a column showing profit = Revenue - Cost
ar
Conditional format Apply red fill to rows where status is "Delayed"
le
Create table Convert range A1:D20 into an Excel table named "SalesTbl"
C
Hide rows Hide all rows where status is "Closed"
d
Clean data Remove extra spaces and non-printable characters in column A
an
Concatenate cells Combine First Name and Last Name with space in between
Use XLOOKUP Use XLOOKUP to get employee name by ID from list
rt
Pivot example Create pivot to summarize total sales by region
o
Get unique Extract unique customer names from list in column B
Sh
Create dropdown Add data validation dropdown for city names in cell D2
Protect sheet Protect sheet but allow editing in range A1:A10
Count dates Count orders placed in Jan 2025
Forecast sales Forecast next 3 months sales based on trend in column B
Remove duplicates Remove duplicate email IDs from the list in column C
Merge sheets Combine data from Sheet1 and Sheet2 into Sheet3
Use IF Use IF to show "Pass" if score > 40 else "Fail"
Highlight weekends Conditional format to highlight weekends in date list
Color top 5 Highlight top 5 sales values in column E
Convert to text Convert numbers in column D to text format
Extract month Extract month name from date in column A
Calculate EMI Use PMT to calculate EMI for 5-year loan at 12%
Compare sheets Highlight mismatched values between Sheet1 and Sheet2
Delete empty rows Delete all empty rows in dataset in Sheet1
Combine sheets Append Sheet1 and Sheet2 data below each other
Use SWITCH Use SWITCH to return grade based on marks
Sort data Sort data by "Sales" column in descending order
Get last row Get last used row number in column A using formula
Create dashboard Create dashboard with slicers, charts, and summary table
Monthly total Sum expenses for each month using SUMIFS
Use TEXTJOIN Use TEXTJOIN to merge multiple email IDs with comma
Dynamic chart Create chart that updates with new data in real time
l
ce
Use FILTER Filter sales above 10,000 for region = East
Count words Count number of words in cell A1
Track attendance
Use AND
Ex
Use conditional formatting to mark absentees in red
Use AND to check if age >18 and status is "Active"
ar
Compare dates Find how many days between today and due date
le
Calculate tax Add column to calculate 18% GST on amount
C
Use MATCH Use MATCH to find position of "Pencil" in list
d
Apply TRIM Use TRIM to remove leading and trailing spaces in column A
an
Create KPI Create visual KPI indicators using icon sets for targets
rt
o
Sh
l
ce
Stay Tuned for more prompt and Excel Tricks
Ex
ar
le
C
d
an
o rt
Sh