A small chip fills; a long crack does not. The industry rule of thumb is that damage up to about six inches is repairable and anything longer needs a new windshield. One IF turns the measured length into that verdict.
A 2-inch star chip reads Repair; an 8-inch crack reads Replace.
The example
Three vehicles, each with a measured crack or chip length in inches.
| A | B | C | |
|---|---|---|---|
| 1 | Vehicle | Crack in | Verdict |
| 2 | Sedan | 2 | Repair |
| 3 | SUV | 8 | Replace |
| 4 | Truck | 5 | Repair |
The formula
IF checks the length against the six-inch limit and returns the matching word:
How it works
One test, two outcomes:
B2<=6asks whether the damage is six inches or shorter.- If true, IF returns
"Repair"; if false, it returns"Replace". - Keep the limit as a number you can edit — some shops draw the line at a dollar-bill length instead of six inches.
- Text results in quotes are exact, so the verdict is easy to filter, count, or color with conditional formatting.
Location matters too: damage in the driver's line of sight or at the edge of the glass often means replace regardless of length — add that as a second condition.
Try it: interactive demo
Enter the measured length of the chip or crack in inches.
Variations
Edge cracks always replace
Add an edge flag — damage at the glass edge weakens the whole windshield.
Count the replacements
Tally how many jobs are replacements across a list.
Pitfalls & errors
Length is not the only factor. Cracks reaching the windshield edge, damage over a sensor, or chips in the driver's sightline usually mean replace even under six inches — the rule is a starting point, not the final word.
Measure the full length of a crack, including any legs that have spread. A star that looks small can have cracks running past the repair limit.
Practice workbook
Frequently asked questions
Why six inches?
Can I add the crack location?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class