Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hi guys,
Hope someone can help with this, I'm pretty sure it'll be quite a simple one. Column A:A contains a list dates, I want to use a formula to count the number of cells which contain a date between 01/01/05 - 31/01/05. Any ideas, Many thanks, Dave |
#2
![]() |
|||
|
|||
![]()
Try:
=SUMPRODUCT((A1:A1000=--"1/1/05")*(A1:A1000<=-- "1/31/05")) BTW - I'm using American date formats in mine. HTH Jason Atlanta, GA -----Original Message----- Hi guys, Hope someone can help with this, I'm pretty sure it'll be quite a simple one. Column A:A contains a list dates, I want to use a formula to count the number of cells which contain a date between 01/01/05 - 31/01/05. Any ideas, Many thanks, Dave . |
#3
![]() |
|||
|
|||
![]()
One way:
=COUNTIF(A:A,"="&DATE(2005,1,1))-COUNTIF(A:A,""&DATE(2005,1,31)) or if you can use less than the whole column: =SUMPRODUCT(--(TEXT(A1:A999,"yyyymm")="200501")) Dave wrote: Hi guys, Hope someone can help with this, I'm pretty sure it'll be quite a simple one. Column A:A contains a list dates, I want to use a formula to count the number of cells which contain a date between 01/01/05 - 31/01/05. Any ideas, Many thanks, Dave -- Dave Peterson |
#4
![]() |
|||
|
|||
![]()
Try...
=COUNTIF(A:A,"=1/1/2005")-COUNTIF(A:A,"1/31/2005") Hope this helps! In article , "Dave" wrote: Hi guys, Hope someone can help with this, I'm pretty sure it'll be quite a simple one. Column A:A contains a list dates, I want to use a formula to count the number of cells which contain a date between 01/01/05 - 31/01/05. Any ideas, Many thanks, Dave |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
cells() and counting number or rows on spreadsheet | Excel Worksheet Functions | |||
counting cells with conditional formatting applied | Excel Discussion (Misc queries) | |||
Convert data of cells to any type: Number, Date&Time, Text | Excel Discussion (Misc queries) | |||
Count number of shaded cells | Excel Discussion (Misc queries) | |||
GET.CELL | Excel Worksheet Functions |