Help with Formula (Excel 2003)

M

Marilyn

I'm trying to create a formula that SUMs a range of cells and then Subtracts
from a different range. I typed the following in Excel and I get a #value
error:
=SUM(P6:p106)-P83:p95
I thought for sure that was going to be easy, but it was not. What Am I
doing wrong?

Thanks,
 
N

Niek Otten

Hi Marilyn,

=SUM(P6:p106)-SUM(P83:p95)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel


| I'm trying to create a formula that SUMs a range of cells and then Subtracts
| from a different range. I typed the following in Excel and I get a #value
| error:
| =SUM(P6:p106)-P83:p95
| I thought for sure that was going to be easy, but it was not. What Am I
| doing wrong?
|
| Thanks,
 
C

challa prabhu

Hi,

If you take the sum value of the range of cells, then if you must enter the
following formula

for example, =SUM(G6:G10)-SUM(H6:H10)

Challa Prabhu
 
Top