ChrisFoster
Active Member
- Joined
- Jun 21, 2019
- Messages
- 251
- Office Version
- 365
- Platform
- Windows
Hi all,
I have some code, as below which does a sum of column L. I have recently had a new column added into a report and now need the below code to sum column M instead of L.
I expect this is an easy thing to change but I don't know which bit relates to the column.
Please can someone tell me how to sum column M instead of L?
Cheers
Chris
I have some code, as below which does a sum of column L. I have recently had a new column added into a report and now need the below code to sum column M instead of L.
I expect this is an easy thing to change but I don't know which bit relates to the column.
VBA Code:
ActiveCell.FormulaR1C1 = _
"=SUMIF('Arrears Breakdown'!C[3],RC[-2],'Arrears Breakdown'!C[9])"
Please can someone tell me how to sum column M instead of L?
Cheers
Chris