Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
wacNTN
 
Posts: n/a
Default Criteria for DCOUNTA for date values

I have a database in Excel that has several columns that are date values. I
need to count the number of records that have a date that is prior to a
constant date. How do I do this?

Thanks,

Walter
  #2   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default Criteria for DCOUNTA for date values

If the database is called MyTable, the constant date is Jan 1 2006, the
dates header is called dates and the criteria range is D1:D2, in D1 put
Dates and in D2 put

<1/9/06 (replace the date format with regional date format if not US dates)

If the constant date is in a cell like H2

="<"&H2

then use

=DCOUNT(MyTable,"Dates",D1:D2)


--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com




"wacNTN" wrote in message
...
I have a database in Excel that has several columns that are date values.
I
need to count the number of records that have a date that is prior to a
constant date. How do I do this?

Thanks,

Walter



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
Fun with Time values wisperc Excel Discussion (Misc queries) 1 January 5th 06 02:51 AM
Returning Results Based on Two Criteria [email protected] Excel Worksheet Functions 7 October 23rd 05 02:53 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM
SUMIF where values to be summed are formula Zakynthos Excel Worksheet Functions 10 July 27th 05 04:05 PM
sorting more than 3 keys Brooke Excel Discussion (Misc queries) 3 June 18th 05 04:52 AM


All times are GMT +1. The time now is 09:05 AM.

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"