Software

The nightmare is real: 'Excel formulas are the world's most widely used programming language,' says Microsoft

So here's LAMBDA to make custom functions out of those formulas


Microsoft will let users create custom functions in Excel using the number wrangler's own formula language.

"Excel formulas are the world's most widely used programming language, yet one of the more basic principles in programming has been missing, and that is the ability to use the formula language to define your own re-usable functions," said Microsoft.

The addition is long overdue; those feeling a misplaced sense of déjà vu are likely thinking of functions implemented in the spreadsheet using an entirely different language, such as JavaScript or (heaven forbid) Visual Basic for Applications.

It also, according to Microsoft, makes the Excel formula language "Turing complete".

Dubbed LAMBDA, the feature (currently rolling out to beta customers) will be a lifesaver for anyone charged with maintaining herds of increasingly complicated spreadsheets, who have doubtlessly been wondering how it could be that Excel was missing such a seemingly obvious ability for so many decades.

Sure, a ribbon toolbar is nice enough (or should be destroyed by fire, depending on your perspective), but being able to drop Excel's own formula language into a custom function is both a huge time saver and a boon for quality.

While passing a value into a function is a handy thing, it is also possible to use dynamic arrays or rich data types. Devs expecting a Visual Code-like development environment for their opuses will, however, be a little disappointed. It's early days for the technology, and the implementation via the Name Manager is a little clunky.

There is also some serious power lurking beneath the surface. Recursion, long missing from Excel formulas up to now, can be achieved by allowing functions to be called within functions. What could possibly go wrong?

Not that one should be troubling production work with the new functionality. It remains in beta for the time being, and Microsoft has yet to indicate when it will hit General Availability.

It is also unlikely to trouble those legacy spreadsheets that could really use some tidying by the use of formula functions in place of the copy-and-paste workarounds users have endured for the over three decades of Excel's existence. ®

Send us news
133 Comments

US government excoriates Microsoft for 'avoidable errors' but keeps paying for its products

In what other sphere does a bad supplier not feel pain for its foulups?

Microsoft slammed for lax security that led to China's cyber-raid on Exchange Online

CISA calls for 'fundamental, security-focused reforms' to happen ASAP, delaying work on other software

Microsoft breach allowed Russian spies to steal emails from US government

Affected federal agencies must comb through mails, reset API keys and passwords

Open source versus Microsoft: The new rebellion begins

Neither side can afford to lose, but one surely must

Microsoft squashes SmartScreen security bypass bug exploited in the wild

Plus: Adobe, SAP, Fortinet, VMware, Cisco issue pressing updates

Microsoft claims it didn't mean to inject Copilot into Windows Server 2022 this week

AI assistant turns up via Edge update. It was an accident. This time...

AI gold rush continues as Microsoft invests $1.5B in UAE's G42

Can regulators keep up?

Microsoft to use Windows 11 Start menu as a billboard with app ads for Insiders

This wasn't what most had in mind when Redmond promised to make the feature 'great again'

Microsoft unbundling Teams is to appease regulators, not give customers a better deal

Think before you pull the trigger, warn analysts

Microsoft puts ex-DeepMind boffin in charge of London AI hub

Follows £2.5 billion pledge to 'upskill' British workers for the new world order

Microsoft to tackle spam by restricting Exchange Online bulk email

Need to send to more than 2,000 external recipients in 24 hours? Time to start looking for an alternative

Microsoft gives Hyper-V ceilings a Herculean hike

Windows Server 2025 will let you run a VM with 2,048 vCPUs, 240 TB RAM, and 68 network adapters