Solved

MS Excel COUNTIF

Posted on 2013-06-05
2
303 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

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.
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
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.

821 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