Solved

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

Posted on 2013-11-14
1
247 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 250 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

813 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now