G
Guest
Hello,
I have a from with 10 control boxes, 8 with numbers, the
9th control box is the total of the 8 control boxes and a
10th control box is for the average. I am trying to
calculate the avearge value for the 8 control boxes? I am
encountering two problems
1. If any of control box is left null or empty then the to
total and the average boxes are also empty, null. I can
solve this problem by leaving a 0 in the control boxes but
then it leads to my second problem.
2. The 0 entries in the control boxes gets included in
calculating the average. So the average is wrong.
For example out of the 8 boxes I use 1 and enter 10 leave
the rest of the boxes with 0's. The total works fine it
gives me 10 but the average will be 1.25, when it should
be 10.
Any help would be so appreciated.
Cheers
I have a from with 10 control boxes, 8 with numbers, the
9th control box is the total of the 8 control boxes and a
10th control box is for the average. I am trying to
calculate the avearge value for the 8 control boxes? I am
encountering two problems
1. If any of control box is left null or empty then the to
total and the average boxes are also empty, null. I can
solve this problem by leaving a 0 in the control boxes but
then it leads to my second problem.
2. The 0 entries in the control boxes gets included in
calculating the average. So the average is wrong.
For example out of the 8 boxes I use 1 and enter 10 leave
the rest of the boxes with 0's. The total works fine it
gives me 10 but the average will be 1.25, when it should
be 10.
Any help would be so appreciated.
Cheers