+ Reply to Thread
Results 1 to 7 of 7

Help with categorizing my data

  1. #1
    Registered User
    Join Date
    11-22-2013
    Location
    USA
    MS-Off Ver
    Excel 2011
    Posts
    4

    Help with categorizing my data

    So I have a list of 36 character traits. For each trait there are 7 measurements (representing seven different individuals). I have created categories for each character trait and am trying to figure out how to easily create a table that puts each individual character trait measurement into an appropriate category without switching up the order.
    any ideas other than going through by hand?

    My data looks something like this:
    A B C D E F G H
    species: fak spil mic maa cal col afr
    Head Length: 52.3 66.543 57.894 78.9 55.678 54.32 71.4
    Snout Length: 3.3 4.5 3.67 3.89 4.32 4.33 5
    Fin rays: 16 15 16 16 15 17 13


    for each character trait I have a different set of categories based on the quintiles from each character trait's value set. I am trying to create a table that has the character traits along the side, the species along the top and instead of individual values, the categories (or quintile) that each value fits into.

    thanks!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Help with categorizing my data

    Hi and welcome to the forum

    I suggest you provide a few sample answers with your data...and upload a sample workbook. Often, copy/paste to here makes the data hard to read
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    11-22-2013
    Location
    USA
    MS-Off Ver
    Excel 2011
    Posts
    4

    Re: Help with categorizing my data

    Thanks for the tip, here is my sample workbook. The first sheet shows my data, the second sheet shows the quintiles that I am
    using to define five categories (1, 2, 3, 4, 5) within each set of values and the third sheet shows how I want the results to be displayed.
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Help with categorizing my data

    Thanks for the file, it helps a lot to be able to see what you are working with. I dont see any sample answers though? Can you help me understand what your expected outcome would look like?

    Also, I suggest that you keep the headins the same from sheet to sheet...you may know that species F means fakfakensis, but excel doesnt (and I just took a guess that they mean the same)

  5. #5
    Registered User
    Join Date
    11-22-2013
    Location
    USA
    MS-Off Ver
    Excel 2011
    Posts
    4

    Re: Help with categorizing my data

    Sure, here is an example using 10 categories
    again the first sheet is the raw data
    the second sheet shows how the values are categorized
    and the final sheet shows the final product
    Attached Files Attached Files

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Help with categorizing my data

    Sorry, I must be missingthe connection here I dont see how you go from...
    A
    B
    1
    Species species F
    2
    Standard Length
    52.26
    3
    Body Depth
    24.13
    4
    Body Width
    9.7
    5
    Head Length
    15.78
    6
    Snout Length
    3.91

    and
    A
    B
    1
    Category n>/= is 1
    2
    Standard Length
    52.26
    3
    Body Depth
    24.13
    4
    Body Width
    9.7
    5
    Head Length
    15.78
    6
    Snout Length
    3.175714286

    to
    A
    B
    1
    Species species F
    2
    Standard Length
    1
    3
    Body Depth
    1
    4
    Body Width
    1
    5
    Head Length
    1
    6
    Snout Length
    7


    Using species F and "snout length" as an example...
    sheet1 = 3.91
    sheet2 = 3.175714286
    sheet3 = 7....how do you get 7?

  7. #7
    Registered User
    Join Date
    11-22-2013
    Location
    USA
    MS-Off Ver
    Excel 2011
    Posts
    4

    Re: Help with categorizing my data

    Well if you had copy and pasted the columns that define the 7th category (columns H and I) you would see that the value 3.91 falls within the
    range that defines category 7. You can see this clearly in the picture I just uploaded. Anyway I finally got my Excel Savvy
    friend to take a look and figured out that I can use various IF equations to build one large equation relating each set of rules back to a single box and then edit which column letters/row numbers change or don't change. So I have figured it all out. But thank you all for your help!

    Screen Shot 2013-11-23 at 6.23.05 PM.png

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Categorizing Variable using List
    By freqzz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-20-2013, 01:51 AM
  2. [SOLVED] Categorizing data based on color, then split into columns?
    By heidilaw4 in forum Excel General
    Replies: 5
    Last Post: 05-15-2013, 10:52 PM
  3. Replies: 2
    Last Post: 02-17-2012, 03:11 AM
  4. Categorizing and sorting data
    By DA CPA in forum Excel General
    Replies: 7
    Last Post: 07-03-2009, 03:59 PM
  5. Categorizing labels??
    By gvb in forum Excel General
    Replies: 4
    Last Post: 11-05-2008, 05:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1