The picture below gives an example. I need to be able to write a formula that will look at the first 4 columns and match them to a criteria on a different tab. Once that row is found I need to be able to sum the cells that are out to the right.

criteria 1 | criteria 2 | criteria 3 | criteria 4 | Cell to sum | Cell to sum | Cell to sum | Cell to sum |

A | B | C | D | 1 | 2 | 3 | 4 |

E | B | C | D | 2 | 3 | 4 | 5 |