The board at the end of the packing line said OEE 81%. The plant manager was proud of it, and to be fair, nobody had ever questioned it. Then we spent one afternoon rebuilding the same number from the operators' own shift sheets, in a plain Excel file, with an AI tool doing the boring parts. It came out at 56%. Nothing on the line had changed. Only the way we counted. In this tutorial I show you how to build an honest first OEE in Excel with AI, step by step, and where the number usually lies to you.
In my 24 years in manufacturing I have seen OEE used as a trophy more often than as a tool. The good news is that you don't need new software to see the real figure. One week of shift data, Excel, and ChatGPT, Claude or Copilot are enough for a first honest look. The line and all numbers below are illustrative, not data from a real company.

OEE in one minute
OEE (Overall Equipment Effectiveness) multiplies three simple ratios:
- Availability = run time ÷ planned production time. It catches breakdowns, changeovers and waiting.
- Performance = (ideal cycle time × total count) ÷ run time. It catches small stops and slow running.
- Quality = good count ÷ total count. It catches scrap and rework.
OEE = Availability × Performance × Quality. The formula is public and simple. The trouble is always in the inputs.
The illustrative line
One packing line, two shifts, five days a week. After breaks, planned production time is 4,500 minutes a week. The machine's design rate is 60 packs per minute. Last week the operators logged 990 minutes of stops, packed 158,000 units, and 6,300 of them were rejected or reworked.
Step 1: collect one week of shift data, not a year
Start small. One week is enough to learn whether your data can be trusted. Put it in one Excel table with one row per stop and one row per shift total: date, shift, product, planned minutes, stop minutes, stop reason as the operator wrote it, total count and rejects. If the data is still on paper, typing one week by hand takes a couple of hours and is worth it.
Step 2: let AI clean the stop reasons
Operators write fast. "No material", "waiting mat.", "material late" and "feeder empty" are often the same loss. Copy the list of unique reasons into ChatGPT or Claude and ask something like this:
Paste the result back into Excel as a small lookup table. Then read every line the AI marked as unsure, and ask a shift supervisor to look at the rest for ten minutes. AI does the sorting in seconds; the people on the floor make it right.
Step 3: ask AI for the formulas, but understand every one
Next, ask the AI to write the formulas for minutes per shift and per loss type. You will get something like:
=SUMIFS(Stops[Minutes], Stops[Date], A2, Stops[Shift], B2)
Check each formula on two or three rows by hand before you trust it. The most common mistake I see, from people and from AI alike, is dividing by the wrong time: calendar time instead of planned production time, or run time that still includes the changeovers.
Step 4: compare the board with the rebuilt number
Now put the two versions side by side:
| Board at the line | Rebuilt from shift sheets | |
|---|---|---|
| Availability | 90% | 78% (3,510 of 4,500 min) |
| Performance | 94% | 75% (158,000 of 210,600 possible) |
| Quality | 96% | 96% |
| OEE | 81% | 56% |
Why the gap? In the illustrative plant, stops shorter than ten minutes were never written on the board, and performance was measured against an old "standard" speed that the line had slowly drifted down to over the years, not against what the machine was built to do. Nobody was lying. The rules of counting were simply too kind.
Step 5: rank the losses and ask the right question
Sum the stop minutes per loss type and sort them:
| Loss type | Minutes per week | Share of stops |
|---|---|---|
| Small stops | 380 | 38% |
| Changeovers | 290 | 29% |
| Breakdowns | 210 | 21% |
| Waiting for material | 110 | 11% |
Small stops, the ones that never reached the board, are the biggest block. Now give the AI your summary table and ask: "If we cut each loss in half, how many points of OEE would each one add?" It is a quick way to start the conversation with maintenance and production about where to begin. The answer is a starting point for discussion, not a decision.
The check I do before I believe any OEE
There is one more check I always do before I trust an OEE figure, on any line, in any factory. It takes about ten minutes, and in most plants I have seen it moves the performance number and changes which loss gets attacked first. I keep that one for when we sit together in front of your real data, because it only makes sense on your own line.
Where it gets harder
A first OEE in Excel is a strong start. It gets more specialized when one line runs many products with different cycle times, when you want counts and stops straight from the machine's PLC instead of paper, or when management asks how many OEE points are worth how much money. That last question is where many OEE projects stall, and I wrote about it in why OEE can go up while profit stays flat.
Common mistakes
- Ignoring short stops. They are usually the biggest hidden loss.
- Using a "standard" speed instead of the design speed. Performance looks great and means nothing.
- Counting rework as good. Quality must count only what was right the first time.
- Trusting AI formulas without a hand check. One wrong time base changes everything.
- Comparing OEE between lines with different rules. Agree on one definition first.
OEE in Excel fits well with other tutorials I have written: cleaning factory data in Excel with Claude, a weekly production plan in Excel with ChatGPT, and finding the real root cause in downtime data.
Want to know the real OEE of your line?
If you want us to calculate the real OEE of one of your lines together, send me one week of shift sheets or a stop log from your system. I will show you where your number differs from the board, which losses are worth attacking first, and we will run the check I mentioned above on your own data.
Contact me Read: OEE and profit Read: Claude for Excel
Sources
- OEE as Availability × Performance × Quality and the six big losses come from Total Productive Maintenance (TPM) practice, first described by Seiichi Nakajima.
- Performance should be measured against the ideal (design) cycle time; using a reduced standard rate hides speed losses.
- All numbers in this article (times, counts, rates and OEE values) are illustrative.
