Microsoft Excel (XL) has a whole host of built in functions: routines that are preprogrammed to do things that we might use over and over again. Alternatively, we might work with things that are complicated that would be tedious to keep reprogramming. Additionally, to minimise the possibility of programming badly and not realizing it; we can rely on preprogrammed functions. We will look at the following four functions:
| age | decayed | missing | filled |
| 5 | 30 | 10 | 10 |
| 6 | 20 | 10 | 10 |
| 7 | 40 | 0 | 20 |
| 8 | 40 | 10 | 20 |
| 9 | 10 | 10 | 10 |
| 10 | 30 | 20 | 10 |
| 11 | 40 | 20 | 20 |
| 12 | 10 | 10 | 20 |
| 13 | 40 | 10 | 10 |
| 14 | 10 | 10 | 10 |
| 15 | 30 | 20 | 20 |
| 16 | 20 | 20 | 20 |
| age | decayed | missing | filled |
| 5 | 30 | 10 | 10 |
| 6 | 20 | 10 | 10 |
| 7 | 40 | 0 | 20 |
| 8 | 40 | 10 | 20 |
| 9 | 10 | 10 | 10 |
| 10 | 30 | 20 | 10 |
| 11 | 40 | 20 | 20 |
| 12 | 10 | 10 | 20 |
| 13 | 40 | 10 | 10 |
| 14 | 10 | 10 | 10 |
| 15 | 30 | 20 | 20 |
| 16 | 20 | 20 | 20 |
| Total | 320.00 | 150.00 | 180.00 |
| Average | 26.67 | 12.50 | 15.00 |
| Standard Deviation | 12.31 | 6.22 | 5.22 |
| Minimum | 10.00 | 0.00 | 10.00 |
| Maximum | 40.00 | 20.00 | 20.00 |
| Range | 0.00 | 0.00 | 0.00 |
| A | B | C | D | |
| 1 | age | decayed | missing | filled |
| 2 | 5 | 30 | 10 | 10 |
| 3 | 6 | 20 | 10 | 10 |
| 4 | 7 | 40 | 0 | 20 |
| 5 | 8 | 40 | 10 | 20 |
| 6 | 9 | 10 | 10 | 10 |
| 7 | 10 | 30 | 20 | 10 |
| 8 | 11 | 40 | 20 | 20 |
| 9 | 12 | 10 | 10 | 20 |
| 10 | 13 | 40 | 10 | 10 |
| 11 | 14 | 10 | 10 | 10 |
| 12 | 15 | 30 | 20 | 20 |
| 13 | 16 | 20 | 20 | 20 |
| 14 | ||||
| 15 | Total | =SUM(B2:B13) | =SUM(C2:C13) | =SUM(D2:D13) |
| 16 | Average | =AVERAGE(B2:B13) | =AVERAGE(C2:C13) | =AVERAGE(D2:D13) |
| 17 | Standard Deviation | =STDEV(B2:B13) | =STDEV(C2:C13) | =STDEV(D2:D13) |
| A | B | C | D | |
| 7 | age | decayed | missing | filled |
| 8 | 7 | |||
| 9 | 8 | >10 | ||
| 10 | 9 | >20 | ||
| 11 | 10 | >20 | ||
| 12 | ||||
| 13 | Age | decayed | missing | filled |
| 14 | 5 | 30 | 10 | 10 |
| 15 | 6 | 20 | 10 | 10 |
| 16 | 7 | 40 | 0 | 20 |
| 17 | 8 | 40 | 10 | 20 |
| 18 | 9 | 10 | 10 | 10 |
| 19 | 10 | 30 | 20 | 10 |
| 20 | 11 | 40 | 20 | 20 |
| 21 | 12 | 10 | 10 | 20 |
| 22 | 13 | 40 | 10 | 10 |
| 23 | 14 | 10 | 10 | 10 |
| 24 | 15 | 30 | 20 | 20 |
| 25 | 16 | 20 | 20 | 20 |
| 26 | ||||
| 27 | DAVERAGE: 7 – 10 | 30.000 | =DAVERAGE(A13:D25,"decayed",A7:A11) | |
| 28 | DAVERAGE: 7 – 10 constrained | 36.667 | =DAVERAGE(A13:D25,"decayed",A7:B11) | |
| 29 | ||||
| 30 | STDEV all data | 10.370 | =STDEV(B14:D25) | |
| 31 | ||||
| 32 | DSTDEV decayed: 7 - 10 | 14.142 | =DSTDEV(A13:D25,"decayed",A7:A11) | |
| 33 | DSTDEVP decayed: 7 – 10 | 12.247 | =DSTDEVP(A13:D25,"decayed",A7:A11) |
| Age 7 | all decayed teeth | |
| Age 8 | only if there are more than 10 decayed teeth in this age group | |
| Age 9 | only if there are more than 20 decayed teeth in this age group | |
| Age 10 | only if there are more than 20 decayed teeth in this age group |
| 32 | DSTDEV decayed 7 – 10 | 14.142 | =DSTDEV(A13:D25,"decayed",A7:A11) |