QuickBase Resources - Numeric
http://quickbase.intuit.com/developer/taxonomy/term/426/0
enHow come the totals and averages of a numeric formula field don't follow the formula?
http://quickbase.intuit.com/developer/knowledge-base/why-dont-totals-and-averages-numeric-formula-field-follow-formula
<p>The total value at the bottom of a column is the total of all values above it in the report. The same is true of the average value at the bottom of a report. The average value is the average of all the values in the column above it. The totals and averages at the bottom of a formula field do not necessarily relate to the totals and averages of fields that make up the formula in the way that the formula specifies. For example imagine ten rows and three fields. All cells have the value one in them. Totals are turned on for all three columns. Imagine that the third column is a formula field that divides the first column by the second column. The totals at the bottom of all three columns will display "10". However if you divide the total of column one by the total of column two you get the number one not the number 10! However in this case the average at the bottom of each column is one, which does follow the formula, but this is only a coincidence.</p>
<p>Here's another example:</p>
<p> 10 5 2<br />
100 1 100<br />
------------<br />
110 6 102 Totals<br />
55 3 51 Averages</p>
<p>In the above example the third column is a formula numeric field that divides the first column by the second column. Notice that in the Totals and Averages rows they represent the totals and averages of the numbers in the column above. However in the Totals row if you divide 110 by 6 you don't get 102 or even 51! And if you divide 55 by 3 in the Averages row you don't get 51 or even 102.</p>
http://quickbase.intuit.com/developer/knowledge-base/why-dont-totals-and-averages-numeric-formula-field-follow-formula#commentsField TypesFormulaNumericaveragefieldformulanumbernumerictotalsThu, 05 Feb 2009 22:16:10 +0000quickbase2073 at http://quickbase.intuit.com/developerWhy doesn't the formula Nz([num1], [num2]) detect when [num1] is blank like it is supposed to? It just returns 0 instead of substituting the alternate value [num2].
http://quickbase.intuit.com/developer/knowledge-base/why-doesnt-formula-nznum1-num2-detect-when-num1-blank-it-supposed-it-just-returns-0-instead-
<p>This can happen because the field property for [num1] called "Treat blank as zero in calculations" is checked. This is checked by default, so you can do things like add and subtract lists of values which contain some blanks.</p>
<p>When this is checked, a blank field looks to formulas just like a zero, which is not the same as null. For the Nz() formula to work correctly, uncheck this box. Then blank fields will then be seen as null.</p>
http://quickbase.intuit.com/developer/knowledge-base/why-doesnt-formula-nznum1-num2-detect-when-num1-blank-it-supposed-it-just-returns-0-instead-#commentsNumericblankformulanullNzThu, 05 Feb 2009 22:16:09 +0000quickbase2067 at http://quickbase.intuit.com/developer