Countifs problem!

krispatterson

Board Regular
Joined
Apr 28, 2017
Messages
51
This is doing my head in... & I know this is going to be a missing bracket or comma or something... :confused::confused:


data = [TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]01/01/17[/TD]
[TD]chris[/TD]
[TD]01/01/17[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]06/01/17[/TD]
[TD]geoff[/TD]
[TD]08/01/17[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]12/01/17[/TD]
[TD]bob[/TD]
[TD]15/01/17[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]12/02/17[/TD]
[TD]chris[/TD]
[TD]22/01/17[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]



why doesn't this formula work?
=COUNTIFS($A:$A,">="&c1,$A:$A,"<"&c2),'[HOTS Spreadsheet.xlsx]HOTs'!$b:$b,"chris"




Let me know, thanks :)
 
Last edited:

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".
Are you sure you copied the actual formula you're using?
Cause the example will evaluate into an error every time by cause of the closing bracket after C2.

try this: =COUNTIFS($A:$A,">="&c1,$A:$A,"<"&c2,'[HOTS Spreadsheet.xlsx]HOTs'!$b:$b,"chris")
 
Last edited:
Upvote 0
Are you sure you copied the actual formula you're using?
Cause the example will evaluate into an error every time by cause of the closing bracket after C2.

try this: =COUNTIFS($A:$A,">="&c1,$A:$A,"<"&c2,'[HOTS Spreadsheet.xlsx]HOTs'!$b:$b,"chris")


boom - thanks!! I knew it'd be something basic, just couldn't find the problem! :)
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,263
Members
452,627
Latest member
KitkatToby

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