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:

Some videos you may like

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Ben M

New Member
Joined
Aug 13, 2014
Messages
21
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
 

nstycrv

New Member
Joined
Jun 15, 2015
Messages
3
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.

C:\Users\Tyler_2\Desktop\CARBIDE ENDMILL.gif

C:\Users\Tyler_2\Desktop\Master List.gif

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!
 

Ben M

New Member
Joined
Aug 13, 2014
Messages
21
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,114,521
Messages
5,548,544
Members
410,847
Latest member
shaun32
Top