Should be an easy COUNTIF question

first5.0

New Member
Joined
Jan 16, 2006
Messages
44
I have a data query that imports a member ID (column A) and their Join Date (column B) into a Sheet (call it Sheet2). On Sheet1 I'd like the user to be able to enter a start date (cell B1) and end date (cell B2). I'd like to report the number of Members who joined between those two dates.

So I figured I could use COUNTIF. But when I reference a cell within the criteria 'area' of the formula it does not work. When I manually type in a date within the criteria 'area' of the formula it DOES work.

ex...
sheet1 b1 = 10/1/2006
=countif(sheet2!b:b, ">sheet1!b1")
returns nothing


=countif(sheet2!b:b, ">10/1/2006")
returns the correct number

Any help is appreciated.
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,214,922
Messages
6,122,281
Members
449,075
Latest member
staticfluids

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