=sum(index($b$10000:index($b$2:$b$10000,large(index(($b$2:$b$10000<>0)*row($b$1:$b$9999),0),4)),0)) last 4
=sum(index($b$10000:index($b$2:$b$10000,large(index(($b$2:$b$10000<>0)*row($b$1:$b$9999),0),8)),0)) last 8
=sum(index($b$10000:index($b$2:$b$10000,large(index(($b$2:$b$10000<>0)*row($b$1:$b$9999),0),4)),0)) last 4
=sum(index($b$10000:index($b$2:$b$10000,large(index(($b$2:$b$10000<>0)*row($b$1:$b$9999),0),8)),0)) last 8
"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
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks