Does anyone know an excel macro for trade reconciliation. The two trades are located on two different sheets.
For example:
Sheet1
Col A Col B Col C Col D Col E Col F
ISIN B/S TD SD Amount Price
Row 1 Ch0XXX B 8.7.10 11.7.10 6000 15,9
Row 2 US0xxx S 2.7.10 5.7.10 500 12
Row 3 XXx989 S 4.7.10 7.7.10 60 19
Row 4 DT3243 B 9.7.10 13.7.10 50 13
Sheet2
Col A Col B Col C Col D Col E Col F
ISIN B/S TD SD Amount Price
Row 1 Ch0XXX B 8.7.10 11.7.10 6000 15,9
Row 2 US0xxx S 2.7.10 5.7.10 450 12
Row 3 XXx989 S 4.7.10 7.7.10 60 16
Row 4 DT3243 B 9.7.10 13.7.10 50 13
The macro should loop through the two excel sheets and highlight the cells in red that don’t match with each other, in this case the cell(Row 2 and Column E) and the cell(Row 3 and Column F) and copy and paste the two trades(Row 2 and Row 3) to Sheet3.
Any help is highly appreciated
For example:
Sheet1
Col A Col B Col C Col D Col E Col F
ISIN B/S TD SD Amount Price
Row 1 Ch0XXX B 8.7.10 11.7.10 6000 15,9
Row 2 US0xxx S 2.7.10 5.7.10 500 12
Row 3 XXx989 S 4.7.10 7.7.10 60 19
Row 4 DT3243 B 9.7.10 13.7.10 50 13
Sheet2
Col A Col B Col C Col D Col E Col F
ISIN B/S TD SD Amount Price
Row 1 Ch0XXX B 8.7.10 11.7.10 6000 15,9
Row 2 US0xxx S 2.7.10 5.7.10 450 12
Row 3 XXx989 S 4.7.10 7.7.10 60 16
Row 4 DT3243 B 9.7.10 13.7.10 50 13
The macro should loop through the two excel sheets and highlight the cells in red that don’t match with each other, in this case the cell(Row 2 and Column E) and the cell(Row 3 and Column F) and copy and paste the two trades(Row 2 and Row 3) to Sheet3.
Any help is highly appreciated