• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How to have a dynamic sum function

metal.stuff

New Member
Hello all,
Im looking to have a dynamic sum function, meaning I know the beginning of the sum array, but the second part of the array will be based on a table.
Please see the attached example, it explains the way I mean it, and hopefully someone will be able to help meout.

Cheers.
 

Attachments

Hi ,

Another option :

=SUM($L$3:INDEX($L$3:$L$11, MATCH($C$5, $I$3:$I$11,0) + MATCH($D$5,$J$3:$J$11,0) - 1))

Of course , this will work only if each of A , B , C has the same number of items.

Narayan
 
Back
Top