The problem
The payroll system could not do the sort, so a person did it every week. The business defined client groups one way and the system structured employees another.
The manual chain looked like this:
- Run the payroll census report
- Open the full company file in Excel
- Work out which employees belong to the client group
- Sort the whole file by hand
- Pull out the group
It was one of her most repetitive tasks. Mapping the chain first shows which steps a prompt can take over, see Workflow Literacy.
What they built
A structured Copilot prompt that works inside Excel. It reads the raw census file and sorts employees into the right client group, using the way the business defines it.
The new routine has three parts.
- Run. Produce the payroll report as usual.
- Open. Load it in Excel.
- Prompt. Let Copilot do the segmentation.
See the Copilot agents guide and the AI for data analysis guide.

The agent card: the whole build on one page
Inputs, steps, outputs, what stays human and the Impact per Hour, ready to share with your team.
Download the agent cardHow it works
Results
Time saved. The weekly manual sort of the whole company file is gone. No specific hours were stated.
Immediate. The time savings showed up the first week.
Reinvested. The builder now spends the saved time on how to present the data and add more value to it.
Mindset. She describes it as her first move from theory to application.
This is the time side of Impact per Hour.
<p><strong>Checking the result and deciding how to present the data stays with the HR director.</strong> The prompt sorts. She interprets.</p>
Build your own
A repetitive sorting task can become a single prompt. Follow these steps:
- Use GED-RT to confirm that sorting a recurring file by hand is worth handing over.
- Map the verbs with OVER: run, open, define, sort, isolate.
- Structure the instructions with CODO.
- Read the Copilot agents guide and write your first prompt.
- Check the output with the DRAFT Framework before anyone relies on it.
Here is the [weekly report] in Excel. Our business defines [group] as [rule]. Sort every row into the correct [group], list any rows you are unsure about, and give me only the rows for [my group] in a new sheet.
Try the free lesson on building a data analysis assistant to practice.
Frequently asked questions
What did the HR director build?
A structured Copilot prompt in Excel that segments the company census file. It sorts employees into her client group.
Why could payroll not do it?
The business structure and the system structure did not match. The prompt applies the business definition instead.
What did she do with the time?
She now thinks about how to present the data and add more value to it. That shift was bigger than the time saved.
