hilltop804
Registered User.
- Local time
- Today, 13:35
- Joined
- Dec 5, 2013
- Messages
- 13
Hello everyone!
So, I have 2 tables with the same structure (one for 2013, one for 2012). Each contains 4 columns (County, Market, UPC, and Sales). What I'm trying to do is make a query that will condense these 2 tables into 1 list containing columns for County, Market, UPC, Current[sales], and Past Year[Sales]. I've tried several setups, but it keeps doubling or tripling duplicate products (since the same UPC can be sold in the same market and county multiple times.)
I can provide screenshots, but I cannot attach the database because it contains confidential business information.
I feel like I'm just missing something and that this should be a pretty easy fix, but I'm just kinda stuck. Any help anyone can provide would be greatly appreciated...
(Attached are screenshots of how I thought the query would work, and an excel spreadsheet example showing a particular item's incorrect totals. The query should output the same overall sales for any particular item as the table, and you can see the that the query total is much higher.)
Thanks,
Brad
So, I have 2 tables with the same structure (one for 2013, one for 2012). Each contains 4 columns (County, Market, UPC, and Sales). What I'm trying to do is make a query that will condense these 2 tables into 1 list containing columns for County, Market, UPC, Current[sales], and Past Year[Sales]. I've tried several setups, but it keeps doubling or tripling duplicate products (since the same UPC can be sold in the same market and county multiple times.)
I can provide screenshots, but I cannot attach the database because it contains confidential business information.
I feel like I'm just missing something and that this should be a pretty easy fix, but I'm just kinda stuck. Any help anyone can provide would be greatly appreciated...
(Attached are screenshots of how I thought the query would work, and an excel spreadsheet example showing a particular item's incorrect totals. The query should output the same overall sales for any particular item as the table, and you can see the that the query total is much higher.)
Thanks,
Brad