• vrek@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 hours ago

    I’m betting the one is formatted as text and the other rows are formatted as a numbers. Can’t confirm as I don’t use excel but that seems to be the issue.

    • bus_factor@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      8 hours ago

      No, it’s a lot more basic than that. You provide =COPILOT() the cells to operate on in the second parameter, and the user didn’t provide it. Copilot cannot see any of the spreadsheet and just reported what a typical answer for a request like that is.

      • vrek@programming.dev
        link
        fedilink
        English
        arrow-up
        3
        ·
        8 hours ago

        Wait… Is that really true? The integrated copilot in excel can’t see the data in excel? That’s insane. Copilot in vscode or visual studio can see all the code your working on so I don’t see why excel wouldn’t be able to…

        • bus_factor@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          7 hours ago

          Excel sees the cells you tell it to operate on. When you’re working with code, all the code is relevant. Usually in Excel, you have specific cells you want to do an operation on, and those are provided to the function, just like any other thing you do in Excel. If you want to operate on the entire spreadsheet, just provide a range including the entire spreadsheet, but this is not done unless you ask for it.

            • bus_factor@lemmy.world
              link
              fedilink
              arrow-up
              5
              ·
              6 hours ago

              I genuinely cannot think of a single use-case where you would want Excel to look at your entire spreadsheet without it being a horrible mistake. You definitely do not want AI to do math for you, and that is thankfully not what this thing is designed for.

              • vrek@programming.dev
                link
                fedilink
                English
                arrow-up
                2
                ·
                6 hours ago

                True but I could see using Ai to write a function which does the math… Like I write a prompt (simplified example as I’m on my phone) like “sum all the values above A4 and place result in A4” and the Ai should then write the function “sum(A1, A3)” and place it in cell A4

                • bus_factor@lemmy.world
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  5 hours ago

                  You can certainly use AI to generate the function and paste it in, but that is not what =COPILOT() is for. You could just have any other LLM do that.