Live data from Hacker News

Lambda: Turn Excel formulas into custom functions

techcommunity.microsoft.com

11–20 of 140 posts

Re: Lambda: Turn Excel formulas into custom functions

#11
post #9

I love the branding "custom functions without code" right before a bunch of code. Reminds me how early word processors (the person, not the software) were convinced to program word processors (the software this time) just by calling the programs "macros". I'm not joining Microsoft's beta program right now, but I'm curious if anyone knows the data type of a =LAMBDA?

In the 1970s, secretaries wrote their own extensions to Emacs in Lisp. They were only ever told they were "customizing" the editor, not programming it!

(This was Multics Emacs, a predecessor to GNU Emacs.)

Re: Lambda: Turn Excel formulas into custom functions

#12
post #4

This is extremely significant to simplifying spreadsheets.

I see it making spreadsheets easier to convert into code, too. Many “business programs” begin as a spreadsheet.

We have services which run a "notebook as a service" so it's not too far fetched to think of Microsoft doing this with Excel spreadsheets. I bet it would take the business world by storm and would be a good move.

Re: Lambda: Turn Excel formulas into custom functions

#14
post #5

I hope they add an import and export function to this. Ideally you could sync these functions at an org level via O365.

Then you need version control. Better to let the document be the boundary of consistency.

Or support versioning using GitHub! Excel has always been a powerful repl, these extensions are leveling it up.

Re: Lambda: Turn Excel formulas into custom functions

#15

They sort of already had this with the old style pre-VBA Excel macros.

This might be better, though. Because it lets you use the same spreadsheet functions, in the spreadsheet. It would be trivial to make a lamdha function that encapsulates several spreadsheet functions into one.

Re: Lambda: Turn Excel formulas into custom functions

#17

Earlier quoted context omitted.

Then you need version control. Better to let the document be the boundary of consistency.

Or support versioning using GitHub! Excel has always been a powerful repl, these extensions are leveling it up.

This would make Excel 100x more maintainable. I would think a nice Github integration would turn excel closer to a maintainable programming language.

Re: Lambda: Turn Excel formulas into custom functions

#18
post #17

Earlier quoted context omitted.

Or support versioning using GitHub! Excel has always been a powerful repl, these extensions are leveling it up.

This would make Excel 100x more maintainable. I would think a nice Github integration would turn excel closer to a maintainable programming language.

[deleted]

Re: Lambda: Turn Excel formulas into custom functions

#19
post #13

Does Google sheets let you do anything like this?

Yes it supports JavaScript functions that can be called in the formula bar. However Google sheets is nowhere the install base of excel, so this is a really big deal

Excel already has the ability to write custom functions in Javascript (and VBA), this is the ability to write them in the formula language rather than JavaScript.

(So no, Google Sheets does not support this)

The latest improvements in Excel really do seem to be re-widening the gap between Google Sheets and Excel (Dynamic array formulas, Let, Custom data types, powerquery improvements...)

Re: Lambda: Turn Excel formulas into custom functions

#20
post #11
post #9

I love the branding "custom functions without code" right before a bunch of code. Reminds me how early word processors (the person, not the software) were convinced to program word processors (the software this time) just by calling the programs "macros". I'm not joining Microsoft's beta program right now, but I'm curious if anyone knows the data type of a =LAMBDA?

In the 1970s, secretaries wrote their own extensions to Emacs in Lisp. They were only ever told they were "customizing" the editor, not programming it! (This was Multics Emacs, a predecessor to GNU Emacs.)

"Customizing" is something everyone loves to do in a lot of aspects of our lives. Programming is for those weirdos in IT. Building stacks in HyperCard wasn't programming either it was just writing interactive presentations.
Post reply on HN