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

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
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,224,811
Messages
6,181,082
Members
453,021
Latest member
Justyna P

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