R
Ryan H.
Hello,
I have the three columns, A, B and C and their first row contains headers.
Here is an example:
HeaderA HeaderB HeaderC
2 5
7 1
15 4
9
3
I want column C to automatically calculate the sume of columns A and B. So
for the above example, I would have column C filled up with (7,8,19,9,3).
Also if both cells in columns A and B are blank, column C will be blank.
I applied the following formula to the whole column C by clicking on the C
column and after entering the formula I pressed CTRL-ENTER:
=IF(OR(ISNUMBER(A2),ISNUMBER(B2)),A2+B2,"")
This creates two problems:
1) It doesn't take into consideration the header column.
2) The formula is applied to each and every cell in the column. Can't this
be done any other way? I think its overload to apply it to every cell in the
column.
What can I do? Note that the summing i'm doing here is not what I'm really
going to do...
I have the three columns, A, B and C and their first row contains headers.
Here is an example:
HeaderA HeaderB HeaderC
2 5
7 1
15 4
9
3
I want column C to automatically calculate the sume of columns A and B. So
for the above example, I would have column C filled up with (7,8,19,9,3).
Also if both cells in columns A and B are blank, column C will be blank.
I applied the following formula to the whole column C by clicking on the C
column and after entering the formula I pressed CTRL-ENTER:
=IF(OR(ISNUMBER(A2),ISNUMBER(B2)),A2+B2,"")
This creates two problems:
1) It doesn't take into consideration the header column.
2) The formula is applied to each and every cell in the column. Can't this
be done any other way? I think its overload to apply it to every cell in the
column.
What can I do? Note that the summing i'm doing here is not what I'm really
going to do...