Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I would like to count the number of date cells in a range with a specific
year. For instance, I would like to do COUNTIF(cell range, year(current cell) = 2007) |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
Try this: =SUMPRODUCT(--(YEAR(A1:A100)=2007)) or something like this array formula =SUM(IF(YEAR(A5:A18)=2007,1)) enter using Ctrl+Shift+Enter Regards! Jean-Guy "Excel formula" wrote: I would like to count the number of date cells in a range with a specific year. For instance, I would like to do COUNTIF(cell range, year(current cell) = 2007) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sorting date fields by month excluding year | Excel Discussion (Misc queries) | |||
How do you compute partial year depreciation using DDB, SYD, SLN,V | Excel Worksheet Functions | |||
count dates within range by year and month | Excel Worksheet Functions | |||
count number of months year to date | Excel Worksheet Functions | |||
Count the occurances of a month in a range of date fields | Excel Worksheet Functions |