Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Matching data on two workbooks
Hi,
I have two workbooks with different types of data about the same groups of people. There is one column containing an ID number which is common to both files. I wanted to copy matching data from one worksheet to the other and thought I would just sort both workbooks on ID number and copy ID number column and the other data column. Sounded simple until I realised that the ID number is repeated for different numbers of rows from 14 to 31 containing different data about the person. Currently I'm cutting and pasting data matching manually but there are over 15000 rows. So if anyone can suggest a method of doing this I would be so HAPPY! Thank you in advance cheers -- Mifty |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Matching data on two workbooks
Chip has a ton of stuff about duplicates
http://www.cpearson.com/excel/Duplicates.aspx best wishes -- Bernard V Liengme Microsoft Excel MVP www.stfx.ca/people/bliengme remove caps from email "Mifty" wrote in message ... Hi, I have two workbooks with different types of data about the same groups of people. There is one column containing an ID number which is common to both files. I wanted to copy matching data from one worksheet to the other and thought I would just sort both workbooks on ID number and copy ID number column and the other data column. Sounded simple until I realised that the ID number is repeated for different numbers of rows from 14 to 31 containing different data about the person. Currently I'm cutting and pasting data matching manually but there are over 15000 rows. So if anyone can suggest a method of doing this I would be so HAPPY! Thank you in advance cheers -- Mifty |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Matching data on two workbooks
Thank you for the link Bernard
I've had a quick look through but can't find anything that will help with this problem but lots of stuff for looking at later. Thanks again. I should have said that what I need is to match up the ID column and copy over information about gender. So that on the workbook which has numerous occurences of the ID number I need to copy the gender in another column for each of the new rows. Not explaining myself very well. Hope you can help. Cheers -- Mifty "Bernard Liengme" wrote: Chip has a ton of stuff about duplicates http://www.cpearson.com/excel/Duplicates.aspx best wishes -- Bernard V Liengme Microsoft Excel MVP www.stfx.ca/people/bliengme remove caps from email "Mifty" wrote in message ... Hi, I have two workbooks with different types of data about the same groups of people. There is one column containing an ID number which is common to both files. I wanted to copy matching data from one worksheet to the other and thought I would just sort both workbooks on ID number and copy ID number column and the other data column. Sounded simple until I realised that the ID number is repeated for different numbers of rows from 14 to 31 containing different data about the person. Currently I'm cutting and pasting data matching manually but there are over 15000 rows. So if anyone can suggest a method of doing this I would be so HAPPY! Thank you in advance cheers -- Mifty |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Matching data on two workbooks
Hi,
Just in case this is of help to anyone else, I solved this by using Index and Match functions as explained http://www.contextures.com/xlFunctions03.html. There is a downloadable worked spreadsheet. =Index(range containing gender,Match(cellref of ID value to match,RangeIDValues,0)) ranges were absolute values in workbook 2 cell ref to match in workbook 1. Cheers -- Mifty "Mifty" wrote: Thank you for the link Bernard I've had a quick look through but can't find anything that will help with this problem but lots of stuff for looking at later. Thanks again. I should have said that what I need is to match up the ID column and copy over information about gender. So that on the workbook which has numerous occurences of the ID number I need to copy the gender in another column for each of the new rows. Not explaining myself very well. Hope you can help. Cheers -- Mifty "Bernard Liengme" wrote: Chip has a ton of stuff about duplicates http://www.cpearson.com/excel/Duplicates.aspx best wishes -- Bernard V Liengme Microsoft Excel MVP www.stfx.ca/people/bliengme remove caps from email "Mifty" wrote in message ... Hi, I have two workbooks with different types of data about the same groups of people. There is one column containing an ID number which is common to both files. I wanted to copy matching data from one worksheet to the other and thought I would just sort both workbooks on ID number and copy ID number column and the other data column. Sounded simple until I realised that the ID number is repeated for different numbers of rows from 14 to 31 containing different data about the person. Currently I'm cutting and pasting data matching manually but there are over 15000 rows. So if anyone can suggest a method of doing this I would be so HAPPY! Thank you in advance cheers -- Mifty |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
matching fields between two workbooks | Excel Worksheet Functions | |||
matching key fields between two workbooks and displaying info when | Excel Worksheet Functions | |||
Matching Data in Two Workbooks | Excel Worksheet Functions | |||
Matching across multiple workbooks | Excel Discussion (Misc queries) | |||
Matching Names in two different workbooks | Excel Discussion (Misc queries) |