Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a spreadsheet with a column for date. I would like to use a function
that will tell me how many entries there are per year. I have the dates entered as 7/29/2009, etc. I can't seem to get it right. Any ideas? Thanks in advance! |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
Suppose your dates are in column A then enter the year in G1, say 2009 and then use =SUMPRODUCT(--(YEAR(A1:A28)=G1)) -- If this helps, please click the Yes button. Cheers, Shane Devenshire "onebodaciousbabe03" wrote: I have a spreadsheet with a column for date. I would like to use a function that will tell me how many entries there are per year. I have the dates entered as 7/29/2009, etc. I can't seem to get it right. Any ideas? Thanks in advance! |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
onebodaciousbabe03 wrote:
I have a spreadsheet with a column for date. I would like to use a function that will tell me how many entries there are per year. I have the dates entered as 7/29/2009, etc. I can't seem to get it right. Any ideas? Thanks in advance! A few ways... This regular worksheet function will count how many dates are in 2009: =SUMPRODUCT(--(YEAR(A1:A999)=2009)) This array* formula will do the same: =SUM(IF(YEAR(A1:A999)=2009,1)) This array* formula will count the date years for all the years indicated. It must be entered into a range of vertical cells (4 high, in this case) at once: =FREQUENCY(YEAR(A1:A999),{2007,2008,2009,2010}) *Commit the array formulas by pressing Ctrl+Shift+Enter, not just Enter or Tab. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Deleting entries one year old | Excel Discussion (Misc queries) | |||
Combination Graph with current year and prior year sales | Charts and Charting in Excel | |||
Counting distinct entries based on meeting month & year criteria | Excel Worksheet Functions | |||
Counting Entries by Month and Year | Excel Worksheet Functions | |||
counting date entries by month & year | Excel Worksheet Functions |