Posted on 2011-10-18
Last Modified: 2012-05-12
The below formula is returning a number but it should be 0.  Please see attached test file.  The cell in yellow is the one I'm having problems with.  It seems to be counting blank cells as 0.


Any help would be greatly appreciated!

Question by:dddw
    LVL 43

    Accepted Solution

    The easiest way it to enter the zero as a text (precede it with an apostrophe).

    This modified formula may do the trick


    LVL 50

    Expert Comment

    by:barry houdini
    Which version of Excel are you using? If you have Excel 2007 or later try COUNTIFS


    regards, barry

    Author Comment

    I'm using 2003.  
    LVL 50

    Expert Comment

    by:barry houdini
    OK, in that case I recommend Saqib's approach, add another check to the SUMPRODUCT formula

    regards, barry

    Author Closing Comment

    Thank you!

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Sparklines have been introduced with Excel 2010 and are a useful tool for creating small in-cell charts, used for example in dashboards. Excel 2010 offers three different types of Sparklines: Line, Column and Win/Loss. What it does not offer is a…
    This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
    The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
    This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

    755 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