how do i get a formula to ignore minus figures

M

marto_martin

As mentioned above, if A1 =$0.09, A2 =$0.05, A3 = -$0.04, A4 =$0.06
I want A3 to be ignored and therefore the formula result should be $0.20
 
A

Ashish Mathur

Hi,

try this. Array enter the foll. formula (Ctrl+Shift+Enter)

SUM(IF(range>0,range,0))

Regards,

Ashish Mathur
 
M

marto_martin

Just gave this a try and got an error
"a value used in the formula is of the wrong data type"


:

=SUMIF(A1:A4,">0")
 
A

Aladin Akyurek

Can you copy the exact formula you used from the Formula Bar and post it in
the follow-up.
 
K

Ken Wright

No reason you should need the optional last argument if the Sum range is the
same as the first.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top