![]() |
Latest Purchase Price
In the source sheet COL AB = recent cost COL W = latest purchase date (format mm/dd/yyyy) COL A = Part number I need to identify the latest cost of each part number based on the criteria above. The price can change in the month so I need the most recent price as determined in Column W thanks -- ce |
Latest Purchase Price
If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet 2. You give me the newsgroup and the subject line 3. You send a clear explanation of what you want 4. You send before/after examples and expected results. -- Don Guillett Microsoft MVP Excel SalesAid Software "Curtis" .(do not spam) wrote in message ... In the source sheet COL AB = recent cost COL W = latest purchase date (format mm/dd/yyyy) COL A = Part number I need to identify the latest cost of each part number based on the criteria above. The price can change in the month so I need the most recent price as determined in Column W thanks -- ce |
Latest Purchase Price
Curtis wrote:
In the source sheet COL AB = recent cost COL W = latest purchase date (format mm/dd/yyyy) COL A = Part number I need to identify the latest cost of each part number based on the criteria above. The price can change in the month so I need the most recent price as determined in Column W thanks The following array formula (commit with CTRL+SHIFT+ENTER) assumes that you have the part number you wish to look up in AC2: =INDEX(AB:AB,MAX(IF((A2:A100=AC2)* (W2:W100=MAX(IF(A2:A100=AC2,W2:W100,""))), ROW(A2:A100),""))) |
All times are GMT +1. The time now is 03:14 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com