Solved

CountIf function with Excel formula to count how many cells have the word "Off" in them.

Posted on 2013-06-29
5
362 Views
Last Modified: 2013-06-29
I want to only count if the word "Off" is in 7 specific columns.  They happen to be 21 columns apart, not sure that matters.  There are other columns with the word "Off" but don't want to count them.
Gotta be a way.
Help is appreciated.
0
Comment
Question by:RogerKMiller
[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
  • 2
  • 2
5 Comments
 
LVL 40

Accepted Solution

by:
als315 earned 500 total points
ID: 39286775
Countif can work only with continuous range. You can sum 7 countifs if you like to get results from non-continuous range:
=COUNTIF(A:A,"Off")+ COUNTIF(C:C,"Off")+ COUNTIF(E:E,"Off")+ COUNTIF(I:I,"Off")+ COUNTIF(J:J,"Off")+ COUNTIF(K:K,"Off")+ COUNTIF(M:M,"Off")

Open in new window

0
 

Author Comment

by:RogerKMiller
ID: 39286856
That worked.  Thank you.
Roger
0
 

Author Comment

by:RogerKMiller
ID: 39286940
I've requested that this question be closed as follows:

Accepted answer: 0 points for RogerKMiller's comment #a39286856

for the following reason:

Quick thorough easy to understand response.
0
 
LVL 40

Expert Comment

by:als315
ID: 39286890
Thanks, but you should accept my answer if it was correct. You can press "Request attention" button and ask to close question properly.
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

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

738 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