Solved

Values match ID

Posted on 2014-10-17
4
67 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 39

Expert Comment

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

Author Comment

by:ablove3
ID: 40388079
Yes
0
 
LVL 39

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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 …
PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now