I had an issue totaling the sum of a column with any value as #N/A. I solved it with this formula, however I only want it to add positive values but when I add "<0" I get an error. Any if I can add this function to this formula?

  • 1
    Welcome to Web Applications. Please add some sample values for A1:A20 and the expected result.
    – Rubén
    Nov 11 at 17:59

Use filter(), like this:

=sum( iferror( filter(A1:A20, A1:A20 > 0) ) )

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.