=lookup(A4,'LTO Renewal Record'!B2:B20,'LTO Renewal Record'!C2:C20)
Above code is suppose to return a date value. However, it gives me an error saying "Did not find value "my value" in LOOKUP evaluation." even though it is there.
Here's a link of the Google Sheet I'm trying to work on.
What I would like to do here is to lookup the latest value it can find on the column, and add 1 year to it since I am trying to track the expiration date of the vehicle's registration.
This is my code in MS Excel VBA when adding one year to the lookup value:
.Range("R" & MatchRow + 13).Value = DateAdd("yyyy", 1, TextBox2.Value)
However, I haven't the faintest idea how to have this working on Google Sheet, I've tried researching online but unable to find what I'm looking for. Hope someone can help.