Hi everyone !
I have a list of items that is seperated into sections, simply by blank cells.
In every section there are items in column B and corresponding values in colulmn C.
What I want is an automatic sum of every section/day, this is exactly what the AutoSum button does, but it should happen automatically when "total" is written in the A/last row of a section.
[TABLE="class: grid, width: 250"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]day 1
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][/TD]
[TD]item 1[/TD]
[TD]150[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[TD]item 3[/TD]
[TD]320[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD]item 6[/TD]
[TD]220[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]total[/TD]
[TD][/TD]
[TD]690[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]day 2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD]item 2[/TD]
[TD]180[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD][/TD]
[TD]item 4[/TD]
[TD]250[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD][/TD]
[TD]item 5[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]total[/TD]
[TD][/TD]
[TD]530[/TD]
[/TR]
</tbody>[/TABLE]
So when I type total in A11 it should sum the values of day 2 or values until the last "total" (c6:c10), and so on.
I have a list of items that is seperated into sections, simply by blank cells.
In every section there are items in column B and corresponding values in colulmn C.
What I want is an automatic sum of every section/day, this is exactly what the AutoSum button does, but it should happen automatically when "total" is written in the A/last row of a section.
[TABLE="class: grid, width: 250"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]day 1
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][/TD]
[TD]item 1[/TD]
[TD]150[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[TD]item 3[/TD]
[TD]320[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD]item 6[/TD]
[TD]220[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]total[/TD]
[TD][/TD]
[TD]690[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]day 2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD]item 2[/TD]
[TD]180[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD][/TD]
[TD]item 4[/TD]
[TD]250[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD][/TD]
[TD]item 5[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]total[/TD]
[TD][/TD]
[TD]530[/TD]
[/TR]
</tbody>[/TABLE]
So when I type total in A11 it should sum the values of day 2 or values until the last "total" (c6:c10), and so on.
Last edited: