If you put 5, blank, -10 in A1:A3 and then have this formula (blank is a clear cell empty of any content)
=AVERAGE(ABS(A1:A3))
you get answer 5, which is the average of ABS(5,-10,0)
Of course the "regular" AVERAGE function (without the ABS()) just averages the "present" values and does not treat the blank cell "as if it were value 0"
Is there a workaround for this so that i could have blank cells within a range for the formula AVERAGE(ABS()) and get a result of the Average of the "cells with values" and not treat empty cells as if they were value 0? I have tried IF statements that evaluate to "" or #N/A if the cell is empty but it also does not work. What a pernicious behavior!
If you can think of a workaround for this behavior of ABS() please let me know. Thank you.
=AVERAGE(ABS(A1:A3))
you get answer 5, which is the average of ABS(5,-10,0)
Of course the "regular" AVERAGE function (without the ABS()) just averages the "present" values and does not treat the blank cell "as if it were value 0"
Is there a workaround for this so that i could have blank cells within a range for the formula AVERAGE(ABS()) and get a result of the Average of the "cells with values" and not treat empty cells as if they were value 0? I have tried IF statements that evaluate to "" or #N/A if the cell is empty but it also does not work. What a pernicious behavior!
If you can think of a workaround for this behavior of ABS() please let me know. Thank you.