=COUNTIF not counting for me please help

Patriot2879

Well-known Member
Joined
Feb 1, 2018
Messages
1,259
Office Version
  1. 2010
Platform
  1. Windows
Hi I have the code below where I am trying to count words located in column H, I used the code below but it doesn't count anything just comes up with (0), can you help me please with this? any help will be greatly appreciated.

Code:
=COUNTIFS(Northants!H:H,"2 man ladder job",Northants!H:H,"Assist",Northants!H:H,"No parking",Northants!H:H,"ISCO Cut Out")
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Try this
This is the range is always the same
=COUNTIF(Northants!H:H,"2 man ladder job") + countif(Northants!H:H,Northants!H:H,"Assist") + countif(Northants!H:H,"No parking") + countif(Northants!H:H,"ISCO Cut Out")
 
Upvote 0
one typo corrected
=COUNTIF(Northants!H:H,"2 man ladder job") + countif(Northants!H:H,"Assist") + countif(Northants!H:H,"No parking") + countif(Northants!H:H,"ISCO Cut Out")
 
Upvote 0
brill that's great thank you so much, been trying to figure this out for ages, your a savior thanks again.
 
Upvote 0


[TABLE="class: grid"]
<tbody>[TR]
[TD][/TD]
[TD]
H
[/TD]
[TD]
I
[/TD]
[TD]
J
[/TD]
[TD]
K
[/TD]
[TD]
L
[/TD]
[TD]
M
[/TD]
[/TR]
[TR]
[TD]
1
[/TD]
[TD]name[/TD]
[TD][/TD]
[TD][/TD]
[TD]criteria[/TD]
[TD][/TD]
[TD]total count[/TD]
[/TR]
[TR]
[TD]
2
[/TD]
[TD]2 man ladder job[/TD]
[TD][/TD]
[TD][/TD]
[TD]2 man ladder job[/TD]
[TD][/TD]
[TD]
7​
[/TD]
[/TR]
[TR]
[TD]
3
[/TD]
[TD]Assist[/TD]
[TD][/TD]
[TD][/TD]
[TD]No parking[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
4
[/TD]
[TD]No parking[/TD]
[TD][/TD]
[TD][/TD]
[TD]ISCO Cut Out[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
5
[/TD]
[TD]ISCO Cut Out[/TD]
[TD][/TD]
[TD][/TD]
[TD]Assist[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
6
[/TD]
[TD]A[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
7
[/TD]
[TD]B[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
8
[/TD]
[TD]C[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
9
[/TD]
[TD]No parking[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
10
[/TD]
[TD]E[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
11
[/TD]
[TD]ISCO Cut Out[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
12
[/TD]
[TD]G[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
13
[/TD]
[TD]No parking[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
14
[/TD]
[TD]I[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


M2=SUMPRODUCT(COUNTIF(Northants!$H$2:$H$100,K2:K10))
 
Upvote 0

Forum statistics

Threads
1,226,730
Messages
6,192,703
Members
453,748
Latest member
akhtarf3

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