English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

If column A column B
LNX234 185456
ALP154 201458
HRG159 213610

If the Item# equals the SKU (column A = column B), is there any way I can just type the SKU# and the Item# automatically pop up without using the "find" function and doing it one by one?

2007-03-15 09:27:10 · 2 answers · asked by dreamsdontsleep 1 in Computers & Internet Programming & Design

2 answers

One way would be to add a third column in which either a 0 or 1 is placed depending on a match

Column C formula = IF(A1=B1,1,0) copy this formula down the entire list

Now you will have a column of 1's and 0's where a 1 indicated a match between column A & column B

Do a decending sort on Column C and all of the matching data will be brough to the top of the sheet.

2007-03-15 09:43:24 · answer #1 · answered by MarkG 7 · 0 0

Use the VLookup inside the if condition. Say you have data in Col A and B from Row 1 to 100, use this formula in Cell C1 - C100:

Use this if you want to look up Col A and get corresponding value from Col B
If (Ax = Bx, VLookup (Ax, A1:B100, 2, false), "")

Use this if you want to look up Col B and get corresponding value from Col A
If (Ax = Bx, VLookup (Bx, A1:B100, 1, false), "")

~HTH

2007-03-15 17:23:58 · answer #2 · answered by SmartSpider 4 · 0 0

fedest.com, questions and answers