COUNTIF with DATE

Drewmyster

Board Regular
Joined
May 16, 2007
Messages
151
Office Version
  1. 365
Platform
  1. Windows
Hi there,

I'll try and explain better than I did yesterday what it is I'm trying to achieve.

I'm trying to count the number of accounts which are enabled on any given date. Account statuses range from Enabled, Disabled, Expired or Deleted.

I have multiple sheets with data on them and a date range down column A on each of them. Account types range from Basic, Business and Flexi.

On the "Front" sheet I have a cell with the current date in it (B3).

I want to count how many occurances of the word "Enabled" is found against the date in the date range ('BASIC'!A:A), and that matches the date in cell B3. The account status is in column J.

Here is the formula I'm using which I need to adjust somewhat;

=COUNTIF('BASIC'!A:J,"Enabled")

This returns the count for the word "Enabled" accross all dates, not the date in cell B3 only.

Please advise.
 

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".

Forum statistics

Threads
1,224,614
Messages
6,179,906
Members
452,949
Latest member
beartooth91

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