A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Report Totals



 
 
Thread Tools Display Modes
  #1  
Old March 25th, 2010, 07:54 PM posted to microsoft.public.access.reports
Summing multiple fields on a form
external usenet poster
 
Posts: 38
Default Report Totals

I created a report with totals. See below sample.

Date Type1 Type2 Servs1 Servs2 Type Total Serv Total
71/2009 10 20 30 35 30
65
7/2/2009 11 22 33 44 33
77

I used the =NZ for Row Totals and =Sum for column Totals. I tried to get
column totals for 'Type Total' column and also for 'Serv Total' column. I
couldnt figure it out. Can someone please tell me what to do?



  #2  
Old March 25th, 2010, 08:01 PM posted to microsoft.public.access.reports
HC[_4_]
external usenet poster
 
Posts: 4
Default Report Totals

On Mar 25, 3:54*pm, Summing multiple fields on a form
t.com wrote:
I created a report with totals. *See below sample.

Date * * * * Type1 * Type2 *Servs1 *Servs2 * * * Type Total *Serv Total
71/2009 * * *10 * * * 20 * * * * * *30 * * * *35 * * * * * * * * * 30 * * * *
* * *65
7/2/2009 * * 11 * * * 22 * * * * * *33 * * * *44 * * * * * * * * * 33 * * * *
* * *77

I used the =NZ *for Row Totals and =Sum for column Totals. *I tried to get
column totals for 'Type Total' column and also for 'Serv Total' column. I
couldnt figure it out. Can someone please tell me what to do?



Looks at the name of the field label on your your
report ...Forexample ...
Date Type1 Type2 Servs1 Servs2 Type Total Serv Total
71/2009 10 20 30 35 30

| | | |
Text1 | | |
Text2
...............
On this value box =Text1 + text2 + etc.....

On the sum of each column you may put in footer
=Sum(text1) Sum(text2) .....

That should work. Hopes it help.
  #3  
Old March 26th, 2010, 04:58 AM posted to microsoft.public.access.reports
Summing multiple fields on a form
external usenet poster
 
Posts: 38
Default Report Totals

Yes HC...I did that for the fields in my table, however 'Type Total' and
'Serv Total' are not in my table. I added them with text boxes......

"HC" wrote:

On Mar 25, 3:54 pm, Summing multiple fields on a form
t.com wrote:
I created a report with totals. See below sample.

Date Type1 Type2 Servs1 Servs2 Type Total Serv Total
71/2009 10 20 30 35 30
65
7/2/2009 11 22 33 44 33
77

I used the =NZ for Row Totals and =Sum for column Totals. I tried to get
column totals for 'Type Total' column and also for 'Serv Total' column. I
couldnt figure it out. Can someone please tell me what to do?



Looks at the name of the field label on your your
report ...Forexample ...
Date Type1 Type2 Servs1 Servs2 Type Total Serv Total
71/2009 10 20 30 35 30

| | | |
Text1 | | |
Text2
...............
On this value box =Text1 + text2 + etc.....

On the sum of each column you may put in footer
=Sum(text1) Sum(text2) .....

That should work. Hopes it help.
.

  #4  
Old March 26th, 2010, 01:25 PM posted to microsoft.public.access.reports
John Spencer
external usenet poster
 
Posts: 7,815
Default Report Totals

Then you need to redo the calculation that you used for type Total and Serv
Total in the controls. You can only refer to fields and not controls when you
are using SUM or the other aggregate functions in the report.

The Control source to sum the Type Total column would look something like the
following (assuming the fields in the query are named Type1 and Type2).

=Sum(Nz([Type1],0) + Nz([Type2],0))

John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County

Summing multiple fields on a form wrote:
Yes HC...I did that for the fields in my table, however 'Type Total' and
'Serv Total' are not in my table. I added them with text boxes......

"HC" wrote:

On Mar 25, 3:54 pm, Summing multiple fields on a form
t.com wrote:
I created a report with totals. See below sample.

Date Type1 Type2 Servs1 Servs2 Type Total Serv Total
71/2009 10 20 30 35 30
65
7/2/2009 11 22 33 44 33
77

I used the =NZ for Row Totals and =Sum for column Totals. I tried to get
column totals for 'Type Total' column and also for 'Serv Total' column. I
couldnt figure it out. Can someone please tell me what to do?


Looks at the name of the field label on your your
report ...Forexample ...
Date Type1 Type2 Servs1 Servs2 Type Total Serv Total
71/2009 10 20 30 35 30

| | | |
Text1 | | |
Text2
...............
On this value box =Text1 + text2 + etc.....

On the sum of each column you may put in footer
=Sum(text1) Sum(text2) .....

That should work. Hopes it help.
.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:47 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.