Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Counting the number of dates? | New Users to Excel | |||
Counting dates in a column | Excel Worksheet Functions | |||
Counting Dates | Excel Worksheet Functions | |||
How to Calculate Dates without counting the weekends | Excel Worksheet Functions | |||
counting entries between two dates? | Excel Worksheet Functions |