This deserves its own thread
I still haven’t tried out LAMBDA or LET yet.
Thanks for creating this. Another fun trick I learned not too long ago is that the prompt that pops up when you start typing a formula can actually be moved around. I used to struggle to click on column letters if that prompt was covering them. Now I can just move it out of the way!
Excel is finally adding an option to disable the automatic conversion of data, e.g. “00123” → 123. It is also going to warn the user when data has been automatically converted when reading a csv.
There are plans to disable the automatic conversion of some strings into dates(e.g. “12/12” → Dec-12) but it is not in the upcoming update.
Took them long enough.
I like the LET function and it’s easy to use. It’s useful for not repeating a calculation within a formula but also simply for making formula more readable. i.e. you can separately calculate components of a formula, name them and put them together in the final combined formula - which is a lot easier to understand since you have named the components.
I’ve played around a little with LAMBDA and so far have mixed feelings.
- Seems like a replacement for user defined spreadsheet function that you previously might have had to implement in a VBA function
- There are some powerful examples that I’ve seen, e.g. cleaning up input by searching for an entire list of characters to be replaced. Furthermore you can iterate through an entire input list and spit out a cleaned up list with a single formula (and not copied down for each entry in the input list)
However, there are some limits on the length of input list that can be handled recursively and these limits are not “obvious” in advance. As I understand, its limited to the size of the stack that is used for recursive functions and the amount that it put onto the stack with each recursion depends on the number of arguments passed.
- However, I also strongly suspect that having more than one or two LAMBDA’s in a spreadsheet could lead to a debugging nightmare.
- The editor for LAMBDA functions is the little box where you enter names for named ranges and that is less than ideal. Apparently there is an add-in available for better editing but I’m fighting with our IT to allow me to install it.
Overall, my impressions are that LAMBDAs could be very useful in certain circumstances but those are probably a bit more limited than I had initially hoped. But I might well change my mind with more exposure.