Try this:
=SUM(INDIRECT("A4:C4"))
--
HTH,
RD
---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"A question on scrolling sum" <A question on scrolling
wrote in message
...
Have a question on scrolling sum with Excel.
For example:
Insert function into cell D4=SUM(A4:C4)
then insert a row in front of A, the function in E4 will turn into
SUM(B4:D4)
how to do if I wanna keep the function not changed