-1

Possible Duplicate:
Populate unique values in to VBA array from excel

I need to calculate the sum of 2 (A&B) columns value in a 3rd (C) Column. But I don't want to write the =B1+C1 in every column.

Is there any formula to calculate the sum of each row values of A & B column automatically into C column?

Community
  • 1
  • 1
Sowmya
  • 26,684
  • 21
  • 96
  • 136

1 Answers1

0

Your formula is right, and when you copy that content to every cell in column b, the numbers will adapted, so the sum to the row is calculated. That magic happens while you copy the contents of one cell to another cell. This is possible because the addressing of cells is by default relative to the cell with the formula.

You even have to write "=B$1+C$1" to fix the row to "1".

So, under the hood, all these formulas are the same and what you want.

Jörg Beyer
  • 3,631
  • 21
  • 35