#1   Report Post  
Posted to microsoft.public.excel.misc
Cody
 
Posts: n/a
Default COUNTING DATES

How do i write a formula to count the number of lines on a database of
information that have a date that matches todays date? Say I have a huge
database with 10,000 lines of info and I want it to look at all the info and
put a number in a cell that says how many of the lines in the datbase contain
todays date.
--
na
  #2   Report Post  
Posted to microsoft.public.excel.misc
David McRitchie
 
Posts: n/a
Default COUNTING DATES

See COUNTIF Worksheet Function in help
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Cody" wrote in message ...
How do i write a formula to count the number of lines on a database of
information that have a date that matches todays date? Say I have a huge
database with 10,000 lines of info and I want it to look at all the info and
put a number in a cell that says how many of the lines in the datbase contain
todays date.
--
na



  #3   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default COUNTING DATES

Hi!

Try this:

=COUNTIF(A1:A10000,TODAY())

Biff

"Cody" wrote in message
...
How do i write a formula to count the number of lines on a database of
information that have a date that matches todays date? Say I have a huge
database with 10,000 lines of info and I want it to look at all the info
and
put a number in a cell that says how many of the lines in the datbase
contain
todays date.
--
na



  #4   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre
 
Posts: n/a
Default COUNTING DATES

Assuming:
You mean an Excel range of data containing dates, and
Your test date is in Cell A1, and
Your data range is in Cells B1:B10000:

Then, if the dates don't have any times (01/21/2005, but not 01/21/2005
01:30 AM) then this might work for you:
=COUNTIF(B1:B10000,A1)

If the dates listed in Col B include hours and minutes then try this:
=SUMPRODUCT(--(INT(B1:B10000)=A1))

Does that help?

***********
Regards,
Ron


"Cody" wrote:

How do i write a formula to count the number of lines on a database of
information that have a date that matches todays date? Say I have a huge
database with 10,000 lines of info and I want it to look at all the info and
put a number in a cell that says how many of the lines in the datbase contain
todays date.
--
na

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
Counting the number of dates? aaronwexler New Users to Excel 5 September 1st 05 11:26 PM
Counting dates in a column Robb27 Excel Worksheet Functions 4 May 25th 05 09:31 AM
Counting Dates MJMP Excel Worksheet Functions 2 May 24th 05 07:34 PM
How to Calculate Dates without counting the weekends Lillian F Excel Worksheet Functions 9 January 24th 05 09:09 AM
counting entries between two dates? Todd Excel Worksheet Functions 7 November 1st 04 11:07 PM


All times are GMT +1. The time now is 03:07 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"