Hello there, I am just getting to grips with Access having only previously worked in Excel (VBA). I have 3 tables set up from various sources and I'm trying to create a new table which can calculate the difference between them based on certain fields linking between them. All of the tables have fields for "Factory ID", "Month", "Year" & "Revenue" as well as others, the fields are not identical in each table.
My desired outcome would be to sum the "Revenue" from Tables 1 & 2 and subtract that figure from what is found in Table 3 for that combination of "Factory ID", "Month" & "Year". I'm just at a loss in how to do this really, I know that in Excel I could create a lookup column for Factory ID/Month/Year and use SUMIF, or even use SUMPRODUCT however in Access I don't know where to start (but am willing to learn!).
Thanks in advance for any replies.