PC Review


Reply
Thread Tools Rate Thread

Calculating a Data Range

 
 
=?Utf-8?B?QW5keQ==?=
Guest
Posts: n/a
 
      19th Sep 2007
To whom it may concern,

I have an age data range from H2:H1844, with ages ranging 23 thru 101. I
need to put them into categories such as 23-35, 36-45, 46-55, etc....

I need to count how many times 23,24,25...35 occurs for a single number so I
may graph the several age categories.

Than you in advance for any help you may have.
--
Thanks,
Andy
 
Reply With Quote
 
 
 
 
T. Valko
Guest
Posts: n/a
 
      19th Sep 2007
Try this:

Put your age intervals in 2 columns. Like this:

...........J..........K..........L
2......23........35...........
3......36........45...........
4......46.......55............

Then enter this formula in L2 and copy down:

=COUNTIF(H:H,">="&J2)-COUNTIF(H:H,">"&K2)

--
Biff
Microsoft Excel MVP


"Andy" <(E-Mail Removed)> wrote in message
news:B03F0F05-1CC8-4571-83B6-(E-Mail Removed)...
> To whom it may concern,
>
> I have an age data range from H2:H1844, with ages ranging 23 thru 101. I
> need to put them into categories such as 23-35, 36-45, 46-55, etc....
>
> I need to count how many times 23,24,25...35 occurs for a single number so
> I
> may graph the several age categories.
>
> Than you in advance for any help you may have.
> --
> Thanks,
> Andy



 
Reply With Quote
 
=?Utf-8?B?and0?=
Guest
Posts: n/a
 
      19th Sep 2007
While Biff's answer is the best one there is a slightly easier way.

If you have teh Data Analysis ToolPak loaded just choose the Histogram
function and point at your data and single column (or row) or ranges. Excel
will calculate teh table for you. It will even chart the answer if you want.

If you don't have the ToolPak loaded, click the office button, Excel Options
button, Add-Ins and in the "Manage" drop down at the bottom select Excel
Add-Ins and hit "Go". Choose the Analysis ToolPak and OK.

"Andy" wrote:

> To whom it may concern,
>
> I have an age data range from H2:H1844, with ages ranging 23 thru 101. I
> need to put them into categories such as 23-35, 36-45, 46-55, etc....
>
> I need to count how many times 23,24,25...35 occurs for a single number so I
> may graph the several age categories.
>
> Than you in advance for any help you may have.
> --
> Thanks,
> Andy

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculating data within a date range =?Utf-8?B?S2VLMjM=?= Microsoft Excel Worksheet Functions 4 26th Sep 2007 01:30 PM
calculating the sum of a range T. S. Microsoft Excel Discussion 2 25th Dec 2006 04:23 PM
Calculating Half-Hour Range for Hour-Minute Data Anonymous Microsoft Excel Misc 4 6th Oct 2004 05:29 PM
Calculating Half-Hour Range for Hour-Minute Data Anonymous Microsoft Excel Worksheet Functions 1 6th Oct 2004 04:41 PM
calculating #'s outside of a given range Devon Microsoft Access Reports 2 24th Sep 2004 05:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:47 AM.