计算两个条件是否匹配 - EXCEL 公式 [英] Count if two criteria match - EXCEL formula

查看:21
本文介绍了计算两个条件是否匹配 - EXCEL 公式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这张表,我想创建一个公式,该公式将根据 A C 中的真实条件计算值.

I have this table and I would like to create a formula which would count values based on true conditions from column A and column C.

示例:如果 A 列中的值为 M(男性),并且 C 列中的值为 YES,那么它会计数.

Example: If in column A value is M (male), and in column C is YES, then it would count.

有人可以帮我计算这个公式吗?

could anyone help me with this formula?

推荐答案

在单元格前添加工作表名称,例如:

Add the sheet name infront of the cell, e.g.:

=COUNTIFS(stock!A:A,"M",stock!C:C,"Yes")

假设工作表名称为股票"

Assumes the sheet name is "stock"

这篇关于计算两个条件是否匹配 - EXCEL 公式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆