I have a table in MS Excel with the following data, which will be loaded up until day 38 (from columns C to AN):
User/Day | 1 | 2 | 3 | 4 | 5 | Total (AO) | Average (AP) | Expected Average Deviation |
---|---|---|---|---|---|---|---|---|
User 1 | 32 | 34 | 34 | 28 | 38 | 166 | 33.20 | 2.56 |
User 2 | 26 | 26 | 24 | 52 | 25 | 153 | 30.60 | 8.56 |
User 3 | 21 | 40 | 10 | 12 | 40 | 123 | 24.60 | 12.32 |
User 4 | 12 | 25 | 27 | 40 | 28 | 132 | 26.40 | 6.32 |
User 5 | 34 | 30 | 36 | 44 | 40 | 184 | 36.80 | 4.16 |
User 6 | 34 | 37 | 28 | 30 | 26 | 155 | 31.00 | 3.6 |
User 7 | 22 | 30 | 36 | 24 | 39 | 151 | 30.20 | 5.64 |
User 8 | 20 | 53 | 24 | 34 | 44 | 175 | 35.00 | 10.8 |
User 9 | 31 | 53 | 34 | 37 | 42 | 197 | 39.40 | 6.48 |
User 10 | 26 | 43 | 18 | 30 | 41 | 158 | 31.60 | 8.32 |
User 11 | 35 | 31 | 51* | 40 | 53 | 159* | 31.80* | 13.04* |
User 12 | 55 | 34 | 47 | 29 | 18 | 183 | 36.60 | 11.52 |
An asterisk on user 11's day 3 means that he earned 51 points, but are invalid, so they should be counted as zero and will not count for their average points. This average is calculated in column AP with the formula =AO12/COUNTA(C12:AN12)
).
I want to add a column which is the average deviation after the Average column, with the difference being that the value should be 0 if it finds a non-numeric character.
Logic says that AVEDEV
should do the trick, but it counts the value as if there was no asterisk (ie, as a 51).
Is there any way I can do this?
Edit 1: expected average deviation added