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
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!