Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
Solved

# counting number of occurrences of certain values in a range - Excel 2010

Posted on 2013-11-14
Medium Priority
335 Views
I have values in some columns in range D14:G35 that can be blank, "HIGH" or "LOW".  I would like to count the occurences of "HIGH" and "LOW".  How can I do this.

When I just checked for one value, I used
=COUNTIF(C15:G45,"HIGH")

I would like to now count "HIGH" and "LOW"
0
Question by:morinia
1 Comment

LVL 23

Accepted Solution

NBVC earned 1000 total points
ID: 39648949
You can add 2 COUNTIF together

=COUNTIF(C15:G45,"HIGH")+COUNTIF(C15:G45,"LOW")

or you can do it this way.

=SUM(COUNTIF(C15:G45,{"HIGH","LOW"})
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
###### Suggested Courses
Course of the Month14 days, 7 hours left to enroll

#### 580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.