leigh_ashlin
Board Regular
- Joined
- Feb 9, 2005
- Messages
- 74
Hi,
Is there a particular function that somebody can point me to, or a particular vba that I can use for the following scenario?
2 MS Excel workbooks and worksheets:
- 'primarydata.xls' with worksheet called 'legacy'
- 'secondarydata.xls' with worksheet called 'existing'
Around 2000 rows in each worksheet with a common column called 'AccountNumber' - there is a 95% match between the records in the 'AccountNumber' column of each worksheet.
There are 2 columns of data 'existing' worksheet in the 'secondarydata.xls' file called 'Description' & 'Balance' that need to come into the 'legacy' worksheet of the 'primarydata.xls' file. The data from the columns needs to be ordered in the 'legacy' worksheet according to the matching 'AccountNumber' of each file.
The exceptions (or values tht did not match) from the 'existing'worksheet in the 'AccountNumber' file need to be listed in a new worksheet.
--Is there a combination of functions that I can use to execute this task?
Thanks
Is there a particular function that somebody can point me to, or a particular vba that I can use for the following scenario?
2 MS Excel workbooks and worksheets:
- 'primarydata.xls' with worksheet called 'legacy'
- 'secondarydata.xls' with worksheet called 'existing'
Around 2000 rows in each worksheet with a common column called 'AccountNumber' - there is a 95% match between the records in the 'AccountNumber' column of each worksheet.
There are 2 columns of data 'existing' worksheet in the 'secondarydata.xls' file called 'Description' & 'Balance' that need to come into the 'legacy' worksheet of the 'primarydata.xls' file. The data from the columns needs to be ordered in the 'legacy' worksheet according to the matching 'AccountNumber' of each file.
The exceptions (or values tht did not match) from the 'existing'worksheet in the 'AccountNumber' file need to be listed in a new worksheet.
--Is there a combination of functions that I can use to execute this task?
Thanks