Duplicate Data

anillinda

New Member
Joined
Apr 20, 2012
Messages
48
I am merging 2 databases and joining through using the data in the amount column, on table 1 there are a few entries that have duplicate amounts, when the query is merged the power query matches

table 1

Date Amount
02/10/19 7000
02/15/19 7500
02/17/19 7000
table 2
date Amount
02/9/19 2500
02/3/19 7500
02/16/19 7000
date amountTable2.dateTable2.amount
2/10/201970002/16/20197000
2/17/201970002/16/20197000
2/9/20192500
2/15/201975002/3/20197500

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>

The merged table matched two amounts of 7000/- from table 1 to 2 entries from table 2, where there was only one $7000/- entry which is wrong. The merge was done using all rows from both tables.
How can I correct this error?
Thanks
Neal
DateAmountTable2.DataTable2.Amount
02/10/19700002/16/197000
02/17/19700002/16/197000
02/9/192500
02/15/19750002/3/197500

<tbody>
</tbody>
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
maybe join tables via APPEND feature?

DateAmountDateAmountDateAmount
10/02/2019​
7000​
09/02/2019​
2500​
03/02/2019​
7500​
15/02/2019​
7500​
03/02/2019​
7500​
09/02/2019​
2500​
17/02/2019​
7000​
16/02/2019​
7000​
10/02/2019​
7000​
15/02/2019​
7500​
16/02/2019​
7000​
17/02/2019​
7000​
 
Last edited:
Upvote 0
or like this

AmountDates
7500​
03/02/2019, 15/02/2019
2500​
09/02/2019
7000​
10/02/2019, 16/02/2019, 17/02/2019
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,693
Members
448,979
Latest member
DET4492

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