0
votes

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

1

1 Answers

2
votes

Use COUNTIFS():

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

COUNTIFS() allows the use of multiple criteria.