I'm trying to add results that derive from a formula.
Example of what I'm trying to achieve.
Column A contains fruit and then column B:I contain individual formulas to calculate what fruit, for example;
=IF(A1="Apple","1","")
=IF(A1="Pear","1","")
=IF(A1="Orange","1","")
=IF(A1="Grape","1","")
So results would look like;
Apple 1 0 0 0
Pear 0 1 0 0
Orange 0 0 1 0
Apple 1 0 0 0
Grape 0 0 0 1
Now my problem is when i add =SUM(B1:B5) i get a result of 0 instead of 2.
Example of what I'm trying to achieve.
Column A contains fruit and then column B:I contain individual formulas to calculate what fruit, for example;
=IF(A1="Apple","1","")
=IF(A1="Pear","1","")
=IF(A1="Orange","1","")
=IF(A1="Grape","1","")
So results would look like;
Apple 1 0 0 0
Pear 0 1 0 0
Orange 0 0 1 0
Apple 1 0 0 0
Grape 0 0 0 1
Now my problem is when i add =SUM(B1:B5) i get a result of 0 instead of 2.