Welcome to Windows Help!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How to cluster data with Excel

 
   Windows Help (Home) -> Microsoft Excel RSS
Next:  Using StyleRef for Headers  
Author Message
Luca

External


Since: Dec 22, 2009
Posts: 1



(Msg. 1) Posted: Tue Dec 22, 2009 3:17 am
Post subject: How to cluster data with Excel
Archived from groups: microsoft>public>excel (more info?)

Dear all, excuse me for this maybe "too simple" question..

I am trying to find a way to "cluster" simple data on an excel sheet

Example:
Variable a Variable b Variable c
Case 1 1 0 0
Case 2 0 1 1
Case 3 1 0 0
Case 4 1 1 0
Case 5 0 1 1


The systems recognizes that there are 3 possible clusters:

the first with cases that has Variable a as true,
the second has Variables b and c
the third is "all the rest"

Variable a Variable b Variable c
Case 1 1 0 0
Case 3 1 0 0

Case 2 0 1 1
Case 5 0 1 1

Case 4 1 1 0


The same should work for other integers, not only like this example
0 / 1

Thank you in advance

 >> Stay informed about: How to cluster data with Excel 
Back to top
Login to vote
Dave Peterson

External


Since: Oct 17, 2008
Posts: 38



(Msg. 2) Posted: Tue Dec 22, 2009 8:15 am
Post subject: Re: How to cluster data with Excel
Archived from groups: per prev. post (more info?)

If the cases that need to be grouped have to match in all the variables, I'd use
an extra column and use a formula like:

=b2&"--"&c2&"--"&d2

Then drag down as far as I needed.

Then I could sort by the data by this column and do data|subtotals (in xl2003
menus) to show the break between groups.



Luca wrote:
>
> Dear all, excuse me for this maybe "too simple" question..
>
> I am trying to find a way to "cluster" simple data on an excel sheet
>
> Example:
> Variable a Variable b Variable c
> Case 1 1 0 0
> Case 2 0 1 1
> Case 3 1 0 0
> Case 4 1 1 0
> Case 5 0 1 1
>
> The systems recognizes that there are 3 possible clusters:
>
> the first with cases that has Variable a as true,
> the second has Variables b and c
> the third is "all the rest"
>
> Variable a Variable b Variable c
> Case 1 1 0 0
> Case 3 1 0 0
>
> Case 2 0 1 1
> Case 5 0 1 1
>
> Case 4 1 1 0
>
> The same should work for other integers, not only like this example
> 0 / 1
>
> Thank you in advance

 >> Stay informed about: How to cluster data with Excel 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Help with converting data in Excel - Hello all, I have been working with a client of mine for the last few weeks to get a simple data conversion taken care of. However it has turned out to be more difficult than I expected. I was provided a *.txt file that had tons of columns and extra..

BUG in Excel 2007 - Plot charts w/data labels - To duplicate this bug, create a chart with two lines with an x-axis that contains consecutive dates. Then, add a plot chart series (again with date x-axis) and add data labels to it. IMPORTANT: Then, change the plot chart to plot using the primary axis...

Excel 2003 toolbars in Excel 2007 - I have used Excel 2003 for years and have made a rather heavy customization by defining new toolbars with buttons calling VBA. Unfortunately, with Excel 2007 toolbars no longer exist! Gates and his gang of developers have decided that we all have to..

Unable to open excel 2007 file in excel 2002 despite havin.. - Hi I have installed office compatibility pack for office 2007. However, every time I try to open an xlsx file, I get unrecognized format error in Excel 2002. I can open docx without an issue. It appears to be that the problem is related specifically....

Data Valadation Question - I'm looking into using data validation for my spreadsheet. Will data validation allow you to do the following. Let's say cell A1 must match cell D1. So if in cell A1 you put X, but in cell D1 you put Y, can you have an error message coming up saying..
   Windows Help (Home) -> Microsoft Excel All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]