Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have one column that contains budgets and another that contains actuals. How can I get a count in a cell above the actuals column that will tell me how many of them are under their budgets? Example: If 10 out of 100 of them are under budget, what formula would I write that would give me a total of "10"?

share|improve this question
add comment

1 Answer 1

Try this:

=SUMPRODUCT(--(B2:B101<A2:A101))

Where your actuals are in B2:B101 and the budgets are in A2:A101.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.