MAXIFs Alternative?
I have a google form that updates the prices of materials. On google sheets to display the most updated price of the material I have a Newest Entry Column =MAXIFS(Timestamp:range, Material cell) then in the material price columns I have an Index/Match formula to display the most recent entry for that material.
I would like to do the same thing for my mirror sheet on smartsheet, but there is no MAXIFs formula. How can I achieve the same result? Max date of all the entries that match the entry on the line I am working on.
Comments
-
=max(collect(return range,criteria range,criteria))
-
Try using VLOOKUP() and MAX(), I made a mocked up formula that should work, just replace my columns with the names you're using and x with the column number inside the range that the "Materials Column" lies.
=VLOOKUP(MAX([Newest Entry Column]:[Newest Entry Column]),[Newest Entry Column]:[Materials Column], x, false)
Hope this helps! -
Hi Ryan,
You could use =Max(Collect( function
Would that work?
Have a fantastic week!
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
I second Luke's and Andree's suggestions of MAX(COLLECT(......
It allows for much more flexibility than a VLOOKUP which I have personally replaced with INDEX/MATCH in everything I do now.
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
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!