Someone put the following formula into a spreadsheet that I have to maintain:
=ABC!H14:ABC!H18+ABC!H24
I understand the use of : to pass a ranged to a function, but this does not
make sense to me. It only adds the values from H14, H18, and H24. Is the
use of the : here a typo that happens to work, or is there a good useful
purpose for it?
Thank you.
JerryK
PCLIVE - 27 Feb 2008 22:59 GMT
It doesn't seem like that should be working. I get a #VALUE! when I use it.
If it was intended to sum the range plus H24, then:
=SUM(ABC!H14:H18)+ABC!H24
If only those three cells were supposed to be added, then:
=SUM(ABC!H14,ABC!H18,ABC!H24)
or
=ABC!H14+ABC!H18+ABC!H24
HTH,
Paul
> Someone put the following formula into a spreadsheet that I have to
> maintain:
[quoted text clipped - 7 lines]
> Thank you.
> JerryK
Gord Dibben - 27 Feb 2008 23:09 GMT
It sums the values from sheet ABC H14:H18(5 cells) + H24
6 cells in all.
Easier written as =ABC!H14:H18 + ABC!A8
Gord Dibben MS Excel MVP
>Someone put the following formula into a spreadsheet that I have to maintain:
>=ABC!H14:ABC!H18+ABC!H24
[quoted text clipped - 5 lines]
>Thank you.
>JerryK
Gord Dibben - 27 Feb 2008 23:37 GMT
Forgot the SUM function
=SUM(ABC!H14:H18) + ABC!A8
Gord
>It sums the values from sheet ABC H14:H18(5 cells) + H24
>
[quoted text clipped - 13 lines]
>>Thank you.
>>JerryK
Ragdyer - 28 Feb 2008 01:25 GMT
If you check your data, you'll see that *only* H14 and H24 are being
totaled.
You need the Sum() function, as others have brought to your attention.

Signature
Regards,
RD
---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
> Someone put the following formula into a spreadsheet that I have to maintain:
> =ABC!H14:ABC!H18+ABC!H24
[quoted text clipped - 5 lines]
> Thank you.
> JerryK