Creating/appending a table and carrying out calculation at the same time?

poiu

Active Member
Joined
Sep 13, 2011
Messages
384
Hi All,

I have a query which creates a new table with some monthly spend figures and another query which appends the table with some more monthly spend figures.

Please could you tell me whether it is possible to carry out calculations on the numbers as I bring them into the table (i.e. my source table is in local currency and the new table will need to be in Euros)? I have a currency code in each record so I can use a relational table with exchange rates in for each currency.

(I know I can add an extra query to do this but was wondering if I can do the calculations in the original two queries?)

Thanks,

Poiu
 

Some videos you may like

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
55,914
Office Version
  1. 365
Platform
  1. Windows
You can perform the calculations right in your append query itself. I would recommend starting with a simple Select Query, and program it to return all the records and calculations you need. Then just change it to an Append Query, mapping each field/calculation to the appropriate field in your destination table.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,418
Messages
5,596,028
Members
414,039
Latest member
southike

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