Click here to Skip to main content
15,917,588 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi - I have a requirement to compare two column values from 2 different excels .

Say for instance - In excel 1, i have ID and status likewise we have another excel 2 where we have system ID and status columns.

Here i need to compare the value of status column value in excel 1 and 2 based on column value ID.

What I have tried:

i tried with Vlookup formula but it didnt work out
Posted
Updated 5-Apr-18 5:20am
Comments
ZurdoDev 30-Mar-18 13:59pm    
A formula is pretty easy. Where are you stuck?
GJSS 30-Mar-18 14:08pm    
Here the ID value in excel 1 and system ID value in another excel are not in same order and it gets stored randomly.
Patrice T 30-Mar-18 17:42pm    
Without a sample of your data and formila, it is impossible to help you.
GJSS 5-Apr-18 11:20am    
I accomplished it by using simple Vlookup command by copying the column values of 2 different excels in same excel with different sheets.

=VLOOKUP(A2,Sheet2!A:B,1,FALSE)

=VLOOKUP(A2,Sheet2!A:B,2,FALSE)

=EXACT(A2,C2)

=EXACT(B2,D2)
Patrice T 5-Apr-18 11:30am    
does it solve the problem ?

1 solution

=VLOOKUP(A2,Sheet2!A:B,1,FALSE)

=VLOOKUP(A2,Sheet2!A:B,2,FALSE)

=EXACT(A2,C2)

=EXACT(B2,D
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900