+ Reply to Thread
Results 1 to 6 of 6

Data Categorization

  1. #1
    Registered User
    Join Date
    10-25-2006
    Posts
    48

    Data Categorization

    Hello !

    I'm trying to categorize a column showing "seconds" based on range that they fall.
    For Example :

    Please Login or Register  to view this content.

    Basically it would have 5 categories.
    From 0 to 5
    From 5 to 10
    From 10 to 50
    From 50 to 100
    Above 100


    How can i setup column B to automatically populate the category ?

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Data Categorization

    Quote Originally Posted by cyberuser View Post
    From 0 to 5
    From 5 to 10
    From 10 to 50
    From 50 to 100
    Above 100
    You need to better define the categories.

    If the duration was 5 which category would that fall into?

    Would it be from 0 to 5 or from 5 to 10?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    10-25-2006
    Posts
    48

    Re: Data Categorization

    Understand, thanks for the heads up... in this case..
    From 0 to 4.99
    From 5 to 9.99
    From 10 to 49.99
    From 50 to 99.99
    Above 100

    thanks for your help !

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Data Categorization

    Create the table in D1:E6.

    Data Range
    A
    B
    C
    D
    E
    1
    DURATION
    CATEGORY
    ------
    DURATION
    CATEGORY
    2
    0.4
    From 0 to 4.99
    0
    From 0 to 4.99
    3
    0.9
    From 0 to 4.99
    5
    From 5 to 9.99
    4
    3.89
    From 0 to 4.99
    10
    From 10 to 49.99
    5
    0.3
    From 0 to 4.99
    50
    From 50 to 99.99
    6
    200.20
    Above 100
    100
    Above 100
    7
    42.10
    From 10 to 49.99


    Then, this formula entered in B2 and copied down:

    =LOOKUP(A2,D$2:E$6)

  5. #5
    Registered User
    Join Date
    10-25-2006
    Posts
    48

    Re: Data Categorization

    i think i found a similar way.... but with using the aux table into the formula

    would be somthing like this, just adjusting the text now...
    =LOOKUP(l2,{0;3;10;30;60},{"From 0 to 3 Sec";"From 3 to 10 Sec";"From 10 to 30 Sec";"From 30 to 60 Sec";"Above 60 Sec"})

    thanks a lot for your attention and help !!!

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Data Categorization

    Yeah, that'll work.

    Thanks for the feedback!

    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select Mark this thread as solved.

+ 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. Categorization and Vlookup
    By Einsjam in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-24-2013, 03:41 AM
  2. Auto Categorization
    By PurpleBerry in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-12-2013, 07:04 PM
  3. [SOLVED] Automatic Categorization of data? Excel 2007
    By jasonbwt in forum Excel General
    Replies: 4
    Last Post: 07-10-2012, 02:47 AM
  4. Categorization
    By jdizzle921 in forum Excel General
    Replies: 1
    Last Post: 02-25-2012, 09:52 PM
  5. Auto Categorization
    By jitendrarameja in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-24-2011, 02:00 AM
  6. Trying to add data from one column based upon categorization in another column
    By rainymagoo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-31-2008, 06:33 AM
  7. [SOLVED] Categorization of expenses.
    By John Henry in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 07-24-2005, 07:05 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