Live data from Hacker News

Microsoft is making Excel’s formulas easier

theverge.com

21–30 of 141 posts

Re: Microsoft is making Excel’s formulas easier

#21
Will it give us beauts like this?:

=IFERROR(IF(IFERROR(IFERROR(IFERROR(IFERROR(IFERROR(IFERROR(SEARCH("Banner",AC5),SEARCH("EBL2",AC5)),SEARCH("Movie Art",AC5)),SEARCH("Use as is",AC5)),SEARCH("TTT",AC5)),SEARCH("Generic",AC5)),LEN(AC5)+1)(source: https://www.quora.com/What-is-the-longest-excel-formula-you-... )

Re: Microsoft is making Excel’s formulas easier

#22
post #20

Recently I started building Excel addons with custom formulas (e.g. =company.inventory(upc, WAREHOUSE), which call an api. This has blown the minds of non-tech folks among my clients. They equate this to magic. I was forced into doing this because after a year of digging to find out what reporting they wanted in the dashboard (“oh a thousand things… where’s the Excel spreadsheet export button?”), I gave up and now de…

Any new or good ways to do this? I used Excel-Dna 10 years ago.

Honestly, GPT is pretty good at this type of stuff.

Re: Microsoft is making Excel’s formulas easier

#23

Recently I started building Excel addons with custom formulas (e.g. =company.inventory(upc, WAREHOUSE), which call an api. This has blown the minds of non-tech folks among my clients. They equate this to magic. I was forced into doing this because after a year of digging to find out what reporting they wanted in the dashboard (“oh a thousand things… where’s the Excel spreadsheet export button?”), I gave up and now de…

What is your language of choice for building custom formula?

Python + xlwings: most successful (relatively speaking) to build custom finance functions in my line of work. Downside is the slowness and deploying on other computers.

Rust + xladd: really enjoyed this but feels immature still. Better performance than python and easier to distribute as single dll.

VBA: options above make this almost obsolete, however can’t beat being embedded.

Re: Microsoft is making Excel’s formulas easier

#24
post #22
post #20

Earlier quoted context omitted.

Any new or good ways to do this? I used Excel-Dna 10 years ago.

Honestly, GPT is pretty good at this type of stuff.

GPT's code and docs for this is way out of date. I tried it a couple weeks ago.

Re: Microsoft is making Excel’s formulas easier

#25

Recently I started building Excel addons with custom formulas (e.g. =company.inventory(upc, WAREHOUSE), which call an api. This has blown the minds of non-tech folks among my clients. They equate this to magic. I was forced into doing this because after a year of digging to find out what reporting they wanted in the dashboard (“oh a thousand things… where’s the Excel spreadsheet export button?”), I gave up and now de…

What is your language of choice for building custom formula? Python + xlwings: most successful (relatively speaking) to build custom finance functions in my line of work. Downside is the slowness and deploying on other computers. Rust + xladd: really enjoyed this but feels immature still. Better performance than python and easier to distribute as single dll. VBA: options above make this almost obsolete, however can’t…

Modern Javascript: https://learn.microsoft.com/en-us/office/dev/add-ins/excel/c...

For the "task pane", if you need one, you can use React or Angular, but I prefer to use Vue (or no front-end framework is fine too).

For the backend logic, just straight up Node + webpack. You could probably do this better with Vite, but I think Microsoft's starter templates all use webpack.

You end up distributing a manifest file that tells Excel which server your assets and API live at.

Warning: hot reload and dev debugging is quite a pain on macOS.

Re: Microsoft is making Excel’s formulas easier

#27

My current #1 wish for Excel formula entry: Please let me use [Tab] and [Enter] in the formula bar without trying to commit the change! I like to format my formulas with multiple lines and indentation, but to do that I have to hold down [Alt] and mash the spacebar like a caveman. I am happy with the new features I've been seeing. LAMBDA() and the new TEXT functions are nifty.

Then how do you suggest you commit the change then (which is much more commn than adding tabs to a formula)? Hopefully not some combination of keys.

Re: Microsoft is making Excel’s formulas easier

#28
post #20

Recently I started building Excel addons with custom formulas (e.g. =company.inventory(upc, WAREHOUSE), which call an api. This has blown the minds of non-tech folks among my clients. They equate this to magic. I was forced into doing this because after a year of digging to find out what reporting they wanted in the dashboard (“oh a thousand things… where’s the Excel spreadsheet export button?”), I gave up and now de…

Any new or good ways to do this? I used Excel-Dna 10 years ago.

Yup, javascript: https://learn.microsoft.com/en-us/office/dev/add-ins/excel/c...

Re: Microsoft is making Excel’s formulas easier

#29
post #27

My current #1 wish for Excel formula entry: Please let me use [Tab] and [Enter] in the formula bar without trying to commit the change! I like to format my formulas with multiple lines and indentation, but to do that I have to hold down [Alt] and mash the spacebar like a caveman. I am happy with the new features I've been seeing. LAMBDA() and the new TEXT functions are nifty.

Then how do you suggest you commit the change then (which is much more commn than adding tabs to a formula)? Hopefully not some combination of keys.

Clocking into another cell?

Re: Microsoft is making Excel’s formulas easier

#30
post #29
post #27

Earlier quoted context omitted.

Then how do you suggest you commit the change then (which is much more commn than adding tabs to a formula)? Hopefully not some combination of keys.

Clocking into another cell?

Do you mean clicking? Using the mouse, really?

Beside clicking on a cell already has a meaning, it inserts the address of the cell you are clicking on in the formula.

Post reply on HN