Hi,
I'm sorry to post this as I'm sure someone will be able to answer this in a flash. But I have had a look through the forum and online and still couldn't quite find the answer I was looking for, which is the reason I'm reaching out, thank you in advance.
I'm trying create a formula which will sum a set of values based on two criterias, one which is vertical and the other horizontal, see table below.
[TABLE="class: grid, width: 300, align: center"]
<tbody>[TR]
[TD]A
[/TD]
[TD="align: center"]B
[/TD]
[TD="align: center"]C
[/TD]
[TD="align: center"]D
[/TD]
[TD="align: center"]E
[/TD]
[TD="align: center"]F
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Name
[/TD]
[TD]Dept
[/TD]
[TD]01/01/18
[/TD]
[TD]02/01/18
[/TD]
[TD]03/01/18
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]John
[/TD]
[TD]IT
[/TD]
[TD="align: center"]1
[/TD]
[TD="align: center"]2
[/TD]
[TD="align: center"]0
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Sue
[/TD]
[TD]IT
[/TD]
[TD="align: center"]1
[/TD]
[TD="align: center"]0
[/TD]
[TD="align: center"]1
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]Paul
[/TD]
[TD]HR
[/TD]
[TD="align: center"]2
[/TD]
[TD="align: center"]0
[/TD]
[TD="align: center"]1
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]Steve
[/TD]
[TD]HR
[/TD]
[TD="align: center"]1
[/TD]
[TD="align: center"]1
[/TD]
[TD="align: center"]2
[/TD]
[/TR]
</tbody>[/TABLE]
I'm trying to sum the values of a Dept on a certain day, so it will look something like the below table.
[TABLE="class: grid, width: 300"]
<tbody>[TR]
[TD]Date
[/TD]
[TD]IT
[/TD]
[TD]HR
[/TD]
[/TR]
[TR]
[TD]01/01/18
[/TD]
[TD]2
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]02/01/18
[/TD]
[TD]2
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]03/01/18
[/TD]
[TD]1
[/TD]
[TD]3
[/TD]
[/TR]
</tbody>[/TABLE]
I'm sorry to post this as I'm sure someone will be able to answer this in a flash. But I have had a look through the forum and online and still couldn't quite find the answer I was looking for, which is the reason I'm reaching out, thank you in advance.
I'm trying create a formula which will sum a set of values based on two criterias, one which is vertical and the other horizontal, see table below.
[TABLE="class: grid, width: 300, align: center"]
<tbody>[TR]
[TD]A
[/TD]
[TD="align: center"]B
[/TD]
[TD="align: center"]C
[/TD]
[TD="align: center"]D
[/TD]
[TD="align: center"]E
[/TD]
[TD="align: center"]F
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Name
[/TD]
[TD]Dept
[/TD]
[TD]01/01/18
[/TD]
[TD]02/01/18
[/TD]
[TD]03/01/18
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]John
[/TD]
[TD]IT
[/TD]
[TD="align: center"]1
[/TD]
[TD="align: center"]2
[/TD]
[TD="align: center"]0
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Sue
[/TD]
[TD]IT
[/TD]
[TD="align: center"]1
[/TD]
[TD="align: center"]0
[/TD]
[TD="align: center"]1
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]Paul
[/TD]
[TD]HR
[/TD]
[TD="align: center"]2
[/TD]
[TD="align: center"]0
[/TD]
[TD="align: center"]1
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]Steve
[/TD]
[TD]HR
[/TD]
[TD="align: center"]1
[/TD]
[TD="align: center"]1
[/TD]
[TD="align: center"]2
[/TD]
[/TR]
</tbody>[/TABLE]
I'm trying to sum the values of a Dept on a certain day, so it will look something like the below table.
[TABLE="class: grid, width: 300"]
<tbody>[TR]
[TD]Date
[/TD]
[TD]IT
[/TD]
[TD]HR
[/TD]
[/TR]
[TR]
[TD]01/01/18
[/TD]
[TD]2
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]02/01/18
[/TD]
[TD]2
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]03/01/18
[/TD]
[TD]1
[/TD]
[TD]3
[/TD]
[/TR]
</tbody>[/TABLE]