N
neckface
I've got a sum of the cost of an item in one column, with a grand total at
the bottom of the report.The calculation in the Total field is "=SUM([Cost])"
I want to use ths grand total to print an average, using the number of Names
displayed on the report.
ie If I had 4 names displayed and the grand total was 1000, I would want it
to take the number of displayed items from the Name field (4) and divide that
into the Grand total.
Currently I can't use a field with a control source that is a sum to input
into another sum and I was wondering if there was any way to do this. I
originally thought the calculation would go something like this:
"=SUM([Cost]/[NameField])"
However, this does not count the number of fields in NameField, so it would
not work. I looked into using the Average function in the Totals menu, but it
was greyed out when I tried to average the Total field.
Any help would be appreciated.
the bottom of the report.The calculation in the Total field is "=SUM([Cost])"
I want to use ths grand total to print an average, using the number of Names
displayed on the report.
ie If I had 4 names displayed and the grand total was 1000, I would want it
to take the number of displayed items from the Name field (4) and divide that
into the Grand total.
Currently I can't use a field with a control source that is a sum to input
into another sum and I was wondering if there was any way to do this. I
originally thought the calculation would go something like this:
"=SUM([Cost]/[NameField])"
However, this does not count the number of fields in NameField, so it would
not work. I looked into using the Average function in the Totals menu, but it
was greyed out when I tried to average the Total field.
Any help would be appreciated.