COUNTIF ERROR

caos88

Board Regular
Joined
Mar 12, 2020
Messages
66
Office Version
  1. 2010
Platform
  1. Windows
Hello everyone,

i am using this formula =COUNTIF('Stored Items'!A:A,"John")+COUNTIF('Stored Items'!B:B,"Boston") to have a count of how many s"John' are in "Boston". When i do that, even if there are only 2, the count is giving me 3 John.....i don't understand where i made the mistake. Should i use a VLOOKUP instead ?
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
That is giving you a count of Harry & a count of Boston the two are not linked.
It should be
=COUNTIFS('Stored Items'!A:A,"Harry",'Stored Items'!B:B,"Boston")
 
Upvote 0
That is giving you a count of Harry & a count of Boston the two are not linked.
It should be
=COUNTIFS('Stored Items'!A:A,"Harry",'Stored Items'!B:B,"Boston")
Hello,

it doesn't really work, is giving me the error : " you have entered too many arguments for this function "
 
Upvote 0
That is giving you a count of Harry & a count of Boston the two are not linked.
It should be
=COUNTIFS('Stored Items'!A:A,"Harry",'Stored Items'!B:B,"Boston")
hI @Fluff

i did it, and is working fine. I haven't change nothing so my computer decided to work again.Thank you for the help !!!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,971
Messages
6,122,521
Members
449,088
Latest member
RandomExceller01

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