Help please. Is a simple Excel macro the way to go?
I need to explain the situation. The is a dog application. I have two files. One is 57,000 records and the other is 500 records. The larger file has been reduced to a record ID and the name of the dog. The smaller file has a blank for the record ID, the name of the dog, and a number of health related pieces of data. The goal is to capture the record ID form the larger file and paste it into the corresponding record of the small file. Once done, the small file will be shipped elsewhere to go through a migration process to upload the health data into the complete larger file which is available online.
I was working with the two files and manually copying the name o a dog in the small file, going to the larger file to find the record and then copy the record ID and then move back to the smaller file and paste the record ID into the appropriate record. I was doing this manually and got about 50 records done. Then I had the idea that maybe a macro could work. Am I on the right path?
Why not do the following:
- Create a VLOOKUP or XLOOKUP formula to retrieve the record IDs.
- Select the range with the formulas, copy it, then paste as values.