Two directions Lag columns

If you want to do such a Thing you could try and modify this approach: