Hi guys!
Need some help regarding this matter. I have something like this data in a table:
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[TD]Column C[/TD]
[TD]Column D[/TD]
[/TR]
[TR]
[TD]BP[/TD]
[TD]January[/TD]
[TD]Item A[/TD]
[TD]56756[/TD]
[/TR]
[TR]
[TD]BP[/TD]
[TD]January[/TD]
[TD]Item B[/TD]
[TD]4353[/TD]
[/TR]
[TR]
[TD]BP[/TD]
[TD]February[/TD]
[TD]Item A[/TD]
[TD]235[/TD]
[/TR]
[TR]
[TD]BP[/TD]
[TD]February[/TD]
[TD]Item B[/TD]
[TD]67457[/TD]
[/TR]
[TR]
[TD]BP[/TD]
[TD]March[/TD]
[TD]Item A[/TD]
[TD]4577[/TD]
[/TR]
[TR]
[TD]Expenses[/TD]
[TD]January[/TD]
[TD]Item A[/TD]
[TD]3452[/TD]
[/TR]
[TR]
[TD]Expenses[/TD]
[TD]February[/TD]
[TD]Item A[/TD]
[TD]345[/TD]
[/TR]
[TR]
[TD]Expenses[/TD]
[TD]January[/TD]
[TD]Item B[/TD]
[TD]577[/TD]
[/TR]
[TR]
[TD]Expenses[/TD]
[TD]February[/TD]
[TD]Item B[/TD]
[TD]4677[/TD]
[/TR]
</tbody>[/TABLE]
What I need is to sum the numbers in column D that belongs to BP in column A, and only from the months associated to Expenses in column A. Please note that the months in column B are not formatted as DATE but as TEXT. Column C is not used.
Thanks!
Need some help regarding this matter. I have something like this data in a table:
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[TD]Column C[/TD]
[TD]Column D[/TD]
[/TR]
[TR]
[TD]BP[/TD]
[TD]January[/TD]
[TD]Item A[/TD]
[TD]56756[/TD]
[/TR]
[TR]
[TD]BP[/TD]
[TD]January[/TD]
[TD]Item B[/TD]
[TD]4353[/TD]
[/TR]
[TR]
[TD]BP[/TD]
[TD]February[/TD]
[TD]Item A[/TD]
[TD]235[/TD]
[/TR]
[TR]
[TD]BP[/TD]
[TD]February[/TD]
[TD]Item B[/TD]
[TD]67457[/TD]
[/TR]
[TR]
[TD]BP[/TD]
[TD]March[/TD]
[TD]Item A[/TD]
[TD]4577[/TD]
[/TR]
[TR]
[TD]Expenses[/TD]
[TD]January[/TD]
[TD]Item A[/TD]
[TD]3452[/TD]
[/TR]
[TR]
[TD]Expenses[/TD]
[TD]February[/TD]
[TD]Item A[/TD]
[TD]345[/TD]
[/TR]
[TR]
[TD]Expenses[/TD]
[TD]January[/TD]
[TD]Item B[/TD]
[TD]577[/TD]
[/TR]
[TR]
[TD]Expenses[/TD]
[TD]February[/TD]
[TD]Item B[/TD]
[TD]4677[/TD]
[/TR]
</tbody>[/TABLE]
What I need is to sum the numbers in column D that belongs to BP in column A, and only from the months associated to Expenses in column A. Please note that the months in column B are not formatted as DATE but as TEXT. Column C is not used.
Thanks!