+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : Formula's Not Computing?

  1. #1
    Registered User
    Join Date
    12-07-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Formula's Not Computing?

    Hello!

    I'm not quite sure what I did, but while doing a lot of =SUMPRODUCT and =COUNTIF formulas, I just have managed to hit some kind of button combination to de-activate some default settings; as I mostly think it is tied to the 'Cell Category' to something non-standard, but which I have already attempted to change manually numerous times.

    Anytime I try to use the SUMPRODUCT or COUNTIF formula to compute something very simple, and something I know is true, it always returns a '0' or'#VALUE' error. I've even copied and pasted basic examples from Excel Help, as well as copied and pasted the answer it tells you and it gives me a '0' (when it clearly isn't).

    Any help? I know I screwed something stupid up!

    Thanks

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Formula's Not Computing?

    How about posting your formulas or, better still, a sample of your file showing your formulas and your 'expected results'.

  3. #3
    Registered User
    Join Date
    12-07-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Formula's Not Computing?

    For example:

    Column A:
    Ford
    Ford
    Buick
    Buick

    The quick SUMPRODUCT formula I used to find out how many times 'Ford" is listed in Column A:

    =SUMPRODUCT(A1:A10="Ford")

    I can get it work to use comma's, but shouldn't the above work as well? It returns a 0.

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Formula's Not Computing?

    The quick formula would be:

    =COUNTIF(A1:A10,"Ford")

    The unnecessary formula would be:

    =SUMPRODUCT(--(A1:A4="FORD"))
    Last edited by Cutter; 12-08-2010 at 09:25 PM.

  5. #5
    Registered User
    Join Date
    12-07-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Formula's Not Computing?

    Quote Originally Posted by Cutter View Post
    The quick formula would be:

    =COUNTIF(A1:A10,"Ford")

    The unnecessary formula would be:

    =SUMPRODUCT(--(A1:A4="FORD"))
    Yes, I know there is a quicker way. However, I couldn't even get a simple string to answer correctly, much less a formula with 10 more criteria involved.

    Why would the '--' be necessary here?

  6. #6
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Formula's Not Computing?

    It is discussed here (a little more than halfway down the page):

    http://www.xldynamic.com/source/xld.SUMPRODUCT.html

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1