按月计算的公式 [英] Formula for monthly sum by person
本文介绍了按月计算的公式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
日期名称金额
1/4/2014名称1 500
5/4/2014姓名2 1000
10/4/2014姓名1 700
5/5/2014名称2 300
12/5/2014名称1 800
2/6 / 2014 Name1 200
1/6/2014名称2 400
我需要显示每月总收入从每个人这样:
名称四月-14五月-14六月-14
名称1 1200 800 200
Name2 1000 300 400
我使用这个公式来查找每个人的总收入:
= SUMIF(B2:B8,A14,C2:C8)
但是如何包括月份总数?
解决方案
数据透视表被'分组':
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?
解决方案
PivotTables can be 'Grouped by':
这篇关于按月计算的公式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文