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
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 219 Industry Talk
- 457 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!