Hello all,
I am trying to set up a sheet where I can add values from columns if they are positive and ignore them if they are negative. This is what I wrote:
=IF(and(J2>0,F2>0,B3>0),J2+F2+B3,if(and(J2>0,F2>0,B3<0),J2+F2,if(and(J2>0,F2<0,B3>0),J2+B3,if(and(j2>0,F2<0,B3<0),J2,if(and(J2<0,F2>0,B3>0),F2+B3,if(and(J2<0,F2<0,B3>0),B3,if(and(J2<0,F2>0,B3<0),F2))))))0)
It's quite messy and it doesn't actually work. Is there a way to fix it? or maybe a cleaner way of doing this?
Thanks!!!
Bookmarks