Regular expression functions in Excel
insider.microsoft365.com
insider.microsoft365.com
* spill formulas - google first, now supported in MSFT
* # notation - MSFT enhancement to spill formulas not yet adopted in google
* regular expressions - google first, now in Excel
* check boxes - google first, now supported in excel
There must be others. I would expect competitive dynamics where each side tries to build extensions that can’t be replicated on the other side
[1] https://support.microsoft.com/en-us/office/regextest-functio...
Excel also got a "split" function much later than Sheets did.
I was excited to read on the Sheets blog that Sheets finally will have a table functionality, which Excel has always had: https://workspaceupdates.googleblog.com/2024/05/tables-in-go...
TBH, they should have dumped during switch to OOXML, that was a wasted opportunity. On the other hand, that's hard sell to business.
> Try asking Bing Copilot for regex patterns!
Or maybe embed a cheaper and more reliable solution like https://regex101.com?
Reinventing a regular expression system is very far down on the list of things I'd ever want to do. Those things are filled with dragons and require years of refinement to get the bugs out.
Things im terrified of:
- making an error in a financial model - checking a model - making an error in a regexes - checking a regex
Thins I love; - dumb excel stuff
This is a great time to be alive, and at arms length from finance.
To all the people who will deal with the fallout- I salute you.
This is awesome.
It’s so easy to just miss something. A date function which is off.
Missing something in excel is a big deal for a firm which is mean to do it - and it will always happen. And that’s the experts.
I’m betting Someone was too tired, and uninterested and just followed the script.
Hopefully that experience put the fear of God into some analyst and associate.
Pretty much the only thing that I can rely on when it comes to modeling.
Knowing that someone is as terrified as I am and has put the work in to not be embarrassed.
And let’s agree - it is work.
I remember seeing a date function used by another firm for the first time.
It too me at least an hour to decipher it.
It was cool, I learnt a lot. But it takes time.
Regexes are cool, and I guess people will be learning a lot.
If so, did it at least have embedded VB or was it all cell logic?
I think the main bit I love so much about it is having actual tables instead of the Infinite Grid that most spreadsheet software uses. You get named ranges for free, and it makes semantical sense too, among a good number of other benefits (sheet organization, refactoring, simpler styling...).
There are some really nice things that Google Sheets does, and I've done a few fancy things with App Script which isn't too bad, and I do really like QUERY though I wish it was a bit higher power. I just always find myself missing the UX of Numbers, though.
If your usecases are not complicated, Libre office could work well. Otherwise your efficiency will be behind those that you can achieve with MS Office.
I once got banned for asking to put 'text size' on the main screen for the powerpoint knockoff.
Text size seems pretty important to have. You shouldn't have to google how to change the text size.
I'm deeply convinced there is a Microsoft plant undermining everything.
FWIW I prefer PowerPoint over Impress as well (particularly when it comes to the browser side of things on the go), using one or the other is just not a vendetta of mine.
Yours continues to enable the status quo.
"oh he made a great point, but he said it snarkey! Guess M$ can just keep being the only company with text size"
It's conspiracy theory thinking, but I'm getting there, too. These things have been too close to being complete replacements for commercial products for so long, but somehow still fall over on problems that have been complained about for a decade or more.
There's not one of them that some massive corporation with sights set on adding a letter to faang couldn't pick up and turn into a legitimate competitor in a month or six, khtml-style. Instead they often sit on moribund subpages of some larger project website, with a blog updated once every year or two.
These projects have to be targets for sabotage by their commercial competitors, just as government initiatives are, just cheaper. For e.g. Adobe it's less than a rounding error to e.g. spend 500K/year supplying a developer to e.g. Scribus[0] to make sure that it remains difficult to contribute to, or makes bad architecture choices, and that hypothetical developer could be one of its biggest actual contributors.
Maybe it's just because they have to spend a lot of time chasing Gtk, which makes it another redhat problem?
edit: The 95% state of all a lot of these FOSS packages is also evidence that there are zero tech billionaire philanthropists. It would take a total of one of them to grab all of these projects and wrangle them into good form.
[0] This is an actual hypothetical, I'm not making an accusation about Scribus. Between the GIMP and Inkscape, they literally are the only people who made a real effort with color for years. Inkscape openly said that their software was only for making images for the web (as opposed to print), as if there were a rational reason to cripple their product and narrow people's interest in it. Now that deviantart is gone, will anyone care about Inkscape anymore? Will the dopamine hit hobbyists get from sharing generative art cause Inkscape to be totally left behind? Why is it hard to design a form for your office's paperwork in Inkscape, a vector drawing program, if forms are just straight horizontal lines and text? Why aren't they trying to merge with Scribus (and LibreOffice Impress/Draw) and create a complete pdf solution? I have no idea.
I'm being very ranty here, and I do want to say that I very much appreciate the work that people are doing for free, in their spare time, for others.
This will kill a few Python jobs and make it a very popular REST client =)
Microsoft's advice page for wrapping Office in a web application fronted by ASP/ASP.Net: https://support.microsoft.com/en-us/topic/considerations-for...
And that has links to documentation about Excel Web Services of old (on-premises SharePoint days, not sure if it translates to today's cloud), which is SOAP/HTTP: https://learn.microsoft.com/en-us/sharepoint/dev/general-dev...
https://learn.microsoft.com/en-us/graph/api/resources/excel?...
Could also do some crude/fragile parsing with aforementioned regex functions.
https://support.microsoft.com/en-gb/office/get-started-with-...
I was just going to copy/paste the fields into JSON which is repetitive and error prone, and realized I could automate it. So I wrote VBA to output a json version of that. (The annoying part of writing that in VBA is that JSON data needed a lot of double-quotes, but then you have to use escape sequences for every double-quote.)
Once I had the JSON data generated, I was going to post each one manually, so again, I looked and realized you can POST the data directly from VBA. Added a button to the page and you could update the data in Excel and click a button to POST it.
Of course, once I turned it over to someone else, they were like "what the hell" and started doing it a different way. lol
It's just (utterly ancient) Javascript (I think ECMAScript, technically, since there's no DOM, no browser, etc.), bolted on. I wrote in modern JS and used Babel to transpile the source back into the stone age.
… I'd much rather write Python.