I have long table which looks like this:
<tbody>
A
B
C
D
1
Date
Order no.
Value
State
2
3
</tbody>
When I need to get a subtotal of the values state-wise I use the array forumula:
={Sum(if(D2:D200="Name of State",C2:C200,0))}
Now, when I use the same formula for a month-wise...