Solved

MS Excel counting cells that meet criteria based to two conditions

Posted on 2013-01-12
5
252 Views
Last Modified: 2013-01-12
Hi all,
I wonder if you could help me.

I have two columns of data. One column 'F' has the results of a calculation the other 'I' has the results of a count of a teams results. (I've attached a simple spreadsheet that represents this but not the actual one to keep things simple.) two-criteria.xls

I want to be able to count the cells in 'I' that have 1 in and it's corresponding value of 'F' range is between 0.5 and 1 for instance. I thought I could use a COUNTIF function but for the life of me I can't get it to work.

I've deleted out my attempts from the spreadsheet.

Any assistance would be gratefully received.

Dave
0
Comment
Question by:Irazor
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 22

Accepted Solution

by:
Flyster earned 200 total points
ID: 38770495
You can use SUMPRODUCT:

=SUMPRODUCT(--(I:I=1),--(F:F >=0.5),--(F:F<=1))

Flyster
0
 
LVL 30

Expert Comment

by:gowflow
ID: 38770515
Well I hope you have Excel 2007 and up as in this attached file.  You use SUMIFS
gowflow
Copy-of-two-criteria.xlsx
0
 
LVL 30

Expert Comment

by:gowflow
ID: 38770516
If you want to include both 0.5 and 1 then in the formual you would change
">0.5" to ">=0.5" and
"<1" to "<=1"

gowflow
0
 

Author Closing Comment

by:Irazor
ID: 38770538
This is excellent as it gives the result in one cell. Thanks.
0
 
LVL 30

Expert Comment

by:gowflow
ID: 38770651
Sorry hv u tried my solution ?
gowflow
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

688 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