Hello, I'm trying to get help with a macro that highlights matching debits and credits. I would like for the macro to go from this
To this:
Book1 | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | Property | Debit | Credit | ||
2 | Central | 500 | 0 | ||
3 | Central | 600 | 0 | ||
4 | Central | 700 | 0 | ||
5 | Central | 600 | 0 | ||
6 | Central | 500 | 0 | ||
7 | Central | 500 | 0 | ||
8 | Central | 600 | 0 | ||
9 | |||||
10 | Central | 0 | 600 | ||
11 | Central | 0 | 700 | ||
12 | Central | 0 | 600 | ||
13 | Central | 0 | 500 | ||
14 | Central | 0 | 500 | ||
15 | Central | 0 | 700 | ||
16 | Central | 0 | 800 | ||
Accounts |
To this:
Book1 | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | Property | Debit | Credit | |||
2 | Central | 500 | 0 | |||
3 | Central | 600 | 0 | |||
4 | Central | 700 | 0 | |||
5 | Central | 600 | 0 | |||
6 | Central | 500 | 0 | |||
7 | Central | 500 | 0 | |||
8 | Central | 600 | 0 | |||
9 | ||||||
10 | Central | 0 | 600 | |||
11 | Central | 0 | 700 | |||
12 | Central | 0 | 600 | |||
13 | Central | 0 | 500 | |||
14 | Central | 0 | 500 | |||
15 | Central | 0 | 700 | |||
16 | Central | 0 | 800 | |||
17 | ||||||
Accounts |