Forum Discussion
Hogstad_Raadgivning
Nov 30, 2022Iron Contributor
Combine XMATCH with MAP, BYROW, SCAN or any other LAMBDA helper.
Hi, The goal here is to find the column in area C5:I16 for each row, based on the value in E19:E30. My idea was to use some of the new LAMBDA helpers, combined with XMATCH. Use that result and wind...
- Nov 30, 2022
Is this the sort of thing you are looking for?
If so, possible formulas might include
= BYROW(data, LAMBDA(row, XLOOKUP(MIN(row), row, År) ))
or
= MAP(Lavest#, SEQUENCE(12), LAMBDA(lav,m, XLOOKUP(lav, CHOOSEROWS(data,m), År)) )
PeterBartholomew1
Nov 30, 2022Silver Contributor
Is this the sort of thing you are looking for?
If so, possible formulas might include
= BYROW(data, LAMBDA(row,
XLOOKUP(MIN(row), row, År)
))
or
= MAP(Lavest#, SEQUENCE(12),
LAMBDA(lav,m, XLOOKUP(lav, CHOOSEROWS(data,m), År))
)
- Hogstad_RaadgivningNov 30, 2022Iron Contributor
Perfect, thank you That was exactly the result I was looking for.
Best Regards
- Geir