HR
Healthcare
Microsoft Copilot
Assistant

AI Census Segmentation Assistant in Copilot: How an HR Director Built One

An HR director used a structured Copilot prompt in Excel to sort the full company census file down to her client group every week.

HR director, clinical research organization

Sketch of a spreadsheet with highlighted rows and a summary box

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:

  1. Run the payroll census report
  2. Open the full company file in Excel
  3. Work out which employees belong to the client group
  4. Sort the whole file by hand
  5. 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.

Agent profile card for a census segmentation assistant in Excel with Copilot

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 card

How 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.

What stays human

<p><strong>Checking the result and deciding how to present the data stays with the HR director.</strong> The prompt sorts. She interprets.</p>

Blurred preview of the demo video, available to members

Watch the full demo

The builder walks through this build step by step in the Lead with AI Demo Library, alongside nearly 300 demos from our community. The full video is for members only.

Watch in the Demo Library

Build your own

A repetitive sorting task can become a single prompt. Follow these steps:

  1. Use GED-RT to confirm that sorting a recurring file by hand is worth handing over.
  2. Map the verbs with OVER: run, open, define, sort, isolate.
  3. Structure the instructions with CODO.
  4. Read the Copilot agents guide and write your first prompt.
  5. 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.

Want help? Build your own with us

In AI Leader Advanced, you build six AI assistants for your own role in ChatGPT, Copilot, Claude or Gemini, with live sessions alongside other senior leaders, then present your best ones at Demo Day.

See AI Leader Advanced

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.