Ever since 2021 I've had acces to the newer lambda's helper functions among which was the MAP()
function. All other helpers like BYROW()
, BYCOL()
, SCAN()
and REDUCE()
amongst others are working fine. Though the firstmentioned MAP()
function is recognized by the Excel's auto-complete feature it will error out when applied. Let me show you in a few screenshots:
Auto-complete picking up on MAP():
Error "Invalid function" upon completion:
The strange part is that I can actually apply the formula through VBA:
Range("C1").Formula2 = "=MAP(A1:A2,LAMBDA(a,IF(a=1,a,a*2)))"
Resulting in:
Upon altering the formula I recieve the same error:
Up to now I have left this be, but I recently had a query where I'd have like to have used MAP()
. Anyone seen this before/knows what the fix is?
Excel version: ms365 version 2211 build 15813.20002
UPDATE 1: Starting to get the feeling it has to do with local Dutch version of Excel since the following would also produce an error 1004 through VBA:
Range("C1").Formula2Local = "=MAP(A1:A2;LAMBDA(a;ALS(a=1;a;a*2)))"
UPDATE 2: Switched my Office display settings to English (United States) through File > Options > Language, let Excel update, and tried MAP()
. It worked! Changing back to Dutch broke the function again though.
I guess the problem is a bug and I'll report it as such.