Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
hi Max,
thanks for your prompt reply. I adjusted the formula to suit my workbook as follows: =SUMPRODUCT(('Main Data'!E10:E9654<"")*(DATEDIF('Main Data'!E10:E9654,TODAY(),"y")=10)*(DATEDIF('Main Data'!E10:E9654,TODAY(),"y")<15)) but i'm getting an #NUM! error .. any idea why? "Max" wrote: Assume DOBs are within A2:A100 .. number of students between 10 and 15 years: =SUMPRODUCT((A2:A100<"")*(DATEDIF(A2:A100,TODAY() ,"y")=10)*(DATEDIF(A2:A100,TODAY(),"y")<=15)) .. number of students older than 15: =SUMPRODUCT((A2:A100<"")*(DATEDIF(A2:A100,TODAY() ,"y")15)) -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Tendresse" wrote: I have a column where i put the students' Dates of Birth. I want a formula that calculate different age groups from that column. for example: formula to calculate the number of students between 10 and 15 years, and another formula to calculate the number of students older than 15. How do i do that? Many thanks - Tendresse Using Excel 2003 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
counting age groups | Excel Worksheet Functions | |||
Counting a single value across multiple cell groups | Excel Discussion (Misc queries) | |||
Counting groups of exact numbers in a huge list (column) | Excel Discussion (Misc queries) | |||
Counting groups of exact case numbers w/letters in them. | Excel Discussion (Misc queries) | |||
Counting groups exact case numbers | Excel Discussion (Misc queries) |