+ Reply to Thread
Results 1 to 3 of 3

Identifying dominant categories via another field.

  1. #1
    Registered User
    Join Date
    02-25-2011
    Location
    Nottingham
    MS-Off Ver
    Excel 2007
    Posts
    11

    Identifying dominant categories via another field.

    Has anyone already come up with an answer to this process?
    I’m trying to populate a column with a name (category) based on the highest number within the bounds of a specific REGION_ID.

    In other words, identifying which ‘CODE’ is dominant for the ‘REGION_ID’ by the largest ‘AREA’ within that ‘REGION_ID’.

    I’ve made complete example (see figure attached) after manually populating the ‘DOMINANT_CODE’ column.

    MAX_RESULT.JPG

    I have tried to use the Pivot table and now believe that’s probably not the way to go. Maybe it needs to be done in more than one stage… any help would be much appreciated.


    AREA_ID REGION_ID CODE AREA DOMINANT_CODE
    1 1 A 300107 A
    2 1 B 99570 A
    3 2 A 11506 A
    4 2 B 10213 A
    5 3 A 24590 B
    6 3 B 338605 B
    7 4 A 22122 B
    8 4 B 5733488 B
    9 5 A 164875 A
    10 5 B 6060 A
    11 6 A 390865 B
    12 6 B 2536929 B
    13 7 A 873733 B
    14 7 B 1940027 B
    15 8 A 672648 B
    16 8 B 1128200 B
    Last edited by Cheekychives; 04-10-2014 at 01:40 PM.

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Identifying dominant categories via another field.

    Please post a sample workbook. JPG's only make us manually enter what we *think* is in the cells.
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    02-25-2011
    Location
    Nottingham
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Identifying dominant categories via another field.

    o.k. I've added a table above. Hope it is of use. (couldn't find a way of attaching an xlsx file)

+ 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. Replies: 1
    Last Post: 05-15-2013, 06:55 AM
  2. Replies: 0
    Last Post: 07-22-2011, 03:51 PM
  3. Replies: 0
    Last Post: 06-23-2011, 11:58 AM
  4. Link cells but with no "dominant" cell
    By his5r2m in forum Excel General
    Replies: 1
    Last Post: 05-12-2009, 09:44 AM
  5. Identifying Database field names thru Excel
    By BWM in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-06-2007, 02:11 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