Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How can i do a frequency distribution by machine automatically?

Machine Speed Mac 1 Mac 2 Mac 3
Mac 1 100 100
Mac 1 200 200
Mac 3 300 300
Mac 1 400 400
Mac 2 500 500
Mac 2 100 100
Mac 2 200 200
Mac 1 500 500
Mac 3 800 800
Mac 3 1100 1100
Mac 3 1400 1400
Mac 3 1700 1700
Mac 3 700 700

How can i do a frequency distribution by machine automatically?
Current i use the index function to group them under the same machine
and follow by a "frequency" function. However, this way it will be
very slow,as the column under Mac 1, Mac 2 and Mac 3 need
to have the function "index". This get more slower when you have 6K
rows of data. How can i do it more efficiently ?


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default How can i do a frequency distribution by machine automatically?

Hello:

Why do you need an index? The following would work:

Assume that "Machine" is in column A and Col B contains "Mac 1"; col C "Mac 2" etc

=IF(A2=C$1,B2,0)

This will put the values in columns. Use the Histogram wizard on the data analysis menu
and it will create the histogram (be sure that the bin values include zero). Ignore the
zero bin when you are done and you have the histogram you wanted.

Alternative

Why not just sort the values on column A and then create the histograms(or frequency)
by selecting the appropriate groups of cells.


Pieter Vandenberg

-----------------------------------------------
Anti-spam
Please do not reply to this message's address.
If you wish to contact me use the above address.
Thank you.
------------------------------------------------


Steve wrote:
: Machine Speed Mac 1 Mac 2 Mac 3
: Mac 1 100 100
: Mac 1 200 200
: Mac 3 300 300
: Mac 1 400 400
: Mac 2 500 500
: Mac 2 100 100
: Mac 2 200 200
: Mac 1 500 500
: Mac 3 800 800
: Mac 3 1100 1100
: Mac 3 1400 1400
: Mac 3 1700 1700
: Mac 3 700 700

: How can i do a frequency distribution by machine automatically?
: Current i use the index function to group them under the same machine
: and follow by a "frequency" function. However, this way it will be
: very slow,as the column under Mac 1, Mac 2 and Mac 3 need
: to have the function "index". This get more slower when you have 6K
: rows of data. How can i do it more efficiently ?


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
Median for frequency distribution Samirkc Excel Worksheet Functions 5 April 3rd 23 03:44 PM
How can i do a frequency distribution by machine automatically Steve[_12_] Excel Worksheet Functions 0 June 26th 08 04:14 AM
Frequency distribution steve Excel Worksheet Functions 1 April 10th 08 01:38 PM
Frequency distribution Ms MIS Excel Discussion (Misc queries) 1 April 6th 05 05:07 PM
Sorting - Frequency distribution. Stats guru Excel Discussion (Misc queries) 1 April 4th 05 04:16 AM


All times are GMT +1. The time now is 01:31 AM.

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

About Us

"It's about Microsoft Excel"