+ Reply to Thread
Results 1 to 3 of 3

Help with identifying groups and sets

  1. #1
    Registered User
    Join Date
    03-19-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    11

    Help with identifying groups and sets

    Hello,

    I'm have a data set with a number of company names in column A (duplicates includes) and a number of trades in column B (duplicates included).

    I want to eliminate from my list any companies that only employ 1 trade, but I figured first I would need to identify them. Can I get some help on how to identify which companies employ only 1 trade and keep all those that hire multiple?

    The data looks something like the below

    Column A
    Company A
    Company A
    Company A
    Company B
    Company B
    Company B
    Company B
    Company C
    Company C
    Company C
    Company C
    Company D

    Column B
    Ironworker
    Ironworker
    Carpenter
    Millwright
    Millwright
    Millwright
    Millwright
    Millwright
    Painter
    Ironworker
    Painter
    Ironworker

    Thanks so much

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,196

    Re: Help with identifying groups and sets

    Try

    Data starting row 2

    =IF(COUNTIF($A:$A,A2)=COUNTIFS($A:$A,A2,$B:$B,B2),"Remove","OK")
    Last edited by JohnTopley; 01-28-2016 at 04:17 PM.

  3. #3
    Registered User
    Join Date
    03-19-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Help with identifying groups and sets

    Brilliant, thank you

+ 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: 26
    Last Post: 01-15-2016, 03:38 AM
  2. Identifying sets of continuous values with a unique ID
    By bradynock in forum Excel General
    Replies: 1
    Last Post: 03-12-2015, 05:42 PM
  3. [SOLVED] Identifying the MODE using two sets of data
    By R.Baltimore in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-17-2014, 01:57 PM
  4. [SOLVED] Excel 2010 Identifying data changed in cells and Identifying the changed rows
    By SandyLake in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-13-2013, 01:12 AM
  5. How to display averages, min and max from varying data sets and sub groups
    By shoey_123 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-14-2013, 09:55 PM
  6. Replies: 1
    Last Post: 07-22-2010, 08:39 AM
  7. Identifying and separating groups of data.
    By Matt in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-24-2005, 12:05 AM

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