Query question using 2 tables !

johnr715

New Member
Joined
Apr 26, 2004
Messages
34
I'm trying to build a query combining the 2 following tables :

Table a:

Name # Sales
John 5
Bill 4
Dan 3

Table b:

John 3
Bill 6

The query retur was :

Name # Sales
John 8
Bill 10

I lost Dan's data because it wasn't in both tables.

Is there a way to get Dan's results in this query even though he's not in both tables?

Thanks
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
In your query, change the link/relationship between the two tables to "Select All Records from TableA and only those from TableB that match." It will look like an arrow going from TableA to TableB.
 
Upvote 0

Forum statistics

Threads
1,221,709
Messages
6,161,442
Members
451,705
Latest member
Priti_190

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