Find lowest value depending on conditions

Tybudd

Board Regular
Joined
Oct 13, 2009
Messages
60
Hey guys, I have a formula question.
This is the column setup for

Sheet Name=Prices
PRODUCT IDDESCRIPTIONEFFECTIVE FROM DATEPurchasing UoMPARTNER / VENDORPURCHASE PRICE



Product ID = List of Items by name
Description = Irrelevant
Effective Date = At what point the data comes into place.
Purchasing UoM = Irrelevant to the point
Partner/ Vender = Vendor that Supplies listed Product Product ID, and for what Price
Purchase Price = Price by way of Vendor, for said Product ID.


On another sheet I have:
Sheet Name=PRODUCTS
IDNAMEON INVENTORY SHEETSPARTNER / VENDOR


ID=same as Product type
Name = Description
ON INVENTORY SHEETS = Irrelevant
PARTNER / VENDOR = DESTINATION OF NEEDED FORMULA


Goal is to check on the Prices Page, checking according to "ID", and checking who has the lowest price, of there most current Effective Date.
So it would check all Partners that have the specific ID being looked for, then check the most current Effective date, then check who has the lowest price that meet those criteria, and return that value, or Vendor name.


Key Note for understanding, the Prices sheet is a running vertical log, recording each time an ID has a price change, by each vendor, and at what point (date), its effective.
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,224,586
Messages
6,179,728
Members
452,939
Latest member
WCrawford

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