• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

SUMIF

niting

New Member
Hie forum,


Have a column containing numbers and errors. I want to sum the column with sumif function, but it is not yielding correct result. The formula I am using is-:


SUMIF(A3:a100,not(#N/A),a3:a100)


Am i doing something wrong???
 
=SUMIF(A3:A100,"<>#N/A")

or

=SUMIF(A3:A100,"<1E99")
 
HUI,


Thanks man, once again.


Two poits however, sumif, takes 3 inputs, but your 1st formula has only 2 inputs.


Secondly, why didn't my formula worked???


Would appreciate if you cld reply when convenient.


Thanks
 
The third Sumif parameter is optional

When you start to type a formula and it shows the help

SUMIF(range, criteria, [sum_range])

Any parameters in [ ] brackets are Optional


I'll have a think about the second question
 
niting,


Quick follow-up on your second question. Your formula didn't work because the NOT function is only capabale of reversing, aka gives the opposite of, a logical (if an expression was TRUE, returns FALSE). Since #N/A isn't a logical, the function returned an error.
 
Back
Top