Arrayformula on column header

Use this technique: