TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Excel Functions in F# Language

144 pointsby t0m44cover 2 years ago

16 comments

eggyover 2 years ago
Glad to see F# vs. C#. I prefer F# and it doesn&#x27;t get as much play as C#.<p>But, being more of a Lisper, I&#x27;ve already subscribed to Acceλerate for Microsoft 365[1]. It&#x27;s basically a full scheme available in Excel with VSA (Visual Scheme for Applications - nice play on VBA to dupe the unaware ;) ). It has a full REPL and an editor and also creates UDFs. It is Excel&#x27;s new Lambda on steroids.<p>I&#x27;ll have to try Sharp Cells. I&#x27;ve played with J[2] and some Excel tie-in scripts, but it is not integrated as nicely as Sharp Cells or Acceλerate.<p>[1] <a href="https:&#x2F;&#x2F;apexdatasolutions.com&#x2F;home" rel="nofollow">https:&#x2F;&#x2F;apexdatasolutions.com&#x2F;home</a><p>[2] <a href="https:&#x2F;&#x2F;code.jsoftware.com&#x2F;wiki&#x2F;Scripts&#x2F;OLEExcel" rel="nofollow">https:&#x2F;&#x2F;code.jsoftware.com&#x2F;wiki&#x2F;Scripts&#x2F;OLEExcel</a>
评论 #34799104 未加载
DoctorOWover 2 years ago
I&#x27;ve done some VBA for work. If I build an Excel file with SharpCells and send them to someone who doesn&#x27;t have it. What happens when they open it? From what I understand, .NET is pretty easy to decompile. Is it possible to make a SharpCells F# to VBA translation before saving?
评论 #34793343 未加载
评论 #34799931 未加载
评论 #34799560 未加载
xupybdover 2 years ago
We use F# and Excel as our main tools. This seems like a product made in heaven.<p>But this would never fly for us. The pricing model could not be sold to management.<p>What would work is if it was something like $5k for a year of updates. We&#x27;re on 365 so office&#x27;s constant updates would force us to upgrade every year. But management would not feel like they&#x27;re renting something they would rather own.
评论 #34799884 未加载
评论 #34799491 未加载
评论 #34799111 未加载
rwhalingover 2 years ago
Really cool - the stuff they are doing with the Excel API to inspect editing modes is super interesting: <a href="https:&#x2F;&#x2F;www.sharpcells.com&#x2F;docs&#x2F;blog&#x2F;monitoring-edit-mode" rel="nofollow">https:&#x2F;&#x2F;www.sharpcells.com&#x2F;docs&#x2F;blog&#x2F;monitoring-edit-mode</a><p>I work with data warehouses, but I&#x27;m really jealous of the way our Finance team uses some abysmal plugin to directly query our GL from inside Excel - building something like that the can make the contents of a modern data warehouse available to Excel users has always been a holy grail for me.<p>My hunch is that exposing free-form SQL in Excel doesn&#x27;t work, but something more like structured metrics (something roughly like dbt metrics) could potentially work? And tooling like this is probably what I&#x27;d want to prototype with.
评论 #34796874 未加载
评论 #34796203 未加载
评论 #34795926 未加载
Nelkinsover 2 years ago
Nice use of F# scripting. The #r directive for Nuget packages was a great addition.
inglorover 2 years ago
I work on Excel and this is really cool and I’ll share it with the rest of the engineers.
评论 #34793995 未加载
lsm07over 2 years ago
I&#x27;m always happy to see F# get a mention, but using it inside Excel seems funny when you could just use it against a raw CSV file or whatever for data analysis&#x2F;data manipulation.
评论 #34791682 未加载
评论 #34791580 未加载
bsdoobyover 2 years ago
An interesting F# blog that was found for me: <a href="https:&#x2F;&#x2F;www.planetgeek.ch&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.planetgeek.ch&#x2F;</a>
评论 #34799353 未加载
qwerty456127over 2 years ago
Very cool, but...<p>Limiting (let alone this severely) a number of functions a developer can introduce and locking them in having to pay recurrently just to overcome this limitation and keep their code working is insane. I believe this dooms the product to be extremely unpopular. This way people probably won&#x27;t even invest time in giving it a try.<p>Real-Time Data Sources sound like a thing which can be a premium feature. Unlimited UDFs and Unlimited Commands don&#x27;t.
andixover 2 years ago
Interesting that it is F# only, usually .NET based products can also use C# and VB.NET. Especially VB.NET could be useful when porting VBA code.
评论 #34800005 未加载
giaourover 2 years ago
Why is this a subscription?
评论 #34794415 未加载
评论 #34797040 未加载
layer8over 2 years ago
How do they implement the subscription plans when no internet connection is required?
评论 #34800029 未加载
orthoxeroxover 2 years ago
Ah, at first I thought that was a library that implemented Excel functions in F#.
keithalewisover 2 years ago
Why drag F# into this? =LAMBDA(name, &quot;Hello, &quot;&amp;name) works just fine. Modern Excel has MAP, REDUCE, SCAN, MAKEARRAY, etc.
JaggerJoover 2 years ago
nice!
velcrovanover 2 years ago
Call me when Excel “programs” don’t silently give corrupted output when a formula or critical input is accidentally clobbered by a keypress.
评论 #34793801 未加载