richardallen
New Member
- Joined
- Feb 13, 2014
- Messages
- 12
I am looking to write a macro to compare and 'match' 2 data sets.
They are currently in separate sheets and consist of:
Sheet 1: Sales Table with Sale Date & Sale Amount:
<tbody>
</tbody>
Sheet 2: Bank Table with Bank Date, Bank Amount and 2 spaces for the matched info
<tbody>
</tbody>
I need to match similar amounts. Takings will be banked a few days after the sales day and are grouped. Bankings will differ (mostly a few pounds higher/lower).
I need to, using a macro, to find the likely sales and put them into the banking table.
Any ideas? Thanks.
They are currently in separate sheets and consist of:
Sheet 1: Sales Table with Sale Date & Sale Amount:
Sale Date | Sale £ |
1/8 | £710 |
2/8 | £834 |
3/8 | £692 |
4/8 | £672 |
5/8 | £768 |
6/8 | £452 |
7/8 | £890 |
<tbody>
</tbody>
Sheet 2: Bank Table with Bank Date, Bank Amount and 2 spaces for the matched info
Banked Date | Bank £ | Sales Date | Sales £ |
3/8 | £523 | ||
3/8 | £830 | ||
3/8 | £711 | ||
9/8 | £420 | ||
9/8 | £680 | ||
9/8 | £767 | ||
9/8 | £695 |
<tbody>
</tbody>
I need to match similar amounts. Takings will be banked a few days after the sales day and are grouped. Bankings will differ (mostly a few pounds higher/lower).
I need to, using a macro, to find the likely sales and put them into the banking table.
Any ideas? Thanks.