Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am doing some statistical reporting on the age of staff joining the
organisation. I have two lines of data which show the age and also the classification level of the staff. To calculate the age ranges, I used the following formula which gave the correct result below: A1 B1 49 CLEANER 49 CLEANER 34 SENIOR ADMIN 34 TRAINER 47 TRAINER 44 TRAINER 53 TRAINER 34 TRAINER 54 TRAINER =COUNTIF(JOINER!A2:A4000,"="&20)-COUNTIF(JOINER!A2:A4000,"="&30) Result: 20 - 30 = 6 30 - 40 = 10 40 - 50 = 15 50+ = 8 Now I need to report on how many people in each category (TRAINER, CLEANER etc) have left in the organisation by age group eg (below) Number of teaching staff in the following catagories: Desired result: TRAINER Staff: CLEANER Staff 20 - 30 = 0 20 - 30 = 1 30 - 40 = 2 30 - 40 = 3 40 - 50 = 2 40 - 50 = 5 50+ = 2 50+ = 2 I have tried this formula, but it doesn't seem to be working. I'm trying to get excel to just concentrate on the TRAINER ages and then sort them into age groups. =COUNTIF(JOINER!B2:B400="TRAINER")*(JOINER!A2:A400 0,"="&15)-COUNTIF(JOINER!A2:A4000,"="&30) Any assistance would be greatly appreciated. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
countif within date ranges | Excel Worksheet Functions | |||
COUNTIF within date ranges | Charts and Charting in Excel | |||
countif with non-continous ranges | Excel Worksheet Functions | |||
Countif between ranges | Excel Discussion (Misc queries) | |||
CountIF and changing ranges | Excel Worksheet Functions |