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

### Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

#### T. Valko

##### Well-known 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.

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))

#### Rodney Jorgensen

##### Active Member
I'm using 2010.

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

#### Rodney Jorgensen

##### Active Member
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.

#### T. Valko

##### Well-known Member
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
0
Views
118
Replies
7
Views
175
Replies
9
Views
110
Replies
0
Views
117
Replies
22
Views
240

1,148,022
Messages
5,744,368
Members
423,865
Latest member
SimSum

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

### Which adblocker are you using?

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

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