Cross Sheet Use of IF / VLOOKUP / Index Collect

Hi all, I have been searching for the right answer to this issue I am having without success.

I have a sheet that is pulling in reference cells from other sheets and I am trying to reference the most recent value from the source or database sheets. I can pull them in with index / match or Vlookup but struggling to pull the MOST RECENT.

The closest I have come is in the database I created 2 helper columns that looked for the most recent date and scored it as a 1 if they matched. Now trying to figure out how i reference that most recent row value in the reference sheet.

I have tried using If and Vlookup - fail โ€ฆ and no matter what I do with Index collect I continue with #UNPARSEABLE

Happy to share sheets or screenshots

Below are what I have tried, Index match works fine but does not account for the most recent data in the reference sheets.

=IF({Most Recent} = 1, VLOOKUP(Name@row, {Check-in Range}, 2, false), "---")

=INDEX(COLLECT({NPDS Orientation Check-In Range 2}, {Most Recent}, 1, {RN},Name@row),,3)

"NPDS Orientation Check-In Range 2" = the source sheet range including all the associated columns , where "Most Recent" & "RN" are only the impacted ranges within the 1st larger range.

Thoughts ?

~Chris `

image.png

Comments

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!