Solved

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

Posted on 2013-06-29
5
363 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

724 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