Date & Countif Formula

Rodney Jorgensen

Active Member
Joined
Nov 9, 2007
Messages
411
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

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

T. Valko

Well-known Member
Joined
May 9, 2009
Messages
16,623
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))
 

Rodney Jorgensen

Active Member
Joined
Nov 9, 2007
Messages
411
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
Joined
May 9, 2009
Messages
16,623
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.
 

Forum statistics

Threads
1,141,847
Messages
5,708,946
Members
421,601
Latest member
Garlo

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
Top