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 » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Simple Calculation Question



 
 
Thread Tools Display Modes
  #1  
Old February 14th, 2007, 07:02 PM posted to microsoft.public.access.queries
johnny
external usenet poster
 
Posts: 191
Default Simple Calculation Question

I've done this before, but can't recall how, it's been awhile.

I have multiple duplicate lines containing same customer name in one column
and in the other column are pricing information. The reason they show as
duplicate name is due to the pricing differences in each line or the pricing
dates being different.

All I want to accomplish is a grand total pricing for each customer as my
final outcome. I need to do this preferrably in a query.

Thanks for any suggestions.
--
Johnny
  #2  
Old February 14th, 2007, 07:51 PM posted to microsoft.public.access.queries
Jason Lepack
external usenet poster
 
Posts: 600
Default Simple Calculation Question

Click the Sigma (Totals) button in the toolbar in query design mode.
This adds teh totals row to your query. Instead of "Group By" for
your pricing field choose "Sum"

Cheers,
Jason Lepack

On Feb 14, 2:02 pm, Johnny wrote:
I've done this before, but can't recall how, it's been awhile.

I have multiple duplicate lines containing same customer name in one column
and in the other column are pricing information. The reason they show as
duplicate name is due to the pricing differences in each line or the pricing
dates being different.

All I want to accomplish is a grand total pricing for each customer as my
final outcome. I need to do this preferrably in a query.

Thanks for any suggestions.
--
Johnny



  #3  
Old February 14th, 2007, 08:29 PM posted to microsoft.public.access.queries
Marshall Barton
external usenet poster
 
Posts: 5,361
Default Simple Calculation Question

Johnny wrote:

I've done this before, but can't recall how, it's been awhile.

I have multiple duplicate lines containing same customer name in one column
and in the other column are pricing information. The reason they show as
duplicate name is due to the pricing differences in each line or the pricing
dates being different.

All I want to accomplish is a grand total pricing for each customer as my
final outcome. I need to do this preferrably in a query.



Use a Totals type qurery (View menu in query design window).

--
Marsh
MVP [MS Access]
 




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 08:28 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.