Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Naive but serious question: couldn't Excel create a special / hidden sheet for lambda functions, thereby allowing them to be easily written on multiple lines, with some kind of standard formatting, then calling a lambda from a cell would be of the form:

=LAMBDA(global_function_name, [cell_input_1, cell_input_2, ...])

Wouldn't this be a cleaner design? Trying to deal with cells whose formulas are way too long to be put in a single cell is Excel's Achilles Heel (and a footgun that you are nearly guaranteed to enounter sooner rather than later). This LAMBDA proposal as written seems to exacerbate that problem, not improve it.



You can create a multiple line formula. Alt+Enter when editing the formula.

If I'm writing a longer formula that's going to be tough to read, I make it multiple lines and add spaces at the start of the lines for indentation. Makes readability so much better!


A good tip there for folks to help readibility. I also love to paste in really crazy formulas here to really see them in a well formatted mode in the cell.

https://www.excelformulabeautifier.com/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: