Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default Calculating overdue date fields

I have a column with dates that I'd like to use a count formula where it
counts the total number of rows that are past a certain date. How
can I write the formula to calculate this count? Below is an example of what
I mean. A1 is the cell for the date criteria that will determine how many
dates are past due in column B. Column B will have mixture of date and text.
The count should include only "TBD" as overdue when calculating the number
past due.
The answer based on the example below should be 3. Can anyone help me create
this formula?
A1 = 11/25/08

Column B
12/31/08
10/31/08
03/01/13
12/31/08
11/30/08
12/31/08
01/15/09
12/30/08
09/09/09
12/30/08
12/31/08
Not Started
12/30/08
01/30/09
12/31/08
Rqstor on Lv
11/30/08
01/31/09
12/31/08
12/31/08
12/30/08
On Hold
12/30/08
On Hold
12/31/08
12/31/08
10/10/08
01/31/09
12/30/08
11/30/08
1/30/09
4/15/09
TBD
01/30/09
12/31/08
06/30/09
01/31/09
12/15/08
01/31/09

I'm using Excel 2007 and the answer should only be 3 when it counts the dates
before 11/25/08 and "TBD" cells. I want to show only dates that are overdue
and "TBD". How can I get the formula to only count the dates before a date
criteria and "TBD"?

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200812/1

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Calculating overdue date fields

=COUNTIF(B:B,"<"&A1)+COUNTIF(B:B,"TBD")
Excel may try to be helpful and display the answer as 3 Jan 1900 - just
format the cell with the formula as General
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"AHizon via OfficeKB.com" <u38169@uwe wrote in message
news:8e5d6c29797a8@uwe...
I have a column with dates that I'd like to use a count formula where it
counts the total number of rows that are past a certain date. How
can I write the formula to calculate this count? Below is an example of
what
I mean. A1 is the cell for the date criteria that will determine how many
dates are past due in column B. Column B will have mixture of date and
text.
The count should include only "TBD" as overdue when calculating the number
past due.
The answer based on the example below should be 3. Can anyone help me
create
this formula?
A1 = 11/25/08

Column B
12/31/08
10/31/08
03/01/13
12/31/08
11/30/08
12/31/08
01/15/09
12/30/08
09/09/09
12/30/08
12/31/08
Not Started
12/30/08
01/30/09
12/31/08
Rqstor on Lv
11/30/08
01/31/09
12/31/08
12/31/08
12/30/08
On Hold
12/30/08
On Hold
12/31/08
12/31/08
10/10/08
01/31/09
12/30/08
11/30/08
1/30/09
4/15/09
TBD
01/30/09
12/31/08
06/30/09
01/31/09
12/15/08
01/31/09

I'm using Excel 2007 and the answer should only be 3 when it counts the
dates
before 11/25/08 and "TBD" cells. I want to show only dates that are
overdue
and "TBD". How can I get the formula to only count the dates before a
date
criteria and "TBD"?

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200812/1



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,805
Default Calculating overdue date fields

Try
=SUMPRODUCT(--(B1:B39<A1))+SUMPRODUCT(--(B1:B39="TBD"))

"AHizon via OfficeKB.com" wrote:

I have a column with dates that I'd like to use a count formula where it
counts the total number of rows that are past a certain date. How
can I write the formula to calculate this count? Below is an example of what
I mean. A1 is the cell for the date criteria that will determine how many
dates are past due in column B. Column B will have mixture of date and text.
The count should include only "TBD" as overdue when calculating the number
past due.
The answer based on the example below should be 3. Can anyone help me create
this formula?
A1 = 11/25/08

Column B
12/31/08
10/31/08
03/01/13
12/31/08
11/30/08
12/31/08
01/15/09
12/30/08
09/09/09
12/30/08
12/31/08
Not Started
12/30/08
01/30/09
12/31/08
Rqstor on Lv
11/30/08
01/31/09
12/31/08
12/31/08
12/30/08
On Hold
12/30/08
On Hold
12/31/08
12/31/08
10/10/08
01/31/09
12/30/08
11/30/08
1/30/09
4/15/09
TBD
01/30/09
12/31/08
06/30/09
01/31/09
12/15/08
01/31/09

I'm using Excel 2007 and the answer should only be 3 when it counts the dates
before 11/25/08 and "TBD" cells. I want to show only dates that are overdue
and "TBD". How can I get the formula to only count the dates before a date
criteria and "TBD"?

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200812/1


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default Calculating overdue date fields

Perfect, that formula worked. Thanks so much!!

Bernard Liengme wrote:
=COUNTIF(B:B,"<"&A1)+COUNTIF(B:B,"TBD")
Excel may try to be helpful and display the answer as 3 Jan 1900 - just
format the cell with the formula as General
best wishes
I have a column with dates that I'd like to use a count formula where it
counts the total number of rows that are past a certain date. How

[quoted text clipped - 58 lines]
date
criteria and "TBD"?


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200812/1

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
highlight cell with colour if date overdue Harvey New Users to Excel 4 October 31st 07 03:19 PM
how do I calculate 30, 60 90 days overdue from date invoiced Paul Excel Discussion (Misc queries) 5 July 4th 07 06:13 PM
Can I group overdue Invoices by date from an Excel worksheet? newbie Excel Worksheet Functions 1 August 9th 06 04:17 PM
need an overdue date to highlight Sarge Excel Discussion (Misc queries) 1 February 3rd 05 07:33 PM
Date Overdue function, Macro, or VBS Galsaba Excel Discussion (Misc queries) 5 January 14th 05 12:26 AM


All times are GMT +1. The time now is 02:18 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"