I have an XLOOKUP function that is working the way I want. (I've wrapped it with some validation functions)
=IF($A$2:$A<>"",IFNA(XLOOKUP($A2 & B$1, ARRAYFORMULA('Unit Update'!$B$2:$B & 'Unit Update'!$D$2:$D), 'Unit Update'!$A$2:$A), ""),"")
I want to apply an ARRAY FORMULA so that I do not have to drag the fill handle down every time I want to update this, because this formula is intended to see on-going use for a regularly expanding list. My current, very limited understanding is that I just need to wrap the whole thing in ARRAYFORMULA() like below
=ARRAYFORMULA(IF($A$2:$A<>"",IFNA(XLOOKUP($A2 & B$1, ARRAYFORMULA('Unit Update'!$B$2:$B & 'Unit Update'!$D$2:$D), 'Unit Update'!$A$2:$A), ""),""))
But when I do so it only repeats the first value rather than applying the formula how I want it to be applied. Here is an image of the first XLOOKUP function, without ARRAYFORMULA, when I just drag out the fill handle: XLOOKUP NO ARRAYFORMULA
And here is an image of the second XLOOKUP within ARRAYFORMULA: XLOOKUP WITH ARRAY FORMULA
I have no clue as to why. I'm hoping it's just something very small that I missed. Is there a better way to accomplish what I am trying to do?