Using MSQuery To Bring Entries From Multiple Tables Together

Pete81

New Member
Joined
Aug 27, 2015
Messages
26
Hi,

I am trying to create, using MSQuery in Excel, a single table which shows all entries for a single customer over the year. These entries will come from 12 monthly tables, on separate worksheets within the same workbook.

However, I am having trouble joining the tables, as when I try to do so for just two of the 12 tables, the result is that the entries for the second table don't show, while the entries for the first are duplicated, sometimes as much as 8 times depending on which two I put together.

I honestly don't know where I'm going wrong, and would very much appreciate some advice on the matter.

Thank you.

Peter
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
The join will include all rows for a given value, so if they're not unique you can have many repeats
 
Upvote 0
Hi sheetspread,

Each table covers any issues for a customer on any of their orders. As each issue is unique, in either description, date and/or order number, each row entry should be unique. The problem I am having is that once I try to bring entries in from two monthly tables, I see duplications of row entries from the first month, and no entries at all from the second.
 
Upvote 0
A much better data structure would be one table for all the customers, with a form to enter each new record. If you post your query, however, I can try to find the error.
 
Upvote 0

Forum statistics

Threads
1,214,589
Messages
6,120,416
Members
448,960
Latest member
AKSMITH

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