I have a problem that I need anyone's help with.
I have to do a monthly report that includes totalling a bunch of numbers on a spreadsheet. The numbers are seperated using a blank row and I have the totals offset at the bottom, to the right, in the blank row.
How can I do a macro to calculate the numbers in Column "F" and place the total in the Column "G" or even to place the total below the numbers in column "F".
For example:
A4236 27-Sep-04 8.50 6.80
A4236 27-Sep-04 7.00 5.60
------------------------------------ 12.40
A7083 24-Sep-04 4.00 3.20
A7083 24-Sep-04 4.00 3.20
A7083 20-Sep-04 4.25 3.40
A7083 17-Sep-04 4.25 3.40
A7083 17-Sep-04 4.25 3.40
A7083 3-Sep-04 2.75 2.20
------------------------------------- 18.80
B1761 27-Sep-04 1.00 0.80
B1761 27-Sep-04 2.50 2.00
B1761 27-Sep-04 2.50 2.00
B1761 27-Sep-04 4.50 3.60
B1761 27-Sep-04 2.00 1.60
B1761 24-Sep-04 2.50 2.00
B1761 3-Sep-04 6.50 5.20
-------------------------------------- 17.20
Thanks
Yardy
It is very tedious calculating the totals one by one.
I have to do a monthly report that includes totalling a bunch of numbers on a spreadsheet. The numbers are seperated using a blank row and I have the totals offset at the bottom, to the right, in the blank row.
How can I do a macro to calculate the numbers in Column "F" and place the total in the Column "G" or even to place the total below the numbers in column "F".
For example:
A4236 27-Sep-04 8.50 6.80
A4236 27-Sep-04 7.00 5.60
------------------------------------ 12.40
A7083 24-Sep-04 4.00 3.20
A7083 24-Sep-04 4.00 3.20
A7083 20-Sep-04 4.25 3.40
A7083 17-Sep-04 4.25 3.40
A7083 17-Sep-04 4.25 3.40
A7083 3-Sep-04 2.75 2.20
------------------------------------- 18.80
B1761 27-Sep-04 1.00 0.80
B1761 27-Sep-04 2.50 2.00
B1761 27-Sep-04 2.50 2.00
B1761 27-Sep-04 4.50 3.60
B1761 27-Sep-04 2.00 1.60
B1761 24-Sep-04 2.50 2.00
B1761 3-Sep-04 6.50 5.20
-------------------------------------- 17.20
Thanks
Yardy
It is very tedious calculating the totals one by one.