Is there any way to do something like .PrevInType?

This works for me:

Thanks!