I'm trying to build some code that will scan a set of data in column F for a duplicate text reference and, once a duplicate is identified, will sum the associated number in column M of the same row. Each duplicate reference should be summed separately, i.e, a payment of £15 and a payment of £10, both with the duplicate reference 'Josh', need to be added together, and a payment of £7 and £9 for duplicate reference 'Sarah' need to be summed together in a separate total.
Column M also contains some N/A references, and the code needs to exclude these from any attempt to sum - i.e, if 'Josh' also has a row with N/A, then this musn't stop Excel from summing the £15 and £10.
Once these amounts are conjugated into a single row (i.e, a row where Josh has a total of £25), the individual rows that were added together need to be deleted.
I have some VBA knowledge, but it's quite basic and i'm not sure how to build up a multi-stage process like this.
Any help much appreciated!
Column M also contains some N/A references, and the code needs to exclude these from any attempt to sum - i.e, if 'Josh' also has a row with N/A, then this musn't stop Excel from summing the £15 and £10.
Once these amounts are conjugated into a single row (i.e, a row where Josh has a total of £25), the individual rows that were added together need to be deleted.
I have some VBA knowledge, but it's quite basic and i'm not sure how to build up a multi-stage process like this.
Any help much appreciated!