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  

calculating value from other footers. Dsum?



 
 
Thread Tools Display Modes
  #1  
Old August 16th, 2005, 09:59 PM
Barb
external usenet poster
 
Posts: n/a
Default calculating value from other footers. Dsum?

Could you help me. I have a sub form that has a "modifacation amount" for
several records. How can I subtotal each of those to a Total field on the
main form? Please let me know if you can help before I lose all my hair.
Thanks,
Barb.

"Duane Hookom" wrote:

You can do this with an expression like:
=Sum( Abs([Region] ="Southwest" OR [Region]="West") * [Field you want to
Sum] )

--
Duane Hookom
MS Access MVP
--

"Matt" wrote in message
...
I have built a report that calculates the number of lines, monthly revenue
and contract value for each of our regions (Southwest, Midwest, West, &
East). I have the report grouped by region so I have subtotals for each
region, and then a combined total at the bottom of the report for all
sales.
What I would like to do is below the combined totals, add a field that
calculates what the total is for the Southwest region plus the West
region,
but do not include the Midwest and east. Is this possible in a report?




  #2  
Old August 17th, 2005, 02:15 AM
Duane Hookom
external usenet poster
 
Posts: n/a
Default

Total the records in a form footer of the subform. Then add a text box on
the main form with a control source like:
=sfrmControl.Form.txtTotal

--
Duane Hookom
MS Access MVP


"Barb" wrote in message
...
Could you help me. I have a sub form that has a "modifacation amount" for
several records. How can I subtotal each of those to a Total field on the
main form? Please let me know if you can help before I lose all my hair.
Thanks,
Barb.

"Duane Hookom" wrote:

You can do this with an expression like:
=Sum( Abs([Region] ="Southwest" OR [Region]="West") * [Field you want to
Sum] )

--
Duane Hookom
MS Access MVP
--

"Matt" wrote in message
...
I have built a report that calculates the number of lines, monthly
revenue
and contract value for each of our regions (Southwest, Midwest, West, &
East). I have the report grouped by region so I have subtotals for
each
region, and then a combined total at the bottom of the report for all
sales.
What I would like to do is below the combined totals, add a field that
calculates what the total is for the Southwest region plus the West
region,
but do not include the Midwest and east. Is this possible in a report?






  #3  
Old August 17th, 2005, 12:58 PM
Barb
external usenet poster
 
Posts: n/a
Default

Will this add up all the $ enteries in the subform and give me a total on my
main form? How do I format the expression? Sorry I am not very savy in this
stuff.

"Duane Hookom" wrote:

Total the records in a form footer of the subform. Then add a text box on
the main form with a control source like:
=sfrmControl.Form.txtTotal

--
Duane Hookom
MS Access MVP


"Barb" wrote in message
...
Could you help me. I have a sub form that has a "modifacation amount" for
several records. How can I subtotal each of those to a Total field on the
main form? Please let me know if you can help before I lose all my hair.
Thanks,
Barb.

"Duane Hookom" wrote:

You can do this with an expression like:
=Sum( Abs([Region] ="Southwest" OR [Region]="West") * [Field you want to
Sum] )

--
Duane Hookom
MS Access MVP
--

"Matt" wrote in message
...
I have built a report that calculates the number of lines, monthly
revenue
and contract value for each of our regions (Southwest, Midwest, West, &
East). I have the report grouped by region so I have subtotals for
each
region, and then a combined total at the bottom of the report for all
sales.
What I would like to do is below the combined totals, add a field that
calculates what the total is for the Southwest region plus the West
region,
but do not include the Midwest and east. Is this possible in a report?






  #4  
Old August 17th, 2005, 03:59 PM
Duane Hookom
external usenet poster
 
Posts: n/a
Default

To find out if this will "add up all the $ enteries in the subform and give
me a total on my main form", you should try it.

You should be able to format this text box like you would format any other
text box.

--
Duane Hookom
MS Access MVP
--

"Barb" wrote in message
...
Will this add up all the $ enteries in the subform and give me a total on
my
main form? How do I format the expression? Sorry I am not very savy in
this
stuff.

"Duane Hookom" wrote:

Total the records in a form footer of the subform. Then add a text box on
the main form with a control source like:
=sfrmControl.Form.txtTotal

--
Duane Hookom
MS Access MVP


"Barb" wrote in message
...
Could you help me. I have a sub form that has a "modifacation amount"
for
several records. How can I subtotal each of those to a Total field on
the
main form? Please let me know if you can help before I lose all my
hair.
Thanks,
Barb.

"Duane Hookom" wrote:

You can do this with an expression like:
=Sum( Abs([Region] ="Southwest" OR [Region]="West") * [Field you want
to
Sum] )

--
Duane Hookom
MS Access MVP
--

"Matt" wrote in message
...
I have built a report that calculates the number of lines, monthly
revenue
and contract value for each of our regions (Southwest, Midwest,
West, &
East). I have the report grouped by region so I have subtotals for
each
region, and then a combined total at the bottom of the report for
all
sales.
What I would like to do is below the combined totals, add a field
that
calculates what the total is for the Southwest region plus the West
region,
but do not include the Midwest and east. Is this possible in a
report?








 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
calculating excel spreadsheet files for pensions and life insurance (including age calculation sheets) RICHARD Worksheet Functions 1 March 15th, 2005 05:49 PM
default headers & footers in templates Mike B Page Layout 1 July 9th, 2004 12:36 AM
DSUM search issues needyourhelp General Discussion 1 July 2nd, 2004 09:17 PM
DSUM Criteria and Excel Help Earl Kiosterud Worksheet Functions 2 April 30th, 2004 07:55 PM
DSUM or SUMPRODUCT wont work. Nimit Mehta Worksheet Functions 1 April 27th, 2004 01:39 PM


All times are GMT +1. The time now is 09:54 PM.


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