enter image description hereIf i have the unique number, how can i get the next value from column M? Say, my unique number is 10, then the value that i need is the value from 13. I attached the picture to illustrate.

I tried doing Offset function but doesn't work. Please help.
In the second screenshot, I used this:
=let(Σ,xmatch(K2,K:K)+1,+tocol(indirect("M"&Σ&":M"),1))
By the way, I am using Google Sheets

Use INDEX-XMATCH with dynamic offset: