SUM COUNTIF FORMULA HELP

rikvny02

Board Regular
Joined
Aug 9, 2022
Messages
95
Office Version
  1. 365
Platform
  1. Windows
short version - I can't get the below formula to work. Its an easy fix but its just not coming to me. I am trying to keep track of Win/Losses for the season. Thanks for any help you can provide.

If column J matches column C, I'd like the count of losses in column D.

example:
CELL L6 =sum(countif(c4:c19,j3,d4:d19 = "L"))
1725637621007.png



yes I'm aware I should use the XL2BB, unfortunately I can't download it from my current location.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Did you retype that formula or copy and paste? If you copied it directly, then the first thing I can see is your formula has J3 when it should be J4? And for multiple criteria, you should probably be using COUNTIFS instead of COUNTIF.
 
Upvote 0
If the formula is in L6 shouldn't it be looking at J6 rather than J3?
Also there is no need to wrap it in SUM.
 
Upvote 0
If the formula is in L6 shouldn't it be looking at J6 rather than J3?
Also there is no need to wrap it in SUM.
you are correct. typing mistake. J6 is the correct cell reference
 
Upvote 0
If that does not work, perhaps this in L4 copied down:
Excel Formula:
=COUNTIFS($C$4:$C$19,J4,$D$4:$D$19,"L")
the above formula is returning 0. which we know is not true because in cell D4 it shows "L". This was the reason I tried the = sign
 
Upvote 0
Did you drag the formula from L4 down to L6?
 
Upvote 0

Forum statistics

Threads
1,223,879
Messages
6,175,148
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top