Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

MS Excel COUNTIF

Posted on 2013-06-05
2
Medium Priority
?
321 Views
Last Modified: 2013-06-05
Hello,

I am trying to work with a COUNTIF but I am trying to set a range that will include future data. Unfortunately, I cannot seem to find how to exclude blank cells. Here is what I'm doing.

I want to count all instances that do not include an order status of Cancelled. Therefore I am using the following formula.

=COUNTIF(E2:E200,"<>Cancelled")

Currently I only have 10 rows of data with 3 including the word cancelled. I should have a count of 7 but I am getting a count of 196.

How do I exclude the empty rows? I do not want to need to modify the formula every time additional data is added.

Thanks,

John
0
Comment
Question by:jpldpd
[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 Comments
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 2000 total points
ID: 39224503
Try

=COUNTIFS(E2:E200,"<>Cancelled",E2:E200,"<>")
0
 

Author Closing Comment

by:jpldpd
ID: 39224584
Thanks! That was exactly what I needed!
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Outlook for dependable use in a very small business   This article is about using the Outlook application (part of Microsoft Office) in a very small business, or for homeowners where dependability and reliability are critical requirements. This …
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

704 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