merging two data file with same rows in a new columns for new dictionary (macro)

osmanoca

Board Regular
Joined
Apr 16, 2016
Messages
87
Hello dear helpfull mrexcel friends..i need help please. very important .thanks

i have two excel file for dictionary. Both are for two languages . both are with columns. word and meaning. but one language of two dictionaries is same. for example i have English-kurdish and kurdis-persian files. i want make make persian english new dictionary with same rows in kurdish. i pasted their columns side to side as: Eng-Kur is column A and B , Kurdish-Persian column is C and D so i want merging or bringing same rows in kurdish (column B-C) in one row.


example
my Eng-Kurdish data as below:

ENGKU
bookpirtûk
tablemase
treedar

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

my kurdish-Persian data as below:

KURPERS
dardirext
sarserd
pirtûkketab
masemiz
zêrzer
mêrmerd

<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>
</tbody>


i pasted two file side by side in one file as ABCD columns as below:

ENGKUKUPERS
bookpirtûkdardirext
tablemasesarserd
treedarpirtûkketab
masemiz
zêrzer
mêrmerd

<colgroup><col><col span="3"></colgroup><tbody>
</tbody>

i want macro code to rearrange and bring only same rows with two columns near to eachother in new columns as below:

ENGKUKUPERS
bookpirtûkpirtûkketab
tablemasemasemiz
treedardardirext

<colgroup><col><col span="3"></colgroup><tbody>
</tbody>

then i will delete kurdish columns and make ENG-PERS dictionary

please give me a way to arrive this solution. macro please. very very thanks..
 
You're welcome & thanks for replying. :)



And you can also click ‘Thank for this post’ and ‘Like this post’ button in the post that you like.
 
Upvote 0

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,216,052
Messages
6,128,509
Members
449,455
Latest member
jesski

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