Array to do Hlookup

helpexcel

Well-known Member
Joined
Oct 21, 2009
Messages
656
How would I code an array to do a kind of hlookup? I have data on sheet1 in columns A:I. I have data on sheet2 in column A. I want to look at the value on sheet2 row A and see if it is listed in the data on sheet1 columns A:I. If it is, i want the value from row 3 of the column it's in on sheet1 to appear in column B of Sheet2.

Is this doable?
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Something like this?

Excel Workbook
AB
1test33
2test10NoMatch
3test22
4test88
Sheet2
Excel Workbook
ABCDEFGHI
1test1test2test3test4test5test6test7test8test9
2
3123456789
Sheet1
 
Upvote 0
Thanks! the sheet2 columns would be flipped. So you would be looking for the numbers and returning the test#.
 
Upvote 0

Forum statistics

Threads
1,223,895
Messages
6,175,257
Members
452,625
Latest member
saadat28

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top