I’m a relatively new Access user and this is my first post on the forum. I’m familiar with basic SQL (I think) and I have done a lot of searching, reading and trial and error and cannot seem to get this to work…
I have 2 tables, each containing spend data. One is for 2011 and one for 2012. Some vendors are common in each year, and some are used in one year but not the other. I want to design a query that will show me 3 columns: Vendor Name, 2012 Spend and 2011 Spend. If the vendor was used in 2011 but not in 2012, I don’t care about it.
My tables are much more complex, but basically are structured like such:
2012_SPEND Table:
Vendor_Name Spend_Amount VendorA 5 VendorB 7 VendorC 10 VendorA 3 VendorC 12
2012_SPEND Table:
Vendor_Name Spend_Amount VendorA 16 VendorD 6 VendorC 12 VendorA 9
I want the query result to be:
Vendor_Name 2012 Spend 2011 Spend VendorC 22 12 VendorA 8 25 VendorB 7 0
Any help would be tremendously appreciated!