爱意满满的作品展示区。
AntoniotheFuture

Excel 公式格式化工具——提高你的统计效率!

  •  
  •   AntoniotheFuture · Dec 23, 2020 · 3876 views
    This topic created in 1984 days ago, the information mentioned may be changed or developed.

    地址: https://t.nonemin.com/excelformula

    我以前经常使用 Excel 进行数据统计,写的公式又长又难理解,同事给公式看也要好好梳理才行,我就想是不是可以借鉴代码的整洁之道,把 Excel 公式进行格式化?于是就琢磨出这个玩意。

    在上方输入框输入 Excel 公式,点击格式化按钮,下面就会显示格式化后的结果:

    所有核心代码开源在网页的 JS 中,欢迎提出宝贵意见!

    ryISNd.png

    17 replies    2024-05-21 16:38:15 +08:00
    vazo
        1
    vazo  
       Dec 23, 2020
    lostexile
        2
    lostexile  
       Dec 23, 2020
    赞一个
    AntoniotheFuture
        3
    AntoniotheFuture  
    OP
       Dec 23, 2020
    @vazo 好的,马上修复
    ohooooo
        4
    ohooooo  
       Dec 23, 2020
    应该出一个自然语言转 excel 公式
    AntoniotheFuture
        5
    AntoniotheFuture  
    OP
       Dec 23, 2020
    @ohooooo O_o! ... 这个是 AI 的范畴了,我还没涉足这方面
    hafuhafu
        6
    hafuhafu  
       Dec 23, 2020
    有点问题

    另外如果括号对和关键字能着色和高亮就更好了
    lengyihan
        7
    lengyihan  
       Dec 23, 2020 via Android   ❤️ 1
    弄个模块话的生成器,通俗语言模块拖动拼接再转换成 excel 语言。
    xinyana
        8
    xinyana  
       Dec 23, 2020 via Android
    支持多少函数? excel 几千个函数呢
    omph
        9
    omph  
       Dec 23, 2020
    可以考虑写成 vscode 的插件,带补全、高亮、语法提示 😃
    AntoniotheFuture
        10
    AntoniotheFuture  
    OP
       Dec 23, 2020
    没有几千个吧,我这函数库是从微软爬下来的,有 500 多个
    AntoniotheFuture
        11
    AntoniotheFuture  
    OP
       Dec 23, 2020
    @xinyana 没有几千个吧,我这函数库是从微软爬下来的,有 500 多个
    AntoniotheFuture
        12
    AntoniotheFuture  
    OP
       Dec 23, 2020
    @omph 应该没人会在 vscode 里写 Excel 函数吧。。。
    AntoniotheFuture
        13
    AntoniotheFuture  
    OP
       Dec 23, 2020
    @hafuhafu 看不到图,描述一下吧,括号对和高亮这些我会考虑加入的
    omph
        14
    omph  
       Dec 24, 2020
    @AntoniotheFuture #12
    和网页差不多啊,体验更好,支持离线
    hafuhafu
        15
    hafuhafu  
       Dec 24, 2020
    @AntoniotheFuture #13
    输入公式 `=SUM(INDIRECT(CHAR(COLUMN()+64)&(5+B60)):INDIRECT(CHAR(COLUMN()+64)&(4+D60)))`
    &符号后的表达式被忽略了
    AntoniotheFuture
        16
    AntoniotheFuture  
    OP
       Dec 24, 2020
    @hafuhafu 有点 BUG 。。。已经修好了~
    NaTsuNoYuki
        17
    NaTsuNoYuki  
       May 21, 2024
    感謝作者,這幾天在寫複雜的 excel 公式,套了超多層 if ,沒有格式化,排查更改起來簡直要命,期待可以上架 vscode
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2807 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 113ms · UTC 14:33 · PVG 22:33 · LAX 07:33 · JFK 10:33
    ♥ Do have faith in what you're doing.