Can lookup (or other) function do this?

xyz123

Board Regular
Joined
Jun 28, 2006
Messages
77
Hi

I have two seperate excel files and am trying to automatically pupulate a column in one of the files based on some criteria. will do my best to explain as simply and clearly as possible:

File 1:
Column A Column B Column C
Item Code No ordered Price

File 2:

This file has a table based on two things:

No ordered (e.g. 1/ 50/100)

Item Code (same as item code in File 1) Price of item based on quantity ordered


Is it possible to update column C in file 1 with a price based on the table in file 2. i.e. if a customer orders 100 qty of item 100, price is X. If customer orders 250 quantities price is Y?

I am not sure if the formating in above tables will keep when i post the question, so apologies if its not very clear.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Hi

I am not sure if the formating in above tables will keep when i post the question, so apologies if its not very clear.


Use Internet Explorer.
Just put borders around your tables and then copy and paste from Excel to the browser
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,844
Members
452,948
Latest member
UsmanAli786

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