Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Missing count of age to a group of ages
Hi
I am using this formula to count the number of ages to add to a group of ages. It is fine until I have age of 21 or 30 to where it is missing the age range in the count. Please can you help so i can pick these missing ages in my report. =SUM(COUNTIF(F26:F47,{"<=21","<30"})*{-1,1}) -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...tions/200706/1 |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Missing count of age to a group of ages
What do you mean by "missing the age range"?
Please give an example "chedd via OfficeKB.com" wrote: Hi I am using this formula to count the number of ages to add to a group of ages. It is fine until I have age of 21 or 30 to where it is missing the age range in the count. Please can you help so i can pick these missing ages in my report. =SUM(COUNTIF(F26:F47,{"<=21","<30"})*{-1,1}) -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...tions/200706/1 |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Missing count of age to a group of ages
If you want to include 21 and 30 you can use
=SUM(COUNTIF(F26:F47,{"<21","<=30"})*{-1,1}) if not then the original formula works as it should -- Regards, Peo Sjoblom "chedd via OfficeKB.com" <u18187@uwe wrote in message news:7408f90b31bfb@uwe... Hi I am using this formula to count the number of ages to add to a group of ages. It is fine until I have age of 21 or 30 to where it is missing the age range in the count. Please can you help so i can pick these missing ages in my report. =SUM(COUNTIF(F26:F47,{"<=21","<30"})*{-1,1}) -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...tions/200706/1 |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Missing count of age to a group of ages
Sorry i have a spread sheet that includes everyones age and i need to count
all ages into specific age groups i.e all those between the ages of 21-30,31- 40 etc. The issue is the formula works well except it does not include the ages 21 and 30. So i do not know to what is miising within the formula attached. bj wrote: What do you mean by "missing the age range"? Please give an example Hi [quoted text clipped - 4 lines] =SUM(COUNTIF(F26:F47,{"<=21","<30"})*{-1,1}) -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...tions/200706/1 |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Missing count of age to a group of ages
It works
-- Regards, Peo Sjoblom "chedd via OfficeKB.com" <u18187@uwe wrote in message news:740ac2ceb1bfb@uwe... Sorry i have a spread sheet that includes everyones age and i need to count all ages into specific age groups i.e all those between the ages of 21-30,31- 40 etc. The issue is the formula works well except it does not include the ages 21 and 30. So i do not know to what is miising within the formula attached. bj wrote: What do you mean by "missing the age range"? Please give an example Hi [quoted text clipped - 4 lines] =SUM(COUNTIF(F26:F47,{"<=21","<30"})*{-1,1}) -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...tions/200706/1 |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Missing count of age to a group of ages
=SUM(COUNTIF(F26:F47,{"<21","<=30"})*{-1,1})
should work if you want to include 21 and 30, you needed to change where the equal sign went "chedd via OfficeKB.com" wrote: Sorry i have a spread sheet that includes everyones age and i need to count all ages into specific age groups i.e all those between the ages of 21-30,31- 40 etc. The issue is the formula works well except it does not include the ages 21 and 30. So i do not know to what is miising within the formula attached. bj wrote: What do you mean by "missing the age range"? Please give an example Hi [quoted text clipped - 4 lines] =SUM(COUNTIF(F26:F47,{"<=21","<30"})*{-1,1}) -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...tions/200706/1 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel equivalent of sql group by count | Excel Worksheet Functions | |||
Taking age group Ie ages 20-29 and picking out net sales for group | Excel Worksheet Functions | |||
count duplicate records in a group | Excel Worksheet Functions | |||
count a group of numbers but do not count duplicates | Excel Worksheet Functions | |||
Group by count formula | Excel Worksheet Functions |