Forum Discussion
Need help on Lambda #VALUE error
- Apr 25, 2021
Manish4993 Just as I suspected and SergeiBaklan pointed out, you have one argument too many. See attached.
Manish4993 Just as I suspected and SergeiBaklan pointed out, you have one argument too many. See attached.
i need one more help.
How to use recursion in same file. updated file is attached for reference.
- SergeiBaklanApr 26, 2021Diamond Contributor
I also have no idea why do we need recursion here and what to iterate with it.
That's not an answer on direct question, but simplest way to return the result without copying the formula is to use structured table with simple formula like
=IFNA(INDEX(Sales[Offer Name], XMATCH(1, ([@[Date of purchase]]>=Sales[Adjusted Start Date])* ([@[Date of purchase]]<=Sales[Adjusted End Date])* ([@Model]=Sales[Model])* ([Insuranace name]=Sales[Insuranace Type]))), "no such" ) - Riny_van_EekelenApr 26, 2021Platinum Contributor
Manish4993 Not sure what you mean, but am wondering why you are using LAMBDA in the first place. Your goal is not very complicated and can be achieved by using FILTER. I've transformed your data to structured tables, so that the filtering becomes easier to follow. The end result is in column G.
If you are merely doing this to learn LAMBDA formulae, someone else has to jump in and answer the part on recursion.