Solved

Only Countif when a defined cell is not filled.

Posted on 2012-03-25
1
264 Views
Last Modified: 2012-06-21
I wish to setup a mechanism to count the number of x's in a series of cells but only if another cell does not have an x in it.

So, for example;

If Cell A1 has an x (or whatever) in it, then it will not count the number of x's in the cells B1 thru B10.

If Cell A1 does not have an x (or whatever) in it, then it will count the number of x's in the cells B1 thru B10.

Thanks

Richard
0
Comment
Question by:VeeBeeSix
[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
1 Comment
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 37762698
Try using an IF function like this

=IF(A1="x","",COUNTIF(B1:B10,"x"))

That returns a blank [""] if A1 has an "x", otherwise the count of "x"s in B1:B10, is that what you need?

regards, barry
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

733 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