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

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
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,224,823
Messages
6,181,178
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