Here is the deal. I have a spreadsheet with columns A-N.

Column E is the County.
Column L is the Rep.
Column P is Estimated $.
Column Q is Actual $.

I need a formula that will count how many times column P is greater than column Q if column E is "X" and column L is "Y".

Thanks for the help guys.

Stan