I looking for a good formula that can be total a value when add more row into it. i have try subtotal(9,B5:B8) but this formula does not work, always need to click "Update formula to include cells", very troublesome. Have any idea ?
I looking for a good formula that can be total a value when add more row into it. i have try subtotal(9,B5:B8) but this formula does not work, always need to click "Update formula to include cells", very troublesome. Have any idea ?
Last edited by choy96; 10-27-2010 at 10:30 AM.
just use =sum(b5:b9) this will change to =sum(b5:b10) when you add a row
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
Here's one solution. In B10
=SUM($B$5:OFFSET($B$10,-1,))
This assumes you're not inserting in front of B5. If you are, then
=SUM(INDIRECT("B5"):OFFSET($B$10,-1,))
Last edited by ChemistB; 10-26-2010 at 10:36 AM.
ChemistB
My 2?
substitute commas with semi-colons if your region settings requires
Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)
Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble
thanks, what happen if i unlock the B10 on "=SUM(INDIRECT("B5"):OFFSET($B$10,-1,))" because i need draw the formula to the right.
It should not be a problem.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks