How to sequence an array with Excel?

data

Output

Full output

Fulloutput

I have a set of destinations and postcodes.

I am selecting a list which updates the page contents to said destination.

I want to then show each group of postcodes but if it starts with a new letter e.g.:

L1 should be a separate row to m1

I can get them to transpose into a single row but not split say 5 columns max.

Any help appreciated. Don’t have access to the formulas at the moment as mobile isn’t letting me edit but can provide what I have if needed.

I’ve found ways where you can do a sequence and then fill the area but not dynamic enough for the sets of data as they are not equal amounts.

Update: Example formula used to get the array of data

=TRANSPOSE(SORT(FILTER(PostcodeTable[Postcode],PostcodeTable[Destination]=Manchester!B1,""),1,1))