Sumif function with two criteria from different columns

S

SamFortMyers

Can I add a criterion to a SUMIF function?
After checking the initial range for a value, I want to make sure that the
cell in the Sum_range is >0 before completing the SUM.
 
B

Bob Phillips

IF(SUMIF(...)>0,SUMIF(...),"Not valid")

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
S

SamFortMyers

This appears to test that the SUM is >0. I wanted to test each component cell
in the SUM_Range, ignoring any that showed a negative figure.
 
S

SamFortMyers

Yes, that's the solution. I found it earlier today checking out that link to
xldynamic.com that Bob Phillips had referred to in a previous thread.
 
Top