Solved

Values match ID

Posted on 2014-10-17
4
74 Views
Last Modified: 2014-10-18
Hello, I need a formula or macro to help me determine if the values ZPRF, ZCMP and ZGEM appear on a Person's ID

In my file I have employees with duplicate records, which can be identified by Person ID that's missing a grouping reason or a single record that may be missing a Grouping Reason

I need a formula that will look at the person ID and return in Column C "YES", if all 3 grouping reasons exist "NO" if one of the codes is missing and in Column D, the code(s) that's missing

Example

PersonID                 Grouping Reason      All      Missing code
10181451        ZCMP                      YES      
10181451        ZGEM,ZPRF      YES
      
10181489                      ZCMP                      No      ZPRF
10181489                      ZGEM                      No      ZPRF

10181517                      ZCMP                      No      ZPRF, ZGEM
zflag-audit.xlsx
0
Comment
Question by:ablove3
  • 2
  • 2
4 Comments
 
LVL 40

Expert Comment

by:als315
ID: 40388001
Is it possible to use macros?
0
 

Author Comment

by:ablove3
ID: 40388079
Yes
0
 
LVL 40

Accepted Solution

by:
als315 earned 500 total points
ID: 40388616
Look at sample (allow macros and press ctrl+a on worksheet with data)
zflag-audit.xlsm
0
 

Author Closing Comment

by:ablove3
ID: 40388734
This is going to make my life so easy at work.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question