Jeffrey Green
Well-known Member
- Joined
- Oct 24, 2007
- Messages
- 1,021
=INDEX(Price,MATCH(1,((Part=J2)*(BeginDate>=Import)*(EndDate<=Import)),0))
I always used Named Ranges
PRICE is the price of the PARTI am trying to find. The PART Column is not unique. it has price changes that i need to manage
PART is the part number i am looking up the PRICE for
J2 is the cell with the Part Number being imported
BEGINDATE is when the PRICE changed
IMPORT is the DATE the part was imported into the US, and i need the price for that part on this date
ENDDATE is the last day of the previous price, and a new price is in the table
thanks . . . I get #N/A for all rows.
I always used Named Ranges
PRICE is the price of the PARTI am trying to find. The PART Column is not unique. it has price changes that i need to manage
PART is the part number i am looking up the PRICE for
J2 is the cell with the Part Number being imported
BEGINDATE is when the PRICE changed
IMPORT is the DATE the part was imported into the US, and i need the price for that part on this date
ENDDATE is the last day of the previous price, and a new price is in the table
thanks . . . I get #N/A for all rows.