Excel:CountIf Quandry

编程入门 行业动态 更新时间:2024-10-23 19:23:13
本文介绍了Excel:CountIf Quandry的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 感谢您的帮助提前!

所以我的问题是如下:我有一张表,用于记录我的项目中出现的风险。他们从关键到低,分别是开放或关闭。我想要一个只计算开放行动至关重要的公式。到目前为止,我已经得到了= COUNTIF(Risks!E:E,Critical),它正确地计算了关键风险的数量,但显然不考虑它们是开放还是关闭。我尝试在开始时使用änIF语句,但发现= IF(Risks!H:H =Open,COUNTIF(Risks!E:E,Critical))并没有真正返回我需要的。 p>

我绝对记得让这个工作以前工作,但我想我也许使用VBA?过了一段时间,因为我使用excel!

任何帮助非常感谢!

Ed

解决方案

使用COUNTIFS():

= COUNTIFS(Risks!E:E,Critical,Risks!H:H,Open)

COUNTIFS()允许使用多个标准。

Thanks for your help in advance!

So my problem is the following; I have a sheet which I use to log risks that come up in my project. They are graded from Critical to Low, and are either "Open" or "Closed". I want a formula that will count only the open actions which are critical. So far i've got =COUNTIF(Risks!E:E,"Critical"), which correctly counts the number of critical risks, but obviously doesn't take into account if they are open or closed. I tried using än IF statement at the start, but found that =IF(Risks!H:H="Open",COUNTIF(Risks!E:E,"Critical")) wasn't really returning what I needed.

I definitely remember getting this to work before, but I'm thinking perhaps I used VBA? Been a while since I've used excel!

Any help much appreciated!

Ed

解决方案

Use COUNTIFS():

=COUNTIFS(Risks!E:E,"Critical",Risks!H:H,"Open")

COUNTIFS() allows the use of multiple criteria.

更多推荐

Excel:CountIf Quandry

本文发布于:2023-10-30 19:13:30,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1543740.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Excel   CountIf   Quandry

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!