SUM COUNTIF FORMULA HELP

rikvny02

Board Regular
Joined
Aug 9, 2022
Messages
86
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

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
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
Does that then work?
 
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
Did you drag the formula from L4 down to L6?
I did not drag the formula. I entered it only into L6 as I would expect a result. (1)
L6 =COUNTIFS($C$4:$C$19,J6,$D$4:$D$19,"L")
 
Upvote 0

Forum statistics

Threads
1,221,418
Messages
6,159,791
Members
451,589
Latest member
Harold14

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