Need help with excel reporting

Hello,

In the attached file-worksheet DETAILS
These are the main columns
LOGON_ID,ASSOCIATE_CONTRACTORS, JOB_CODE, CSDB_ENTITLEMENT

If you filter by the Job code, you will see all Unique values of CSDB entitlements
alloted to that job code.
If filter by user, you will see all the entitlement assigned to that user. This will not
tell us if any of the missing or unassigned entitilement which we discussed earlier as Unique.

Looking for a formula or a macro which will give the user's missing and matching entitlements in the following format

LOGON_ID      ASSOCIATE_CONTRACTOR      JOB_CODE CSDB_ENTITELMENT MISSING ENTITLEMENT

e.g
If you fitler job code and select CZ0202. In this job code we have 2 users John Smith and Naomi Morris
we get 11 CSDB_ENTITLEMENTS
ALFA21
ALFA22
ALFA23
SIGMA13
SIGMA13
SIGMA14
SIGMA17
SIGMA18
BOSS22
BOSS23
BOSS24

I have put in the the report in the REPORT tab, to explain what I need.

Thank you for your help. I appreciate it
ENT_RECORDS.xlsx
Chitra LekhaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Roy CoxGroup Finance ManagerCommented:
How do you determine missing entitlements and existing ones?
0
Chitra LekhaAuthor Commented:
It tried using the vlookup, and compared it the values for each user. It became too tedious

First I filter by Job Code Then, I take all the CSBD Entitlements for that Job Code  and  paste it on a new worksheet and remove the duplicates. This will give me the total unique values of CSDB for that one particular job code

 I go back to the details tab, From that same Job Code, I now filter one ASSOCIATE_CONTRACTOR (USER NAME), this will give me the CSDB Entitlements for that user. I copy these and past it on the other woksheet , next to the unique values column I had pasted in my first step above.
Then I do vlookup. this gives me what the user have and what is missing
0
Ejgil HedegaardCommented:
Try this.
Press the button to run the macro.
ENT_RECORDS.xlsm
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Chitra LekhaAuthor Commented:
Ejgil Hedegaard, Thanks a bunch for making my life easier. I really appreciate it.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VBA

From novice to tech pro — start learning today.