pull most recent entry from a column
I have a database sheet which is filled out using a form. It records many different items being checked in and out using a Barcode column and a Location column. The sheet auto fills the date that the entry is created, newest at the bottom. Is there a way to reference the most recent location of any specific item onto a second sheet? I would like to do this without having to reformat my database sheet to put new entries at the top.
Thank you
Comments
-
Try something along the lines of
=INDEX({Master Sheet Location Column}, MATCH(MAX(COLLECT({Master Sheet Date Column}, {Master Sheet Item Name Column}, [Item Name Column]@row)), {Master Sheet Date Column}, 0))
{Master Sheet Location Column}: Cross sheet reference - The column on the Master sheet that houses the location of the item.
{Master Sheet Date Column}: Cross sheet reference - The column on the Master sheet that houses the Auto-Date for each row.
{Master Sheet Item Name Column}: Cross sheet reference - The column on the Master sheet that houses the item name.
[Item Name Column]@row: Leave the @row portion - References the column on your summary sheet (where the formula goes) housing the item name (must be an exact match to what is on the master).
-
I tried substituting that formula into my sheet, with the addition of a Value expression around the Item Name Column, since those barcodes are actually pulled from a different sheet as well. It gave me an #Incorrect Argument Set error.
Here's what the formula I entered looks like:
=INDEX({Install / Removal Range 1}, MATCH(MAX(COLLECT({Install / Removal Range 2}, {Install / Removal Range 3}, VALUE(Barcode@row))), {Install / Removal Range 2}, 0))
-
What kind of data exactly is being housed in this range... {Install / Removal Range 3}...?
and this one... (Barcode@row)...?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 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!