If Then, Vlookup or something else?

nstycrv

New Member
Joined
Jun 15, 2015
Messages
3
Anyone know what to do here? I don't know if it should be an If Then formula or Vlookup or something else?

I have 2 worksheets in Excel

Partial List:
A B C
DESCRIPTION SIZE (mm) Qty MODEL/PART NO
2F 3120 CARBIDE ENDMILL REGULAR LENGTH 4 8519040

Master List:
A B C D E F G
EDP# Description List Price Code Product % Disc Final Price
2010010 1/8 x 3/8 2FL EXO-AL BN REG $17.88 BLZ Milling 30.00% $12.5160
8519040 3120 Carb 2FL EXO-AL BN REG $24.97 BLZ Milling 30.00% $17.4790
6710032 1/4 x 3/4 2FL EXO-AL BN REG $33.48 BLZ Milling 30.00% $23.4360

So I want to check through the master list for a matching MODEL/PART NO from the partial list.
If it is in the master list, then get the Final Price number from the master list and paste it into the partial list in a new field.

A B C D
DESCRIPTION SIZE (mm) Qty MODEL/PART NO Final Price
2F 3120 CARBIDE ENDMILL REGULAR LENGTH 4 8519040 $17.4790


Thx
 
Last edited:

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Anyone know what to do here? I don't know if it should be an If Then formula or Vlookup or something else?

I have 2 worksheets in Excel

Partial List:
A B C
DESCRIPTION SIZE (mm) Qty MODEL/PART NO
2F 3120 CARBIDE ENDMILL REGULAR LENGTH 4 8519040

Master List:
A B C D E F G
EDP# Description List Price Code Product % Disc Final Price
2010010 1/8 x 3/8 2FL EXO-AL BN REG $17.88 BLZ Milling 30.00% $12.5160
8519040 3120 Carb 2FL EXO-AL BN REG $24.97 BLZ Milling 30.00% $17.4790
6710032 1/4 x 3/4 2FL EXO-AL BN REG $33.48 BLZ Milling 30.00% $23.4360

So I want to check through the master list for a matching MODEL/PART NO from the partial list.
If it is in the master list, then get the Final Price number from the master list and paste it into the partial list in a new field.

A B C D
DESCRIPTION SIZE (mm) Qty MODEL/PART NO Final Price
2F 3120 CARBIDE ENDMILL REGULAR LENGTH 4 8519040 $17.4790


Thx


This seems to work although it might not be the most efficient method. In the parital list worksheet, try this in cell D2:

=IFERROR(IF(INDEX('Master List'!A:A,MATCH('Partial List'!C3,'Master List'!A:A,0))='Partial List'!C3,INDEX('Master List'!H:H,MATCH('Partial List'!C3,'Master List'!A:A,0)),""),"NOT FOUND")

Refer to the below example:

http://www.filedropper.com/finallistpriceexample
 
Upvote 0
Thx for the response. I tried to make it work with the info form Ben M but kept getting errors. It was my fault but I couldn't figure out how to fix it.

Index match might work too but I don't understand the logic yet.

Here's a gif from both worksheets.





Trying to match the Model/Part # in CARBIDE ENDMILL gif to the EDP# in Master List gif.
Then if a match occurs, take the 15% markup price and put it in a new column in the CARBIDE ENDMILL spreadsheet.

Thx for the help!
 
Upvote 0
Have you renamed the sheets to "Partial List" and "Master List"?

Also, did you open up the example sheet? That's how is should look on yours. Let me know.

Looking again at the formula I posted it is longer than it needs to be. Assuming you renamed your worksheets you could just use:

=IFERROR(INDEX('Master List'!H:H,MATCH('Partial List'!C3,'Master List'!A:A,0)),"NOT FOUND")

"So I want to check through the master list for a matching MODEL/PART NO from the partial list.
If it is in the master list, then get the Final Price number from the master list and paste it into the partial list in a new field."


If it needs to be actually pasted into a new cell you will need some VBA code to do that.
 
Upvote 0

Forum statistics

Threads
1,214,534
Messages
6,120,086
Members
448,944
Latest member
sharmarick

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