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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
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))
 
Upvote 0
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.
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,711
Members
452,939
Latest member
WCrawford

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