Zend certified PHP/Magento developer

SUMIF function using LARGE() as criteria

Could you help me creating a formula that makes it unnecessary to create the column D and gets the result using only one cell. I guess you would have to use an array formula but I can’t figure it out.

enter image description here

I’ve used that formula in cell F2, but I would like to get rid of column D.