Quantcast
Channel: Active questions tagged worksheet-function - Super User
Viewing all articles
Browse latest Browse all 929

Custom formula for average deviation

$
0
0

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/Day12345Total (AO)Average (AP)Expected Average Deviation
User 1323434283816633.202.56
User 2262624522515330.608.56
User 3214010124012324.6012.32
User 4122527402813226.406.32
User 5343036444018436.804.16
User 6343728302615531.003.6
User 7223036243915130.205.64
User 8205324344417535.0010.8
User 9315334374219739.406.48
User 10264318304115831.608.32
User 11353151*4053159*31.80*13.04*
User 12553447291818336.6011.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


Viewing all articles
Browse latest Browse all 929

Trending Articles