One customer Many orders

Ed3m

New Member
Joined
Mar 10, 2004
Messages
35
Hi
I have a customer table and an order table. Customers can make many orders and for each order the total is calculated using a query. Is there a way to add together the combined cost of all orders for each individual customer and place it in a seperate table.
Thanks
 

Some videos you may like

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

vconfused

Well-known Member
Joined
Jun 11, 2004
Messages
547
I would start by creating a plain Select query to display all of the customers and all of their orders amounts. Then click on the Totals button in the Toolbar, under CustomerID select Group By and under OrderAmt select Sum. This will display the total of the orders for each customer. Next change it to a Make Table query or an Update query (if you already have a table with the customer IDs).
 

Ed3m

New Member
Joined
Mar 10, 2004
Messages
35
Hi again
Is there a way of adding the combined cost of all orders for each individual customer repeatedly automatically every 7 days or manually . For example if the current cost is 5 the new total would be 10 and then 15, 20 and so on.
Thanks
 

Watch MrExcel Video

Forum statistics

Threads
1,126,938
Messages
5,621,715
Members
415,853
Latest member
Newlife72

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top