+ Reply to Thread
Results 1 to 3 of 3

Looking for a VBA or method that will identify if groups of data contain a value

  1. #1
    Registered User
    Join Date
    03-12-2017
    Location
    UK
    MS-Off Ver
    2010
    Posts
    2

    Looking for a VBA or method that will identify if groups of data contain a value

    Good Morning all,

    I'm new to this site so please excuse any mistakes

    I am looking for a vba or a fast method to solve this problem

    Group Shape
    1 Circle
    1 Circle
    1 Square
    1 Triangle
    1 Triangle
    2 Circle
    2 Circle
    2 Triangle
    2 Triangle
    2 Triangle
    2 Triangle
    3 Triangle
    3 Square
    3 Circle
    3 Square
    3 Circle
    4 Circle
    4 Square
    4 Square
    4 Square
    4 Square

    From this you can see that group 2 does not contain a square and group 4 does not contain a triangle, imagine now that there were a 100's of groups, is there a way to identify which groups do not contain all 3 shapes and to tell me which groups are missing which shapes? I understand that I could perhaps use vlookup but I was just wondering if there is a better way.

    Any help would be amazing..
    Thanks

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Looking for a VBA or method that will identify if groups of data contain a value

    Hello OxfordShire and welcome to the forum,

    I'd use a Pivot Table of your data and look for blanks. See the attached.
    PT to show missing.xlsx
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    03-12-2017
    Location
    UK
    MS-Off Ver
    2010
    Posts
    2

    Re: Looking for a VBA or method that will identify if groups of data contain a value

    Hi Marvin,

    That's a brilliant response thank you, don't suppose you have a link or tutorial on how to do that?

    Thanks

+ 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] Method to show information about groups of data.
    By gilesm12 in forum Excel General
    Replies: 2
    Last Post: 03-27-2016, 08:24 AM
  2. [SOLVED] Identify duplicate groups of cell in column
    By ids in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-24-2014, 09:33 AM
  3. trying to identify payment method by multiple if statements
    By groslund in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-08-2014, 01:48 AM
  4. Replies: 1
    Last Post: 09-02-2013, 06:27 AM
  5. [SOLVED] How to identify those names shared by two groups and do a sum-up?
    By zjianguk in forum Excel General
    Replies: 5
    Last Post: 03-14-2013, 12:53 PM
  6. Replies: 0
    Last Post: 01-17-2013, 04:08 AM
  7. identify earliest & latest date groups in table
    By Brontosaurus in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 07-19-2011, 04:26 PM

Tags for this Thread

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