A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Just to add to this. Seems to be an excel bug for sure. I was struggling with the same issue for a week and was close to giving up and rebuilding my files without any lambda functions and then came across your solution. I have built on it further by using the below VBA code and calling it on workbook open to then let it automatically run. This simply searches for any lambda formulas and reapplies them. I hope Microsoft fixes this bug at some point.
Private Sub Workbook_Open()
Call RefreshLambdaFormulas
End Sub
Sub RefreshLambdaFormulas()
Dim nm As Name
Dim formulaText As String
On Error Resume Next
EvtState = Application.EnableEvents
ScrnUpd = Application.ScreenUpdating
CalcState = Application.Calculation
If Not EvtState = False Then Application.EnableEvents = False
If Not ScrnUpd = False Then Application.ScreenUpdating = False
If Not CalcState = xlCalculationManual Then Application.Calculation = xlCalculationManual
' Loop through all named ranges in the workbook
For Each nm In ActiveWorkbook.Names
' Check if the name refers to a formula and starts with =LAMBDA(
If nm.RefersTo Like "=LAMBDA(\*" Then
formulaText = nm.RefersTo ' Store the current formula
nm.RefersTo = formulaText ' Reassign it to refresh
End If
Next nm
Application.EnableEvents = EvtState
Application.ScreenUpdating = ScrnUpd
Application.Calculation = CalcState
On Error GoTo 0
End Sub