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  

creating subtotals and grand totals on a report?



 
 
Thread Tools Display Modes
  #1  
Old February 4th, 2006, 08:07 PM posted to microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default creating subtotals and grand totals on a report?

I feel like I have tried everything!
All I want to do is calculate a subtotal on a report, and then add up all
those totals for a grand total at the bottom.

My report contains: Quantity, Product, and ProductPrice
I want to subtotal each line (quantity*productprice) and then sum all those
calculations into a grand total at the bottom. Does anyone know how to make
this happen?
-Thanks
  #2  
Old February 4th, 2006, 08:47 PM posted to microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default creating subtotals and grand totals on a report?

nikki wrote:

I feel like I have tried everything!
All I want to do is calculate a subtotal on a report, and then add up all
those totals for a grand total at the bottom.

My report contains: Quantity, Product, and ProductPrice
I want to subtotal each line (quantity*productprice) and then sum all those
calculations into a grand total at the bottom. Does anyone know how to make
this happen?



Add a text box to the detail section and set its control
source expression to =quantity * productprice

Then add a text box to the report footer section using this
expression =Sum(quantity * productprice)

--
Marsh
MVP [MS Access]
  #3  
Old February 4th, 2006, 09:00 PM posted to microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default creating subtotals and grand totals on a report?

In the detail section, use:
=quantity*productprice
In any Group or the Report Footer, use:
=Sum(quantity*productprice)

--
Duane Hookom
MS Access MVP
--

"nikki" wrote in message
...
I feel like I have tried everything!
All I want to do is calculate a subtotal on a report, and then add up all
those totals for a grand total at the bottom.

My report contains: Quantity, Product, and ProductPrice
I want to subtotal each line (quantity*productprice) and then sum all
those
calculations into a grand total at the bottom. Does anyone know how to
make
this happen?
-Thanks



  #4  
Old February 4th, 2006, 10:39 PM posted to microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default creating subtotals and grand totals on a report?

Duane Hookom wrote:

In the detail section, use:
=quantity*productprice
In any Group or the Report Footer, use:
=Sum(quantity*productprice)



The elegance of your solutions shines once again, Duane.
--
Marsh
  #5  
Old February 4th, 2006, 11:00 PM posted to microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default creating subtotals and grand totals on a report?

:-)

--
Duane Hookom
MS Access MVP
--

"Marshall Barton" wrote in message
...
Duane Hookom wrote:

In the detail section, use:
=quantity*productprice
In any Group or the Report Footer, use:
=Sum(quantity*productprice)



The elegance of your solutions shines once again, Duane.
--
Marsh



 




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 02:36 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.