decimal columns: avareage function and blank entries

Hello, I am stuck, I have four columns of type decimal:

weighing 1 (ex. 1.1234 grams)
weigh-in 2
weigh-in 3
average weight

the average weight column has to average the three weigh-ins columns, but sometimes only 1 or 2 weigh-ins are entered.
the decimal form automatically enters a zero for me, giving me an erroneous average. How can i fix this?

Solved Solved
0 4 125
1 ACCEPTED SOLUTION

As a workaround, try..

 

([wt1]+[wt2]+[wt3])
/
(IF(ISBLANK([wt1]),0,1) + IF(ISBLANK([wt2]),0,1) + IF(ISBLANK([wt3]),0,1))

 

 

View solution in original post

4 REPLIES 4
Top Labels in this Space