Scrap and output per machine from your production spreadsheet

Day 5, 30 minutes · beginner

Goal of this lessonTurn one week of production data into a table and a chart of scrap per machine, check two numbers by hand, and write a five-line note for the Monday production meeting.

Why it matters

Most small workshops already collect the numbers: good pieces, scrap and stops per machine, typed into a spreadsheet by the shift or exported from the planning system. Then nobody has time to read them. On Monday the production meeting runs on feelings: "the press had a bad week", "the new saw blade is fine". Sometimes that is right. Often it is not.

An assistant can read a week of rows, add them up per machine, find the scrap reasons that cost the most pieces and draw a chart, in a few minutes. The risk is that it reads the file wrong, for example by counting a total row as one more machine, and gives you neat numbers that are wrong. So in this lesson you check what it read before you read what it found, and you check two machines by hand.

At the end of this lesson you have a table and a chart of scrap per machine for one real week, two numbers you checked yourself, and a five-line note you can take to the Monday meeting.

The steps

  1. Export one week. Take last week's production data from your spreadsheet or planning system, as an Excel or CSV file (a plain text file with one row per line and the values separated by commas). One row per machine per shift is ideal. Columns such as date, shift, machine, good pieces, scrap pieces, scrap reason and downtime minutes are enough.

  2. Clean the export. Delete columns with names of colleagues: the meeting is about machines and reasons, not about people. Remove total rows, empty rows and extra tables on the same sheet. Keep one table with the column names in the first row.

  3. Ask for the table and the chart. The prompt in your tool's guide first asks how many rows were read, the first and last date and the machines found. Only then does it make the table per machine, the top three scrap reasons and one bar chart. Scrap percentage in this course means scrap pieces divided by all pieces made (good plus scrap), times 100. Pick your tool below and follow the steps.

  4. Check what was read. Compare the row count and the dates with your own file. If your file has 84 rows and the answer says 85, something was read twice or a total row slipped in. Fix the file and start a new chat instead of correcting it in the same one.

  5. Check two machines by hand. In your own spreadsheet, filter on one machine and add up good pieces and scrap pieces with a sum. Do the same for a second machine. If a number differs from the table, your own sum wins, and you ask the assistant how it got its number.

  6. Write the note for Monday. Five lines: the machine with the highest scrap percentage, the top scrap reason, the machine with the most downtime, one thing that looks better than last week if you know it, and one question for the meeting. The [ASK] lines from the answer are good questions: the data shows what happened, not why.

Anouk's example

Every Monday at 8:00, Kees runs the production meeting at Brinkvoort Metaal. Anouk exported last week from the planning system: 84 rows, one per machine per shift, for the band saw, the two press brakes, the punching machine and the welding robot. She deleted the column with the operator names.

The first answer said: 85 rows, five machines and one more called "Total". The export had a total row at the bottom. She removed it, started a new chat and ran the prompt again: 84 rows, five machines, Monday to Friday.

The table showed press brake 2 with 4.1 percent scrap and "wrong length" as the top reason. Her hand check of press brake 2 matched. Her check of the welding robot did not: the table said 1,212 good pieces, her sum said 1,221. Asked how it got its number, the assistant found that it had skipped one row with an empty scrap reason. With the row counted, the numbers matched.

Her note for Monday:

1. Press brake 2: highest scrap, 4.1 percent. Top reason: wrong length.
2. Top scrap reason overall: wrong length (62 pieces).
3. Most downtime: punching machine, 145 minutes, mostly on Wednesday.
4. Welding robot: lowest scrap of the week.
5. Question: is the wrong length on press brake 2 the stop, the material or the job sheet?

Kees took question 5 to the setter the same morning.

Common mistakes

  • Reading the findings before the row count. A wrong read gives tidy, wrong numbers. Check what was read first.
  • Asking why the scrap happened. The data shows where and how much. The why comes from the people at the machine.
  • Keeping operator names in the file. A scrap table with names becomes a list of people to blame. Leave them out.
  • Trusting a chart without the table behind it. Look at the numbers under the bars, and check two of them yourself.

Not in metal?

A bakery can use the same prompt for one week of production per line: packs made, packs rejected for weight or seal, and stops. A joinery can count panels cut per saw, with offcuts and rework as scrap. Change the column names in the prompt and keep the first question about what was read.

Today's actions

Ticks are not saved without an account

Do it in your tool

Claude

  1. In Claude on the web or the desktop app, open Settings, then Capabilities, and check that Code execution and file creation is on. In the updated Settings layout it is called Create and edit files.
  2. Open Claude in your browser or the app and start a new chat. Use your company Claude account if you have one, otherwise a personal account with a clean copy only.
  3. Click the + button in the lower left corner of the chat box, select Add files or photos, choose your export as a CSV or Excel file and click Open.
  4. Paste the prompt below into the chat box, fill in the slots in [square brackets]. Then send it.
    Attached is a production export of last week from a small manufacturing company, one row per machine per shift. Columns: [your column names, for example Date, Shift, Machine, Good pieces, Scrap pieces, Scrap reason, Downtime minutes].
    
    1. First tell me how many rows you read, the first and the last date, and the machines you found. Tell me if you see empty rows, a total row or columns that look wrong.
    2. Make a table per machine: good pieces, scrap pieces, scrap percentage (scrap pieces divided by good plus scrap pieces, times 100, one decimal) and downtime minutes.
    3. List the three scrap reasons with the most scrap pieces, with the number of pieces.
    4. Make one bar chart of the scrap percentage per machine.
    5. For every number in the table, say in one line how you calculated it.
    6. Do not explain why the scrap happened. Describe what the data shows, and write [ASK] for questions the data cannot answer.
    
    Then write a note of at most five lines for our Monday production meeting.
  5. Read the first answer: the number of rows, the first and last date and the machines. If the row count is wrong, or there is a total row or empty rows, fix the export and start a new chat.
  6. In your own spreadsheet, filter on two machines and add up good pieces and scrap pieces with a sum. If either differs from the table, ask why in the same chat and trust your own sum.
  7. Copy the five-line note and the chart into a document for the Monday meeting, and save the prompt as Prompt 5 in your workshop binder.

Note: Claude's help page says this switch is on by default on Free, Pro, Max and Ultra, and also tells you to turn it on there, so check it. With it on, Claude writes and runs code on your file to do the sums and draw the chart, which you can download as a picture. Uploading an Excel file needs it; a CSV file is the simpler choice. On a Team or Enterprise plan the owner can switch it off. It uses more of your usage limit than a normal chat.

Checked on 30 November 2026 · Source: Claude Help Center (opens in a new tab)

Create a free account to save your progress. Sign in or sign up