Solved

MS Excel COUNTIF

Posted on 2013-06-05
2
294 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
2 Comments
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 500 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

708 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

16 Experts available now in Live!

Get 1:1 Help Now