Thread: [Solved] IF + AND formula help
View Single Post
 
Old 06-10-2014, 03:48 PM
gebobs gebobs is offline Windows 7 64bit Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Quote:
Originally Posted by david_89_ View Post
=IF(ISNA(I2),H2,IF(AND(H2>0,I2<0),0,IF(AND(H2<0),( H2+I2)<0),I2,(H2-I2)))
What this will do is...

IF I2=NA() THEN H2
ELSEIF H2>0 AND I2<0 THEN 0
ELSEIF H2<0 AND H2+I2<0 THEN I2
ELSE H2-I2

I'm not surprised it doesn't work. :-)
Reply With Quote