# If Then, Vlookup or something else?

#### nstycrv

##### New Member
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

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

#### Ben M

##### New Member
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:

Refer to the below example:

http://www.filedropper.com/finallistpriceexample

#### nstycrv

##### New Member
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!

#### nstycrv

##### New Member
Sorry can't figure out how to post the gifs

#### Ben M

##### New Member
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:

"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.

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,164,116
Messages
5,835,476
Members
430,358
Latest member
zzc1128

### 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.

### Which adblocker are you using?

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

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