Looking up tool

btardo01

Board Regular
Joined
Oct 6, 2009
Messages
169
Office Version
  1. 2016
Platform
  1. Windows
Good morning:

I have a set of data that looks like this:

Sheet 1:

Code:
   A     B      C
300101 410000
300101 420000
300101 430000
300101 462500
300101 500015
300101 500015
300101 500015
300101 500015
300101 500025
300101 500040
300101 500040

Sheet 2:

Code:
 A                     B     C       D
NCF                 410000 410010 410099
Commission Expense  408000 408010

I'd like Column C of Sheet 1 to have a formula for each line that looks at column B of sheet 1 then goes to sheet 2 and finds that value in range B1:D2 and returns the value from column A of sheet 2.

Can you help me with this, please?

thanks
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
I don't think I can use combination of Index and Match because I am using multiple columns, right?

Was thinking about DGET, but thats not working either.

Any suggestions?

thanks
 
Upvote 0
Another problem I am having is that I need it to return exact matches only.
 
Upvote 0
Good morning

just stoping by to see if anyone had any suggestions for me.

thank you
 
Upvote 0
Good morning

just stoping by to see if anyone had any suggestions for me.

thank you
Maybe this array formula** entered on Sheet1 in cell C2 and copied down as needed:

=IF(COUNTIF(Sheet2!B$1:D$2,B2),INDEX(Sheet2!A$1:A$2,MAX(IF(Sheet2!B$1:D$2=B2,ROW(Sheet2!B$1:D$2)-ROW(Sheet2!B$1)+1))),"")

** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.
 
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,258
Members
452,901
Latest member
LisaGo

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