Retrieve latest Value for specific criteria
Hi all,
I have created a estimation sheet and would like to retrieve the last quoted value based on the part number and the vendor. I have populated a separate sheet called "Vendor Pricing" where I have some historical data and I am planning to copy the new entries there to build the database.
I used the following formula:
=INDEX({UnitPrice}, MATCH([Part Number]@row + [Vendor Name]@row, {ID}, 0))
I suspect I need a way to automatically sort the sheet?
Answers
-
Hi @Zanne_Mari
I believe this formula should do the trick.
=INDEX(COLLECT({UnitPrice}; {Vendor}; [Vendor Name]@row; {Part}; [Part Number]@row; {Date}; MAX(COLLECT({Date}; {Vendor}; [Vendor Name]@row; {Part}; [Part Number]@row))); 1)
===================================================
"Nothing is impossible. The word itself says 'I'm possible!'"
================================================
"Nothing is impossible. The word itself says 'I'm possible!'"
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!