Flag a measurement outside tolerance
Screen a batch record against its nominal dimension.
Enter measured length 10.12 in B2, nominal length 10.00 in C2 and allowed deviation 0.10 in D2, all in millimetres.
=IF(ABS(B2-C2)<=D2,"Within tolerance","Review")ABS measures the size of the deviation in either direction. The observed deviation is 0.12 mm.
Result Review
Measure a test run’s spread
Find the distance between the smallest and largest readings.
Enter readings 14.1, 14.7, 14.6, 14.2 and 14.4 in B2:B6, all in volts.
=MAX(B2:B6)-MIN(B2:B6)The range runs from 14.1 V to 14.7 V. Format to one decimal place.
Result 0.6 V
Find the mean cycle time
Average five completed cycles measured in seconds.
Enter 11.9, 12.4, 12.0, 12.5 and 12.2 in B2:B6.
=ROUND(AVERAGE(B2:B6),1)Compute the mean first, then round the displayed metric to one decimal place.
Result 12.2 seconds
Calculate a tolerance range using Excel's IF and ABS functions
How to Calculate Range in Excel
How to Round the Calculated Average result in Excel
Practice workspace
Flag a measurement outside tolerance
Return “Within tolerance” when the absolute difference is at most the allowed deviation. Otherwise return “Review”.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | ||||
| 2 |
Show example formula
=IF(ABS(B2-C2)<=D2,"Within tolerance","Review") Measure a test run’s spread
Find the distance between the smallest and largest readings.
| A | B | |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 | ||
| 4 | ||
| 5 | ||
| 6 |
Show example formula
=MAX(B2:B6)-MIN(B2:B6) Find the mean cycle time
Calculate the average cycle time and round the result to one decimal place.
| A | B | |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 | ||
| 4 | ||
| 5 | ||
| 6 |
Show example formula
=ROUND(AVERAGE(B2:B6),1) Lesson quiz
Answer three questions to see your level in this lesson.
