Hello everybody.
Thank you again for such a great forum. I am wondering if somebody could please help with a VBA solution I am stuck on.
The scenario is this:
I have a workbook with three worksheets. On Sheet 1 in column A I have a single column Table populated with data (can be either numbers or letters or combos of both), and I also have a single column Table in column A on Sheet2 populated with data. The data in both Table columns is in random order and the columns will be of differing lengths but with the respective Tables fitting the size of each of the data sets (i.e there are no empty rows). I would like to firstly output a list of those values or cell contents which are in column A of Sheet 1 but which are not in the table on Sheet 2 to an empty Table on Sheet3 called, for example's sake, OutputA, and also output a list of those values or cell contents which are in the Table in Sheet2, but which are not in the Table of Sheet1 to another empty Table called OutputB on Sheet3. If possible too, in cells G2 and G3 respectively on Sheet3 I would like to have a numerical count of those two sets of differences.
Currently I am using a VBA Countif solution, which does work for me, but because the data sets may be very large I am thinking of a dictionary solution but I am not sure how to write it properly especially where I am using listobjects rather than normal ranges.
Many thanks for any help given. Paul
Thank you again for such a great forum. I am wondering if somebody could please help with a VBA solution I am stuck on.
The scenario is this:
I have a workbook with three worksheets. On Sheet 1 in column A I have a single column Table populated with data (can be either numbers or letters or combos of both), and I also have a single column Table in column A on Sheet2 populated with data. The data in both Table columns is in random order and the columns will be of differing lengths but with the respective Tables fitting the size of each of the data sets (i.e there are no empty rows). I would like to firstly output a list of those values or cell contents which are in column A of Sheet 1 but which are not in the table on Sheet 2 to an empty Table on Sheet3 called, for example's sake, OutputA, and also output a list of those values or cell contents which are in the Table in Sheet2, but which are not in the Table of Sheet1 to another empty Table called OutputB on Sheet3. If possible too, in cells G2 and G3 respectively on Sheet3 I would like to have a numerical count of those two sets of differences.
Currently I am using a VBA Countif solution, which does work for me, but because the data sets may be very large I am thinking of a dictionary solution but I am not sure how to write it properly especially where I am using listobjects rather than normal ranges.
Many thanks for any help given. Paul