View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
kounoike[_2_] kounoike[_2_] is offline
external usenet poster
 
Posts: 126
Default summing a column up to a point

"kounoike" wrote in message
...
assuming the sum is located in a13, then name a13 as e.g. pos.
using this name, put a formula like
=SUM(INDIRECT("a1:a"&ROW(pos)-1))
in a13.


above is redundant, no need to use name, just
=SUM(INDIRECT("a1:a"&ROW()-1))
would work for me.

keizi