Hi
I have been thrown a little challenge which is to sum variable cells at variable locations until all complete.
Background
A spreadsheet is created from our CRM database. It has 19 columns and an endless number of rows representing jobs carried out in specific areas for organisations and each group of jobs separated by a lank row.
The challenge
To add a new row after each block, sum columns 11, 12 & 13, copy these totals to columns 21, 22 & 23. Repeat for each of the 17 groups, total columns 21, 22 $ 23
The logic I have worked out:
-
[*]Work in column 1
[*]Search down for next blank cell
[*]Check if next cell down contains data, if yes then continue, else goto 5
[*]Insert row above and move up 1 row
[*]Move to column 11
[*]Sum above for columns 11, 12 & 13
[*]Copy sub totals in columns 11, 12 & 13 to columns 21, 22 & 23
[*]Repeat until finished
[*]Move down 1 row
[*]Move to column 21
[*]Sum above for columns 21, 22 & 23
[*]End
I hope this makes sense! While I understand the logic the code is a little above me