Suryaprakash
New Member
- Joined
- Aug 1, 2011
- Messages
- 41
Sometime back, I had posted a request on the above subject but there was a mistake in the same, as a result of which I did not receive any reply. I am posting the corrected thread again and request the member to help me out with my problem.
I have two files, of which File1.xls is a master file and the other one is File2.xls. File1.xls has 3 columns. Column B is titled "names" and there are 300 names. File2.xls has columns A:P, with column D titled "names" having 5000 names and these 5000 names also contain the above 300 names of File1. I wish to compare column B of File1.xls with column D of File2.xls and wherever the names are matching in the File2, I seek one of the following options:
1. Color the matching names in File2.
2. Mention True or False against each name in File2. A new column may have to be inserted for this purpose.
3. Delete rows containing nonmatching names in File2.
My ultimate purpose is to extract data for all matching names, 300 in all, and make a new file with this data. With any of the above 2 options, I can sort out the required information. Third option gives the new file itself. Any option would be welcome. Could someone provide me a code for this purpose, since I have to manually do this tiresome task once every day.
Both files will be open. I am using Excel 2000. Both files contain only one sheet.
I have two files, of which File1.xls is a master file and the other one is File2.xls. File1.xls has 3 columns. Column B is titled "names" and there are 300 names. File2.xls has columns A:P, with column D titled "names" having 5000 names and these 5000 names also contain the above 300 names of File1. I wish to compare column B of File1.xls with column D of File2.xls and wherever the names are matching in the File2, I seek one of the following options:
1. Color the matching names in File2.
2. Mention True or False against each name in File2. A new column may have to be inserted for this purpose.
3. Delete rows containing nonmatching names in File2.
My ultimate purpose is to extract data for all matching names, 300 in all, and make a new file with this data. With any of the above 2 options, I can sort out the required information. Third option gives the new file itself. Any option would be welcome. Could someone provide me a code for this purpose, since I have to manually do this tiresome task once every day.
Both files will be open. I am using Excel 2000. Both files contain only one sheet.
Last edited: