ChatGPT embedded in Excel data analysis

I embedded ChatGPT in excel using API & script. Now i am trying it to read data in the next sheet & provide answers. However it’s very inconsistent.
I am sure someone must have done it already. Can someone help?

Starting down same road now, wondering if you’ve got further experiences you’d be able to share