• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Compare column value with Table in Excel

coolkiran

Member
Hi All

I was working on complex calculation project, where i was confused on logic to be used.

I have matrix which is in Table Like below (Table 1)

RolesCol ACol B
Requester
AdminFinanceRequester
FinanceRequester


Basically i am comparing a list users with this table (Table 2)

I will have user list as below:

Col ACol B
User 1Finance
User 2Admin
User 1Requester

Now, I want to compare table 2 with Table 1.
Here is logic:
1. First i will go to User 1 in Table 2, his role is Finance, Now i need to go Table 1, where For Roles Finance, i should not have Requester, Now from Table 2, I need to check if i have any User 1, in my table 2 i have one more User 1 which has Requester. So I need to highlight row with color or some text.
2. Once above done, i need to go User 2 which is in row 2, role is Admin, For Admin, i should not have Finance and Requester. I don't have any other User 2, so ok, no action required.
3. Now last row which is user 1, which has Requester, i need to check in Table 1 for Requester, i don't have any data for Requester, so no action required as well.

I am attaching sample report as well.

Need some assistance here
 

Attachments

Back
Top