Query merge not finding matches

egspen2

New Member
Joined
Apr 22, 2024
Messages
6
Office Version
  1. 365
Platform
  1. Windows
I am trying to merge two queries using a left outer join in order to add "mapping" columns to accounts based on a common account number / code between the two files. When I do the merge (via left outer join), I am getting very few matches (<10 out of 700+ rows) when I know and can see that almost all should have a match. When I do the fuzzy match, almost all account codes get a match but the merge brings in incorrect mapping columns. The account #/code column in each file is set to text but other than that I cannot figure out why the merge is not working as expected. Any ideas on how to troubleshoot what is causing the merge issue?

Snip of mapping file:
1725460082920.png


Snip of data tab ("Trial Balances - NetSuite in the PQ merge screenshot below) that I am trying to map:

1725460121787.png


1725463095441.png
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
I'd suggesting trimming both columns to remove any extra spaces, then try the merge again.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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