but < subtotal (3,...) or countif
I know the 3 vs 9. What I can't figure out is how to write the < part. I
want to know is what to write in the region totals cells. The range for the
first total count in the example is B2:B3 the formula for between ages 50 and
54 total would go in cell c4. There is nothing in cells C1:C3. I can not
get the 50 but less than 54 argument to work.
"Bob Phillips" wrote:
Just change the existing subtotal function from SUM to COUNT
--
HTH
Bob Phillips
(remove nothere from email address if mailing direct)
"PAR" wrote in message
...
I have a spreadsheet grouped by division and region. Region is the inner
group an division is the outer group
Column A B C D E
age 50-54 55-59 60&
Region A 50
Region A 51
Region A totals 2 0 0
Region B 60
Region B 65
Region B totals 0 0 2
Division tot 2 0 2
How do I write a formula in column C3 to subtotal(3,B2:B3) for ages
between
50 and 54 in cell C4, between ages 55 and 59 in cell D4, etc then total
the
regional totals in the age categories for each division.
This is a simplistic example there are hundreds of ages in each region and
there are 8 divisions
|