I have table as below:
<tbody>
</tbody>
then, want to write a formula to sum the value of each category each day
so i get:
<tbody>
</tbody>
Please help me to solve this
Thanks for your help
Name | Day | 1 | 2 | 3 | 4 |
A | Value | 10 | 10 | 10 | 10 |
A | Category | X | Z | Z | Y |
B | Value | 5 | 5 | 5 | 5 |
B | Category | Y | X | Z | Y |
C | Value | 15 | 15 | 15 | 15 |
C | Category | Z | X | Z | Y |
<tbody>
</tbody>
then, want to write a formula to sum the value of each category each day
so i get:
Day | X | Y | Z |
1 | 10 | 5 | 15 |
2 | 20 | 0 | 10 |
3 | 0 | 0 | 30 |
4 | 0 | 30 | 0 |
<tbody>
</tbody>
Please help me to solve this
Thanks for your help