×

EXCEL 基础应用

EXCEL 实用技巧系列EXCEL 表头制作-----斜线上下文字的填充方法EXCEL 斜向标题的制作EXCEL 锁定同一单元格EXCEL 同时显示某一单元格的公式及结果EXCEL 查找及替换的使用EXCEL 检查数据是否在指定范围的一种方法EXCEL 跨行填充数据的技巧EXCEL 为不同的人设定编辑权限EXCEL 工作表间复制“页面设置"EXCEL 保证小数点对齐EXCEL 改变文本型日期类型EXCEL 建立已保存工作簿的拷贝EXCEL 容易被忽视的安全问题EXCEL 同时打开多个工作簿EXCEL 用千表示数值的方法EXCEL 选定区域内文字重排EXCEL 单元格输入技巧之“选择列表”的使用EXCEL --√、× 等常用符号的输入EXCEL 快速筛选EXCEL 巧妙替换单元格EXCEL 批量删除换行符EXCEL 插入水印EXCEL 在页眉或页角中插入图片EXCEL 在批注中插入图片EXCEL 改变批注外形EXCEL 美化图表EXCEL 快速添加图表数据EXCEL 打印时忽略图片、图表等对象的方法EXCEL 利用条件格式修饰排序后数据EXCEL 自定义排序方式EXCEL 函数应用EXCEL 工作中常用的工作表函数--必会EXCEL 计算工龄、年龄的实用函数EXCEL 计算公司员工的工作时间EXCEL 排序后序号保持不变EXCEL 快速求和EXCEL 两种求小计之和的方法EXCEL 多工作表数据求和的一个简单公式EXCEL offset配合sum求和EXCEL 多条件求和EXCEL 数组公式在条件格式中的应用EXCEL 利用N函数给公式加注释EXCEL 同时显示公式及结果EXCEL 使用机率少但很实用的函数EXCEL 制作工资条的一个简单方法EXCEL 突破30个参数的限制EXCEL 避免输入空格EXCEL 避免重复录入数据EXCEL 利用”监视窗口"调试跨表公式EXCEL 寻找指定区域最大值的地址EXCEL 找出一组数据中的最后一个数值EXCEL 求选定区域内不重复数据的个数

EXCEL 多条件求和


.中国教程网zhangditony翻译,转载请保留此信息 .
 

This tip provides a number of examples that should solve most of your counting and summing problems.
The example formulas presented in this tip use the simple database table shown below. You will need to adjust the formulas to        account for your own data.
1.Sum of Sales, where Month="Jan"--求一月销售额之和
This is a straightforward use of the SUMIF function (it uses a single criterion):
  =SUMIF(A2:A10,"Jan",C2:C10)
2.Sum of Sales, where Month<>"Jan"--求一月之外月份的销售额之和
Another simple use of SUMIF (single criterion):
  =SUMIF(A2:A10,"<>Jan",C2:C10)
3.Sum of Sales where Month="Jan" or "Feb"--求一月或二月销售额之和(公式中的加号表示“或”的意思)
For multiple OR criteria in the same field, use multiple SUMIF functions:
  =SUMIF(A2:A10,"Jan",C2:C10)+SUMIF(A2:A10,"Feb",C2:C10)
4.Sum of Sales where Month="Jan" AND Region="North"--求一月并且地区为北方的销售额之和
For multiple criteria in different fields, the SUMIF function doesn't work. However, you can use an array formula. When you enter      this formula, use Ctrl+Shift+Enter:
  =SUM((A2:A10="Jan")*(B2:B10="North")*C2:C10)(数组公式,输入公式后按ctrl+shift+enter)
5.Sum of Sales where Month="Jan" AND Region<>"North"--求一月并且北方之外地区的销售额之和
Requires an array formula similar to the previous formula. When you enter this formula, use Ctrl+Shift+Enter:
  =SUM((A2:A10="Jan")*(B2:B10<>"North")*C2:C10)(数组公式)
6.Count of Sales where Month="Jan" AND Region="North"--计算一月并且地区为北方的数量For multiple criteria in different fields, the COUNTIF function doesn't work.  you can use an array formula.
  =SUM((A2:A10="Jan")*(B2:B10="North"))(数组公式)
7.Sum of Sales where Month="Jan" AND Sales>= 200--求一月份销售额超过200的销售额之和
Requires an array formula similar to the previous example. When you enter this formula, use Ctrl+Shift+Enter:
  =SUM((A2:A10="Jan")*(C2:C10>=200)*(C2:C10))(数组公式)
8.Sum of Sales between 300 and 400--求销售额在300和400之间的销售额之和
This also requires an array formula. When you enter this formula, use Ctrl+Shift+Enter:
  =SUM((C2:C10>=300)*(C2:C10<=400)*(C2:C10))(数组公式)
9.Count of Sales between 300 and 400--计算销售额在300至400之间的数量
This also requires an array formula. When you enter this formula, use Ctrl+Shift+Enter:
  =SUM((C2:C10>=300)*(C2:C10<=400))(数组公式)

20070719_92752139c48d16d2187a25xyxpwsoapf[1].jpg


分类导航

关注微信下载离线手册

bootwiki移动版 bootwiki
(群号:472910771)