I'm using XLOOKUP to return a row with 4 columns. At the moment I have to copy/paste the formula every time new rows are inserted, so I thought of using ARRAYFORMULA to skip this step.
The problem is when I implement this, the result is a single column per row instead of the 4 columns I get by having a XLOOKUP per row; The result seems to be trimmed to only the first column.
My XLOOKUP looks something like this:
=XLOOKUP(A2,Sheet2!A2:A,Sheet2!D2:G)And applying ARRAYFORMULA this is how it looks:
=ARRAYFORMULA(XLOOKUP(A2:A,Sheet2!A2:A,Sheet2!D2:G))Any ideas on how can I make it return the full 4 columns?









