More spreadsheet calculations

Richard Czechowski · Friday Demos · February 16, 2024 · 2:56

More calculation functions (based on watching what folks are trying to do!)

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. next so this this really isn't um not exactly too much new stuff but we've been tracking the Cals uh AI usage and stuff and trying to figure out like what interesting use cases we can support of what's working and what's not working and um one thing that we saw was this ability to maybe um use it to figure out uh distances which is like a much more complicated thing to do so I did a little work to add a few new um like functions to enable this but like now approximate if a row is less than 100 miles from San franisco so let's see if this did I smell still spell San Francisco wrong it a had little thing there okay let's see um it

  2. wrote a pretty crazy um Cal here uh and then I guess we can just go validate it um by dragging this up to color oh it looks like it wrote it wrong this time which I've seen before what was that oh sorry never mind I was gonna say was that a little Pythagorean theorem but no that is actually what it's doing it's it's doing theorem um all right let's see if this one works um go back to the chart and try to color it again there we go that's the right one wow um so you can see that like now we've got this radius drawn around San Francisco and it's highlighting all of the ones that are within and without um and again like yeah

  3. it's uh this would be hard to write by hand like you could go look up this formula and then go look up the lat Longs for San Francisco and all of that kind of stuff um but it would be a royal pain and so make sure you get a coine in there yeah so we've um but you know we needed square root we needed um uh exponents a couple other things that like we hadn't supported yet and now we do so this is like just a cool unlock with like um mostly by monitoring uh our Cal's usage so it's kind of a cool cool feedback loop cool did you sign that you had to write approximately in the prompt I'm just kind of curious why

  4. that was there no you know I just uh I just wrote I I like just stuck to what worked and you know the reason I think it worked the second time and not the first is that I'm pretty I don't know maybe I misspelled San Francisco the first time and it got confused because I didn't quite see what the what the underline was but um I had it ju The Prompt just copied over um