# Date & Countif Formula

#### Rodney Jorgensen

##### Active Member
I have a column of dates in E (Due Dates). I used this formula =COUNTIF(E:E,"="&DATE(2011,3,11)) to determine how many are due on a particular day. This works, now to my question.
In Column G I will be putting a Completed date and I would like a formula to count down the remianing due as I complete them.

So say in E2 I have 3/11/2011 and in G2 I enter 3/7/2011 I want a formula to take the value from the =COUNTIF(E:E,"="&DATE(2011,3,11)) and subtract 1.

Thanks for your help.

### Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
I have a column of dates in E (Due Dates). I used this formula =COUNTIF(E:E,"="&DATE(2011,3,11)) to determine how many are due on a particular day. This works, now to my question.
In Column G I will be putting a Completed date and I would like a formula to count down the remianing due as I complete them.

So say in E2 I have 3/11/2011 and in G2 I enter 3/7/2011 I want a formula to take the value from the =COUNTIF(E:E,"="&DATE(2011,3,11)) and subtract 1.

Thanks for your help.
Let's see if we understand this...

You want to count where column E = some date and the corresponding cell in column G is empty/blank?

What version of Excel are you using?

You can reduce your current formula to:

=COUNTIF(E:E,DATE(2011,3,11))

I'm using 2010.

What is the excel add in so I can post a section of my worksheet in my post?

You want to count where column E = some date and the corresponding cell in column G is empty/blank?

This is correct. Can the formula add it if the cell in column g is "", and if the cell in column G is not "" then do not count it.

I'm using 2010.

What is the excel add in so I can post a section of my worksheet in my post?
There is a "sticky post" at the top of the page that explains how to do that.

I've never used any of those add-ins so I can't be more specific than that.

Replies
1
Views
194
Replies
4
Views
338
Replies
4
Views
143
Replies
3
Views
478
Replies
11
Views
253

1,219,811
Messages
6,150,363
Members
450,955
Latest member
rose8693

### 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?

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