LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Look up a text value then count records < a date

In one worksheet, I have an table of data with header fields like:

Sheet3:
Date Created Room Number
1/1/09 11:30:02 AM 1234
2/26/09 17:29:04 PM 1234
4/2/09 12:02:04 AM 5678
6/7/09 16:24:03 PM 1234

In another worksheet, I have these headers:

Sheet1:
Room Number Date Treated #Created Before
1234 3/1/09

In Sheet1, I want to calculate in the "#Created Before" column how many rows
of data in Sheet3 meet the criteria of both the Room # listed in Sheet1 and
less than or equal to the Date Treated from Sheet3. In the above example, the
result would be 2. The dates in Sheet1 do come with the time included.

Ideally, I'd like to continue pasting data into Sheet3 and have the formulas
auto-update without having to change the "last cell" reference in the formula
(meaning, count entire columns as more data is added)
 
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
Count records where date is within the last week pmjb007 Excel Worksheet Functions 1 July 15th 09 11:41 AM
How do I count the number of records within a date range Mike New Users to Excel 6 May 29th 08 05:45 PM
How do I count the number of records within a date range? New issu Larry G Excel Worksheet Functions 1 March 13th 07 03:05 PM
What FORMULA will count records that CONTAIN certain text? jfrisch3 Excel Discussion (Misc queries) 2 April 1st 06 09:34 PM
count records in a date range jiml Excel Discussion (Misc queries) 3 January 10th 06 08:28 PM


All times are GMT +1. The time now is 05:55 PM.

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

About Us

"It's about Microsoft Excel"