Solved

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

Posted on 2013-06-29
5
357 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
  • 2
  • 2
5 Comments
 
LVL 39

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 39

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
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 …
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…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

706 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

15 Experts available now in Live!

Get 1:1 Help Now