+ Reply to Thread
Results 1 to 4 of 4

Identifying records based on conditions involving column values

  1. #1
    Registered User
    Join Date
    09-09-2011
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010
    Posts
    52

    Identifying records based on conditions involving column values

    Here is some sample data:

    ID-------Group-----Status
    01-------353--------Open
    01-------532--------Closed
    01-------532--------Hold
    02-------216--------Open
    02-------216--------Closed
    03-------480--------Open
    03-------480--------Closed
    03-------634--------Closed
    03-------689--------Verify

    I'm looking to identify the records in which the ID contains at least one Group with an "Open" status and at least one different group with a status other than "Open". So I would want to see:

    ID-------Group-----Status----Keep
    01-------353--------Open---------Y
    01-------532--------Closed--------Y
    01-------532--------Hold----------Y
    02-------216--------Open---------N
    02-------216--------Closed-------N
    03-------480--------Open---------Y
    03-------480--------Closed-------Y
    03-------634--------Closed-------Y
    03-------689--------Verify--------Y

    Please let me know if there are any questions on this. I would greatly appreciate help on this!
    Last edited by hk106; 01-10-2012 at 01:55 PM.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Identifying records based on conditions involving column values

    Hi HK,

    You can use the following formula to achieve the desired results:-

    Please Login or Register  to view this content.
    Sample workbook is also attached herewith.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    Attached Files Attached Files
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    09-09-2011
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010
    Posts
    52

    Re: Identifying records based on conditions involving column values

    Dilipandey,

    This is exactly what I was looking for. Thank you!

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Identifying records based on conditions involving column values

    you are welcome hk..

    cheers

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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