Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SMutchnick
 
Posts: n/a
Default Counting ranges, please help


Hey everyone, I haven't been able to figure out how to pull this off:
I've got a database of about 3,000 patients from which I will soon need
to extract data for research.
Right now I am focusing on three of my columns, SEX, AGE and RACE.
Using a pivot table I can see how many M's or F's are AA or Cau, and
totals of both sex's and all race's and so on.
But I cannot figure out how to, either by using a worksheet formula(s)
or pivot table, display the distribution of patients through a set
age-range.
My goal is to have a table that will show how many AA's, Cau's, etc and
how many M's and F's of each race are between the ages of 10-20, 21-30.
31-40 and so on.

I have not been succesfull with any counting formulas, and in the pivot
tables have not found a way to control how the AGE column is displayed,
so as it is I have on row for virtually every age between 10 and 90.
Not ideal.

Any help would be GREATLY appreciated, thank you!

-Sean


--
SMutchnick
------------------------------------------------------------------------
SMutchnick's Profile: http://www.excelforum.com/member.php...o&userid=35019
View this thread: http://www.excelforum.com/showthread...hreadid=547552

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
pdberger
 
Posts: n/a
Default Counting ranges, please help

SMutchnick --

On your pivot table, right-click on the header that has the age ranges.
Then, there's an option to 'group' them. Group them by every 10 years, and
you should be fine.

HTH

"SMutchnick" wrote:


Hey everyone, I haven't been able to figure out how to pull this off:
I've got a database of about 3,000 patients from which I will soon need
to extract data for research.
Right now I am focusing on three of my columns, SEX, AGE and RACE.
Using a pivot table I can see how many M's or F's are AA or Cau, and
totals of both sex's and all race's and so on.
But I cannot figure out how to, either by using a worksheet formula(s)
or pivot table, display the distribution of patients through a set
age-range.
My goal is to have a table that will show how many AA's, Cau's, etc and
how many M's and F's of each race are between the ages of 10-20, 21-30.
31-40 and so on.

I have not been succesfull with any counting formulas, and in the pivot
tables have not found a way to control how the AGE column is displayed,
so as it is I have on row for virtually every age between 10 and 90.
Not ideal.

Any help would be GREATLY appreciated, thank you!

-Sean


--
SMutchnick
------------------------------------------------------------------------
SMutchnick's Profile: http://www.excelforum.com/member.php...o&userid=35019
View this thread: http://www.excelforum.com/showthread...hreadid=547552


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SMutchnick
 
Posts: n/a
Default Counting ranges, please help


When I try your suggestion I get: "Cannot group that selection."


--
SMutchnick
------------------------------------------------------------------------
SMutchnick's Profile: http://www.excelforum.com/member.php...o&userid=35019
View this thread: http://www.excelforum.com/showthread...hreadid=547552

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SMutchnick
 
Posts: n/a
Default Counting ranges, please help


When I try your suggestion I get: "Cannot group that selection."


--
SMutchnick
------------------------------------------------------------------------
SMutchnick's Profile: http://www.excelforum.com/member.php...o&userid=35019
View this thread: http://www.excelforum.com/showthread...hreadid=547552

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SMutchnick
 
Posts: n/a
Default Counting ranges, please help


When I try your suggestion I get: "Cannot group that selection."


--
SMutchnick
------------------------------------------------------------------------
SMutchnick's Profile: http://www.excelforum.com/member.php...o&userid=35019
View this thread: http://www.excelforum.com/showthread...hreadid=547552



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SMutchnick
 
Posts: n/a
Default Counting ranges, please help


Disregard that last reply, I see what you mean.

Thank you!


--
SMutchnick
------------------------------------------------------------------------
SMutchnick's Profile: http://www.excelforum.com/member.php...o&userid=35019
View this thread: http://www.excelforum.com/showthread...hreadid=547552

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting Cells with certain date ranges as values audreyglennette Excel Worksheet Functions 12 May 4th 06 12:21 AM
Named Ranges Joe Gieder Excel Worksheet Functions 2 February 16th 06 01:31 AM
Counting Across Multiple Ranges, Based on Condition Stacy Excel Worksheet Functions 2 June 22nd 05 08:35 PM
compare unique identifiers in multiple ranges bawilli_91125 Charts and Charting in Excel 1 November 30th 04 06:34 PM
Named dynamic ranges, copied worksheets and graph source data WP Charts and Charting in Excel 1 November 28th 04 05:19 PM


All times are GMT +1. The time now is 04:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"