Most Recent Entry Formula Help

Hello to all Buddha master smartsheeters who have taken the time to help me.

I need to create a formula that reflects the status of an item at a particular location based on the most recent entry for that location on the master sheet, located on a separate tracking sheet. I've attached images to help.

The larger image (with the yellow) shows my master sheet that contains the various different Station #'s and the Open Date columns. The smaller image in where I need to create 2 formulas, the first in the Unit Status Column that reports the Unit Status from my master sheet based on the most recent entry for that station. The second is a formula that reports back the corresponding open date to the most recent entry for a particular station.


Any help would be so appreciated! Thank you in advance to those who may provide assistance.


Formula AH.png
Formula AH 2.png


Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out theFormula Handbook template!
Your syntax is off, and you shouldn't need a MATCH function if you are using a COLLECT function.<\/p>

=IFERROR(INDEX(COLLECT({Count of Holds}, {Count of Holds}, @cell> 0, {Site}, @cell = Site@row), 1), \"//www.santa-greenland.com/community/discussion/comment/\")<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[{"tagID":254,"urlcode":"Formulas","name":"Formulas"},{"tagID":292,"urlcode":"Dashboards","name":"Dashboards"}]},{"discussionID":107800,"type":"question","name":"Is it possible to separate an address into Street, City, and State?","excerpt":"I have a column of addresses that I want to separate into 3 columns for street, city, and state. For example: 1 Tesla Road, Austin, Texas, 78725 Street: 1 Tesla Road City: Austin State: Texas Is there a formula I could use to separate the address into 3 columns by the commas?","snippet":"I have a column of addresses that I want to separate into 3 columns for street, city, and state. For example: 1 Tesla Road, Austin, Texas, 78725 Street: 1 Tesla Road City: Austin…","categoryID":322,"dateInserted":"2023-07-19T15:00:18+00:00","dateUpdated":null,"dateLastComment":"2023-07-19T18:32:05+00:00","insertUserID":144076,"insertUser":{"userID":144076,"name":"Carlee Schiffner","url":"https:\/\/community.smartsheet.com\/profile\/Carlee%20Schiffner","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-07-19T18:32:15+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":144076,"lastUser":{"userID":144076,"name":"Carlee Schiffner","url":"https:\/\/community.smartsheet.com\/profile\/Carlee%20Schiffner","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-07-19T18:32:15+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":7,"countViews":47,"score":null,"hot":3379574543,"url":"https:\/\/community.smartsheet.com\/discussion\/107800\/is-it-possible-to-separate-an-address-into-street-city-and-state","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/107800\/is-it-possible-to-separate-an-address-into-street-city-and-state","format":"Rich","lastPost":{"discussionID":107800,"commentID":386041,"name":"Re: Is it possible to separate an address into Street, City, and State?","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/386041#Comment_386041","dateInserted":"2023-07-19T18:32:05+00:00","insertUserID":144076,"insertUser":{"userID":144076,"name":"Carlee Schiffner","url":"https:\/\/community.smartsheet.com\/profile\/Carlee%20Schiffner","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-07-19T18:32:15+00:00","banned":0,"punished":0,"private":false,"label":"✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Get Help","url":"https:\/\/community.smartsheet.com\/categories\/get-help"},{"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-07-19T18:32:13+00:00","dateAnswered":"2023-07-19T15:37:11+00:00","acceptedAnswers":[{"commentID":385966,"body":"

Here are some slight variations using SUBSTITUTE():<\/p>

Street:<\/p>

=LEFT([Address]@row, FIND(\",\", [Address]@row) - 1)<\/p>

City:<\/p>

=MID([Address]@row, FIND(\",\", [Address]@row) + 1, FIND(\"!\", SUBSTITUTE([Address]@row, \",\", \"!\", 2)) - FIND(\",\", [Address]@row) - 1)<\/p>

State:<\/p>

=MID([Address]@row, FIND(\"!\", SUBSTITUTE([Address]@row, \",\", \"!\", 2)) + 1, FIND(\"!\", SUBSTITUTE([Address]@row, \",\", \"!\", 3)) - FIND(\"!\", SUBSTITUTE([Address]@row, \",\", \"!\", 2)) - 1)<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[]},{"discussionID":107796,"type":"question","name":"Count if date is in the past","excerpt":"Hi All, I am looking for a solution to a problem, I am trying to pull together a chart for a dashboard, displaying the number of overdue documents under review we have - the sheet is set up as below, and I have set up a 'metric sheet' however I am not sure this is the best solution. I have been using this =COUNTIFS({Master…","snippet":"Hi All, I am looking for a solution to a problem, I am trying to pull together a chart for a dashboard, displaying the number of overdue documents under review we have - the sheet…","categoryID":322,"dateInserted":"2023-07-19T14:29:11+00:00","dateUpdated":null,"dateLastComment":"2023-07-19T19:01:19+00:00","insertUserID":161866,"insertUser":{"userID":161866,"name":"Kirsteen Leckie","title":"Project Manager","url":"https:\/\/community.smartsheet.com\/profile\/Kirsteen%20Leckie","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-07-19T19:02:08+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"updateUserID":null,"lastUserID":137019,"lastUser":{"userID":137019,"name":"Samuel Mueller","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Samuel%20Mueller","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/B9G8B70WXQWC\/nKTI46EH9WQOM.jpg","dateLastActive":"2023-07-19T19:00:01+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":6,"countViews":22,"score":null,"hot":3379573830,"url":"https:\/\/community.smartsheet.com\/discussion\/107796\/count-if-date-is-in-the-past","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/107796\/count-if-date-is-in-the-past","format":"Rich","tagIDs":[254,265,292],"lastPost":{"discussionID":107796,"commentID":386059,"name":"Re: Count if date is in the past","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/386059#Comment_386059","dateInserted":"2023-07-19T19:01:19+00:00","insertUserID":137019,"insertUser":{"userID":137019,"name":"Samuel Mueller","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Samuel%20Mueller","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/B9G8B70WXQWC\/nKTI46EH9WQOM.jpg","dateLastActive":"2023-07-19T19:00:01+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Get Help","url":"https:\/\/community.smartsheet.com\/categories\/get-help"},{"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions"}],"groupID":null,"statusID":3,"image":{"url":"https:\/\/us.v-cdn.net\/6031209\/uploads\/0YEIMSJ4K8AQ\/image.png","urlSrcSet":{"10":"","300":"","800":"","1200":"","1600":""},"alt":"image.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2023-07-19T18:48:05+00:00","dateAnswered":"2023-07-19T18:46:50+00:00","acceptedAnswers":[{"commentID":386050,"body":"

Your syntax is a bit off. Try this:<\/p>

=IF(COUNTIFS([Expected Draft Submit Date]@row:[Expected Doc Control Master complete]@row, @cell<\/strong> >= TODAY())> 0<\/strong>, \"Overdue\", \"On Schedule\")<\/strong><\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[{"tagID":254,"urlcode":"Formulas","name":"Formulas"},{"tagID":265,"urlcode":"Reports","name":"Reports"},{"tagID":292,"urlcode":"Dashboards","name":"Dashboards"}]}],"initialPaging":{"nextURL":"https:\/\/community.smartsheet.com\/api\/v2\/discussions?page=2&categoryID=322&includeChildCategories=1&type%5B0%5D=Question&excludeHiddenCategories=1&sort=-hot&limit=3&expand%5B0%5D=all&expand%5B1%5D=-body&expand%5B2%5D=insertUser&expand%5B3%5D=lastUser&status=accepted","prevURL":null,"currentPage":1,"total":10000,"limit":3},"title":"Trending in Formulas and Functions ","subtitle":null,"description":null,"noCheckboxes":true,"containerOptions":[],"discussionOptions":[]}">

Trending in Formulas and Functions