Hi all,
I have four fields: Avg, SD, RelSD, and Recovery. For simplicity sake, I have truncated the field names.
For Avg, the calculation is Avg(#1, #2, #3).
For SD, the calculation is sqrt((((#1 - Avg) * (#1 - Avg)) + ((#2 - Avg) * (#2 - Avg)) + ((#3 - Avg) * (#3 - Avg))) / 2).
For RelSD, the calculation is (SD / Avg)*100.
For Recovery the calculation is (SD / Assigned)*100.
The calculations for Avg and SD are in FormCalc. They work fine. But the calculations for RelSD and Recovery don't work at all. If I select FormCalc I get the Error: Arithmetic Over/Underflow, and if I select Javascript I get no error message, but I also get no results.
I am thinking that I either have not defined the fields properly for use in the last two or I haven't written them correctly or I need to tell the program to perform (i.e., hit the go button somehow). Am I on the right track or have I messed up entirely?
Can someone help me? I am very new to this and I am trying to create forms for technical laboratory use that will do the calculations needed. Any response and advice will be greatly appreciated.
rpeterson
George