I am using a SUMIF statement to get a value for cell "I21." What I want to do is use VBA to validate that the calculated cell value for I21 is greater than 0 and if YES "add" the value of cell G21, if NO do nothing and move on to I22 etc.
Cell I21 has the formula =SUMIF('HME100105_Draw 1_Wrksht'!$A$7:$A$35,$B21,'HME100105_Draw 1_Wrksht'!$F$7:$F$35). I want to validate the calculated cell value is > 0 and if "YES" then add to that calculated value the value of cell G21. The I21 calculated value = 447.93, therefore the cell value is >0, so add the cell value of G21 = -50.00 to realize a new I21 cell value of 397.93.
Cell I21 has the formula =SUMIF('HME100105_Draw 1_Wrksht'!$A$7:$A$35,$B21,'HME100105_Draw 1_Wrksht'!$F$7:$F$35). I want to validate the calculated cell value is > 0 and if "YES" then add to that calculated value the value of cell G21. The I21 calculated value = 447.93, therefore the cell value is >0, so add the cell value of G21 = -50.00 to realize a new I21 cell value of 397.93.