Formula for monthly sum by person

徘徊边缘 提交于 2020-01-06 02:29:18

问题


I have an Excel page which consists of daily cash collections from different persons. My collection details are like below, in Excel:

Date        Name    Amount
1/4/2014    Name1   500
5/4/2014    Name2   1000
10/4/2014   Name1   700
5/5/2014    Name2   300
12/5/2014   Name1   800
2/6/2014    Name1   200
1/6/2014    Name2   400

I need to display monthly total income from each person like so:

Name    Apr-14  May-14  Jun-14
Name1   1200    800      200
Name2   1000    300      400

I used this formula to find total income from each person:

=SUMIF(B2:B8, A14, C2:C8)

but how to include the month-wise total?


回答1:


PivotTables can be 'Grouped by':



来源:https://stackoverflow.com/questions/24329789/formula-for-monthly-sum-by-person

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!