I would like to be able to use the VLOOKUP function to search for a value that may be in either of 2 columns
Column A Column B C D E F G
0EA53014-02 12/10/10 12/03/10 12/28/10 1 1
0EA40314-02 11/30/10 12/03/10 11/30/10 1 1
0EA30014-02 11/29/10 12/03/10 12/16/10 1 1
0EA80040-01A 11/23/10 11/19/10 12/16/10 2 2
0EA80040-01B 11/16/10 11/19/10 12/03/10 2 2
024 26513 432 0E250071-01,02 00/00/00 10/15/10 00/00/00 2 0
024 26513 432 0E630088-05 10/29/10 10/15/10 11/22/10 2 2
024 26513 433 10407696-01 10/18/10 10/15/10 11/04/10 2 2
024 26513 433 11405065-01 11/18/10 11/15/10 12/07/10 2 2
024 26513 433 11407771-01 11/09/10 11/05/10 11/19/10 2 2
H1 = 0EA40314-02
H2 = 0E630088-05
VLOOKUP(H1, $A$1:$G$10, 4, False). This searches only the first column of the array for the value in question. I would like to be able to search for the value in both columns A and B without changing the array defined. Any ideas?
Bookmarks