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
1
Medium Priority
?
335 Views
Last Modified: 2013-11-14
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
Comment
Question by:morinia
1 Comment
 
LVL 23

Accepted Solution

by:
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

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

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…

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.

Join & Ask a Question