If/Count/Sum formula in Excel

  • Thread starter Thread starter Steve C.
  • Start date Start date
S

Steve C.

A B C
1 20 1 1
2 20 1 1
3 20 1 0
4 40 1 1

Above is an example of the data I have. I want to check column A for a
value of 20, and then first COUNT the values to the right of 20 and second to
SUM the values to the right of 20. Basically want to look at attempts vs.
successes for this system. So in this example, at 20 there are 6 attempts
with 5 sucesses.
 
try this
=SUMPRODUCT((A1:A4=20)*(B1:C4<>""))&" Attempts " &
SUMPRODUCT((A1:A4=20)*(B1:C4=1))&" Sucesses "
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Countifs or a pivot 1
formula help... lookup or ref? 1
FORMULA NEEDS OF COUNTING 4
help in formula countif OR sumproduct 4
Average problem 1
Sum Formula 4
sum formula 1
Sum Formula 2

Back
Top