Example from power query:

DET
COL
TOR
NYY
TOT
BAL
BOS
SEA
PIT
DET
SFG
TOT
KCR
WSN
COL

A column in my power query looks like the above.

I want a formula to search down the column and when it finds 'TOT'
it will replace that value with the value of the row below using cut and paste

So we achieve this result:

DET
COL
TOR
NYY
BAL
'now empty
BOS
SEA
PIT
DET
SFG
KCR
'now empty
WSN
COL

Is this possible to do within Power Query? I'm not quite sure how to achieve the results. Please help and thanks in advance!