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
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
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).
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
1,221,848
Messages
6,162,419
Members
451,765
Latest member
craigvan888

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
Back
Top