How to Calculate First-Pass Yield From an Excel Test Log
Seven units passed inspection by close. Only five passed on the first try. If a dashboard keeps the last result for each serial number, those two recovered units can make first-pass yield look better than it was.
Check what the quality report counts
ASQ defines first-pass yield around units that meet the requirement on their first attempt without rework or repair. In your manufacturing or test system, confirm the operation, the unit identifier, and the cohort entering that operation. Export the original test events and keep any rework, scrap or disposition records that happen outside the tester. An export with only the latest test cannot reconstruct first-pass results.
Use a fixed unit list from the production register and a separate test log. Count each unit once. If serials repeat across operations or lots, include that field in the key. Use the recorded attempt number or a verified event sequence. A missing first attempt belongs in review, especially when a later pass is already present.
Reproduce the calculation in Excel
The following synthetic log covers a single operation and one group of nine units. Their first attempts are expected by the end of November 20, 2026. The log contains only Pass and Fail outcomes. The column for any pass by close measures test recovery in this example. A formal release still depends on the applicable disposition records.
Paste the CSV into a sheet named Tests starting at A1. If the columns paste as one field, split at commas. Make sure Excel stores test dates as dates and attempt numbers as numbers.
Serial,Attempt,Test date,Result
U01,1,2026-11-20,Pass
U02,1,2026-11-20,Pass
U03,1,2026-11-20,Pass
U04,1,2026-11-20,Pass
U05,1,2026-11-20,Pass
U06,1,2026-11-20,Fail
U07,1,2026-11-20,Fail
U08,1,2026-11-20,Fail
U06,2,2026-11-20,Pass
U07,2,2026-11-20,Fail
U07,3,2026-11-20,Pass
U08,2,2026-11-21,Pass
U09,2,2026-11-20,Pass
On an Audit sheet, list U01 through U09 in A2:A10. Set H1 to =DATE(2026,11,21) as the exclusive cutoff. Enter these formulas in B2:D2 and fill down through row 10. They return the number of first attempts, the first result and whether there was any pass by close. Check real exports for duplicate events and nonfinal statuses before using these formulas.
=COUNTIFS(Tests!$A$2:$A$14,A2,Tests!$B$2:$B$14,1,Tests!$C$2:$C$14,"<"&$H$1)
=IF(B2<>1,"Review",IF(COUNTIFS(Tests!$A$2:$A$14,A2,Tests!$B$2:$B$14,1,Tests!$C$2:$C$14,"<"&$H$1,Tests!$D$2:$D$14,"Pass")=1,"Pass","Fail"))
=IF(C2="Review","Review",IF(COUNTIFS(Tests!$A$2:$A$14,A2,Tests!$C$2:$C$14,"<"&$H$1,Tests!$D$2:$D$14,"Pass")>0,"Pass","No pass"))
In C11 and D11, calculate the shares for the same units with a verifiable first attempt. Format the cells as percentages.
=COUNTIF(C2:C10,"Pass")/(COUNTIF(C2:C10,"Pass")+COUNTIF(C2:C10,"Fail"))
=COUNTIF(D2:D10,"Pass")/(COUNTIF(D2:D10,"Pass")+COUNTIF(D2:D10,"No pass"))
Explain the gap before you send the report
Among the eight units with complete first-attempt evidence, five passed first time (62.5%) and seven had a pass by close (87.5%). U06 recovered on attempt two and U07 on attempt three. U08’s pass came the next day. U09 has a pass on attempt two but no first row, so report the two percentages with a separate one-unit review count. Resolve that missing record before calling either rate final for all nine units.
In Jolene.pro, ask which serials passed only after a retest, which first attempts are missing or duplicated, and which passes came after the cutoff. Ask for the exact test rows behind each difference. Save the check and rerun it on the next workbook with the same operation and cutoff rules.
1 comment