PC Review


Reply
Thread Tools Rate Thread

Creating the occurrence frequency chart in Excel

 
 
Generic Usenet Account
Guest
Posts: n/a
 
      8th Feb 2007
I had a need to put a series of numbers into buckets of size 5. I
created the following formula, and "dragged it down"

=A1 + IF(MOD(A1,5), 5-MOD(A1,5), 0)

I am sure that there is a better way of doing this. Can someone
suggest it?

Also, I wanted to come up with an occurrence frequency chart for my
data. For example if I have numbers 4, 9, 13, 13, 17, 19, 19, 19,
then I would like the occurrence frequency chart to plot the following
informatiuon in a 2D chart:

0-4: 1
5-9: 2
10-14:2
15-30: 3

Thanks,
Song

 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWFydGluIEZpc2hsb2Nr?=
Guest
Posts: n/a
 
      9th Feb 2007
Hi:

This will work out the buckets for you. Paste it into the first cell and
copy down and it will give you 1,1,2,4 (Typo on your answer).

=SUMPRODUCT(--($A$3:$A$10>=5*(COUNT(ROW($A$3:A3))-1)),--($A$3:$A$10<(5*COUNT(ROW($A$3:A3)))))

You need to adjust the $A3:$A$10 to your data range.

--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"Generic Usenet Account" wrote:

> I had a need to put a series of numbers into buckets of size 5. I
> created the following formula, and "dragged it down"
>
> =A1 + IF(MOD(A1,5), 5-MOD(A1,5), 0)
>
> I am sure that there is a better way of doing this. Can someone
> suggest it?
>
> Also, I wanted to come up with an occurrence frequency chart for my
> data. For example if I have numbers 4, 9, 13, 13, 17, 19, 19, 19,
> then I would like the occurrence frequency chart to plot the following
> informatiuon in a 2D chart:
>
> 0-4: 1
> 5-9: 2
> 10-14:2
> 15-30: 3
>
> Thanks,
> Song
>
>

 
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
Creating frequency lists in Excel peiceslaura@gmail.com Microsoft Excel Misc 1 28th Jan 2008 07:52 PM
Can I create a joint frequency chart in Excel? Danielle Microsoft Excel Discussion 3 20th Nov 2007 12:31 PM
How to label frequency in Excel Chart Ming Microsoft Excel Discussion 0 10th Jan 2006 04:51 AM
Frequency of occurrence =?Utf-8?B?TGluZHNheTEyMw==?= Microsoft Excel Misc 3 21st Jun 2005 11:58 PM
how do I create a frequency distribution chart in excel to assess. =?Utf-8?B?Q2FybA==?= Microsoft Excel Charting 4 16th Aug 2004 01:58 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:29 AM.