hi guys,
I'm having a little brain freeze here
I would like sum values in cross table xy based on sum of x and y.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]4[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]0.10[/TD]
[TD="align: center"]0.12[/TD]
[TD="align: center"]0.25[/TD]
[TD="align: center"]0.30[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]0.05[/TD]
[TD="align: center"]0.10[/TD]
[TD="align: center"]0.32[/TD]
[TD="align: center"]0.40[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]0.14[/TD]
[TD="align: center"]0.13[/TD]
[TD="align: center"]0.10[/TD]
[TD="align: center"]0.15[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]0.18[/TD]
[TD="align: center"]0.11[/TD]
[TD="align: center"]0.16[/TD]
[TD="align: center"]0.21[/TD]
[/TR]
</tbody>[/TABLE]
For example:
sum values if Column + Row >7.5. We know that there is only one such scenario 4+4 so it equals 0.21
sum values if Column + Row < 4.00. That would be 1-1,2-1,1-2 so 0.10+0.05+0.12 = 0.27
What formula could calculate this automatically based on my X value?
I tried something like =SUMIF(A1:E5,A2:A5+B1:E1>B7,B2:E5) but that doesn't work.
Thanks in advance
I'm having a little brain freeze here
I would like sum values in cross table xy based on sum of x and y.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]4[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]0.10[/TD]
[TD="align: center"]0.12[/TD]
[TD="align: center"]0.25[/TD]
[TD="align: center"]0.30[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]0.05[/TD]
[TD="align: center"]0.10[/TD]
[TD="align: center"]0.32[/TD]
[TD="align: center"]0.40[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]0.14[/TD]
[TD="align: center"]0.13[/TD]
[TD="align: center"]0.10[/TD]
[TD="align: center"]0.15[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]0.18[/TD]
[TD="align: center"]0.11[/TD]
[TD="align: center"]0.16[/TD]
[TD="align: center"]0.21[/TD]
[/TR]
</tbody>[/TABLE]
For example:
sum values if Column + Row >7.5. We know that there is only one such scenario 4+4 so it equals 0.21
sum values if Column + Row < 4.00. That would be 1-1,2-1,1-2 so 0.10+0.05+0.12 = 0.27
What formula could calculate this automatically based on my X value?
I tried something like =SUMIF(A1:E5,A2:A5+B1:E1>B7,B2:E5) but that doesn't work.
Thanks in advance
Last edited: