Merging two different column into 1 final column

Jackcell

New Member
Joined
Dec 3, 2017
Messages
14
Hi all,
Been searching online for a solution but to no avail.

Problem:
I have 2 different excel files, excel A and excel B.
Excel A has age time money
Excel B has age time date

I need to combine these two columns of both file to be the same, age time date money.

Cheers,
Jack
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
If age or time is unique, you can just do a straight forward vlookup, by naming the range in one sheet, and using vlookup to look for a value in one sheet and return the value in the column in the named range. the value you want to look up should be the first column in the named range. eg =vlookup(a2,namedrange,column you want to return,false)

Assuming, that neither age nor time are unique identifiers, but a combination of the 2 may be,

In one book, create a helper column at the start of the data, by using =concatenate(age,time) where age and time are the columns you want to concatenate.
Copy this down so all your data now has this unique identifier, and select all you data and name the range.

in the other workbook, in the cell you want your data to appear type =vlookup(concatenate(age,time),range name,1,false) where age and time are the columns on the current sheet, range name is the name you gave in the other sheet, and 1 is the column number of the named range where the value you want to return is.


Regards,

Dan.
 
Upvote 0

Forum statistics

Threads
1,215,513
Messages
6,125,262
Members
449,219
Latest member
daynle

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