Question: In Microsoft Excel 2003/XP/2000/97, I need to create a formula that will sum all the values in Column AB when the value on the same row in Column E is 2 and the value in Column AB is greater than 0.
Answer: This can be done in Excel with an array formula.
Let's look at an example.
In cell E15, we've created the following array formula:
=SUM((AB5:AB13)*(E5:E13=2)*(AB5:AB13>0))
When creating your array formula, you need to use Ctrl+Shift+Enter instead of Enter. This creates {} brackets around your formula as follows:
{=SUM((AB5:AB13)*(E5:E13=2)*(AB5:AB13>0))}