Here is what I would like to solve.
A1: 200
B1: YES
C1: 10
D1: NO
E1: 20
F1: YES
G1: 30
I would like to make a calculation that would allow me to substract the number each time the condition is YES.
So in this example, it would be 200-10-30. However, as there are 8 conditions, I would need seven IF to do it. I was wondering if there was any other solution to do it.
So far I have a solution but that makes me create 3 news columns. I write IF(B1=”YES,200-C1;200). And then I do the same on next 2 columns using each time the result from the previous column.
Thank you very much for your time
you might try
setting C1 defines the first cell of the summed range and the formula can also be entered as