is there a formula for: If column A has a "Y" it will add columns B&C. If column A has a "N" it will subtract columns B&C? I thought about SUMIF, but can't seem to get it to work.
Col A
Y
N
Col B
10
5
Col C
5
10
is there a formula for: If column A has a "Y" it will add columns B&C. If column A has a "N" it will subtract columns B&C? I thought about SUMIF, but can't seem to get it to work.
Col A
Y
N
Col B
10
5
Col C
5
10
Last edited by preddy1110; 02-07-2011 at 08:00 AM.
Maybe this:
=B1+IF(A1="Y", 1, -1)*C1
Of course, this formula don't care if you put N or anything else.. Just look is it Y.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks