HELP!
I am trying to match asset number hours that automatically come in via form and pull them into a separate data dump of current inventory.
I only want the highest value since the number of hours are reported daily.
Answers
-
Hard to advise without more information - at least a screenshot of what you have and a simulation of what you want.
-
I have a form that dumps the current hours into a sheet (second screenshot). I want to take the highest value and match it to the asset number on my current inventory (first screenshot).
-
=VLOOKUP([Asset Number]@row, {Hours_Column}, 5, false) is not working so Ive been stumped for awhile…
-
Gotchya…
Okay, what you want to do is a max(collect()) combination.
The collect formula will let you pull data that meets certain conditions (here, your asset number at a minimum, possibly also your created date if you want to do some graphs of accumulation/spend) and then your max formula will give you the maximum of the data that you pull.
So, something like this would probably work for you:
=max(collect({secondSheet_Hours},{secondSheet_AssetNumber},[asset number]@row))
You can see, the collect() function is saying "pull me all the hours that are in the same row as where the asset number is X" and then the max function is saying "give me the biggest of those". You could add more criteria to the collect if you wanted to as well.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!