Search : in
By :

USING IF/VLOOKUP STATEMENT TO VERIFY A VALUE

Last answer on Aug 20, 2009 2:49:48 am BST MIKE78, on Aug 19, 2009 7:37:45 am BST 
 Report this message to moderators

Hello,

I have 2 columns in an Excel spreadsheet, Column A and Column B and I am trying to verify if the data that exists in Column B, also exists in Column A.

I know that if I put my IF statement in Column C then I can generate a yes or a no answer.

Is there a better way of ascertaining if the data thats in Column B exists in Column A,

if not can you please help me with the formula to get this to work.

Thank you,

Configuration: Windows XP Internet Explorer 6.0

Best answers for « USING IF/VLOOKUP STATEMENT TO VERIFY A VALUE » in :
Uploading of files ShowUploading of files Form for sending files PHP Configuration to enable upload File recovery with PHP > The PHP language allows managing files uploading through HTML form. Form for sending files The first step is to create an html...
How to store and verify a password? ShowHow to store and verify a password? The right way to store Why hash? Why using salt? Why add the login? Verification If you develop an application that manages passwords, it is important to do so on pain of risking piracy of...
VB6 Finding the RGB values of a color ShowVB6 Finding the RGB values of a color Dim R as integer Dim G as integer Dim B as integer Sub FindRGB(Col As Long) R = &HFF& And Col G = (&HFF00& And Col ) \ 256 B = (&HFF0000 And Col ) \ 65536 End Sub Note: Here...
Spreadsheets - Conditional expressions ShowWhat is a Conditional Structure? Conditional structures are instructions that allow to test if a condition is true or not. Conditional structures may be associated together. To successfully execute these tests using logical functions, spreadsheets...
Spreadsheets - Mathematical Functions ShowStandard Functions Function Description ABS() This function returns the absolute value of a number. It therefore returns the number, if it is positive, or the opposite (positive) if it is negative ODD(value) Rounds a number up to the...

1

kaiyasit, on Aug 19, 2009 11:12:47 am BST

Use "CONDITIONAL FORMATING"
by select B column and use "conditional formating"
select "formula is"
=NOT(ISERROR(VLOOKUP(B1,A:A,1,0)))

and select format that you need to see when value in column B matched value in column A.

Please try...it's may be help you


Best regards,
Kaiysit Phanmakorn
kaiyasitp@gmail.com

Reply to kaiyasit

2

 venkat1926, on Aug 20, 2009 2:49:48 am BST

Suppose your data from row one dwon in column A and B are as follows

1 6
2 7
3 8
4 9
5 3


in C1 type this formula

=IF(ISNA(VLOOKUP(A1,$B$1:$B$100,2,0)),"no","yes")
copy c1 down you will get

1 6 no
2 7 no
3 8 yes
4 9 no
5 3 no

Reply to venkat1926