shanethrapp
New Member
- Joined
- Jan 27, 2014
- Messages
- 8
I have an end column that I am trying to sum up from the cells in the earlier columns, and I need the formula to also account for any new columns that I insert into it.
I also have an IF statement in there as well.
So my current Formula is this: =SUM(IF(C2>0,1,0),IF(F2>0,1,0) that creates a total in the Total column.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Item[/TD]
[TD]bad[/TD]
[TD]good[/TD]
[TD]date[/TD]
[TD]bad[/TD]
[TD]good[/TD]
[TD]date[/TD]
[TD]total[/TD]
[TD]Item[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1001234[/TD]
[TD]59[/TD]
[TD]1[/TD]
[TD]5/14[/TD]
[TD]28[/TD]
[TD]2[/TD]
[TD]5/14[/TD]
[TD]2[/TD]
[TD]1001234[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
My question, how do I keep the equation going if I insert a new column after the 2nd set of columns, consisting of another set of bad/good/date columns, so that it would add up the new column and include the new columns? So that it shows =SUM(IF(C2>0,1,0),IF(F2>0,1,0),IF(I2>0,1,0) or whatever it would look like with the new columns added in???
I also have an IF statement in there as well.
So my current Formula is this: =SUM(IF(C2>0,1,0),IF(F2>0,1,0) that creates a total in the Total column.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Item[/TD]
[TD]bad[/TD]
[TD]good[/TD]
[TD]date[/TD]
[TD]bad[/TD]
[TD]good[/TD]
[TD]date[/TD]
[TD]total[/TD]
[TD]Item[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1001234[/TD]
[TD]59[/TD]
[TD]1[/TD]
[TD]5/14[/TD]
[TD]28[/TD]
[TD]2[/TD]
[TD]5/14[/TD]
[TD]2[/TD]
[TD]1001234[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
My question, how do I keep the equation going if I insert a new column after the 2nd set of columns, consisting of another set of bad/good/date columns, so that it would add up the new column and include the new columns? So that it shows =SUM(IF(C2>0,1,0),IF(F2>0,1,0),IF(I2>0,1,0) or whatever it would look like with the new columns added in???