Within Excel I need to be able to line up the last two columns within each row. I have around 1000+ rows of “messy data”. The last two columns include bank account number and sort code. They will always be the last two columns but differ which column there are in for each row. I need the account number and sort code to be in column J & K. Screen shot below.
You can use INDEX/COUNTA:
copy over one and down the length of the data.
Alternatively, knowing that your two last columns will always be a sort code (text) and an account number (number), you can use our old friend