Bring ChatGPT INSIDE Excel to Solve ANY Problem Lightning FAST
Вставка
- Опубліковано 15 тра 2024
- Get access to "Quick Wins with ChatGPT" productivity course 👉 link.xelplus.com/yt-chatgpt-c... 🔥use coupon code YTGPT at checkout to get 30% off - available for limited time 🔥
or join 400k professionals in our other courses: link.xelplus.com/yt-d-all-cou...
⬇️ Get the files here: pages.xelplus.com/chatgpt-in-...
OpenAI inside Excel? How can you use an API key to connect to an AI model from Excel?
This video shows you how. You can download the files from the GitHub link above.
Wouldn't it be great to have a search box in Excel you can use to ask any question? Like to create dummy data, create a formula or ask about the cast of the The Sopranos. And then artificial intelligence provides the information directly in Excel - without any copy and pasting!
In this video you'll learn how to setup an API connection from Microsoft Excel to Open AI's ChatGPT (GPT-3) by using Office Scripts.
As a bonus I'll show you how you can parse the result if the answer from GPT-3 is in more than 1 line. This makes it easier to use the information in Excel.
🌍 My Online Courses ► www.xelplus.com/courses/
00:00 How to Connect Excel to Open AI ChatGPT
01:18 Answer Any Question in Excel
02:16 Use ChatBot to Write Excel Formulas
04:16 Analyze Financial Statements with AI GPT
05:21 Use AI to Create Dummy Data in Excel
07:26 How to Build Your Own AI ChatBot in Excel
08:54 Create Office Script to Connect to GPT-3
11:13 Wrap Up
🎬 LINKS to related videos:
How ChatGPT Can Help With Your Complex Excel Spreadsheets: • How ChatGPT Can Help W...
👕☕ Get the Official XelPlus MERCH: xelplus.creator-spring.com/
🎓 Not sure which of my Excel courses fits best for you? Take the quiz: www.xelplus.com/course-quiz/
📚 RESOURCES I Recommend: www.xelplus.com/resources/
More resources on my Amazon page: www.amazon.com/shop/leilagharani
🚩Let’s connect on social:
Instagram: / lgharani
Twitter: / leilagharani
LinkedIn: / xelplus
👉 This description contains affiliate links, which means at no additional cost to you, we will receive a small commission if you make a purchase using the links. This helps support the channel and allows us to continue to make videos like this. Thank you for your support!
#Excel #chatgpt #ai
Grab the files from here 👉 pages.xelplus.com/chatgpt-in-excel-file
For more ideas on using ChatGPT to boost productivity check out our "Quick Wins with ChatGPT" course: link.xelplus.com/yt-chatgpt-course 🔥use coupon code YTGPT at checkout to get 30% off - available for limited time 🔥
If you get the following error: "Line 46: Cannot read properties of undefined (reading ‘0’)" - It's probably because the API key was not input in the right place or is incorrect - or you need to update the gpt version used. Please double check on OpenAI or create a new API key.
Tried several keys, same error. Line 46..
😂 you code it using the ChatGPT 😂
This is impressive dear, you know asynchronous programming
Doesn't work even with API key in the right cell... Looking forward to the solution!
@@vibhanshsaini7350 paste your error inside chat gpt
I am a beginning-intermediate Excel user, and I often return to your channel for help. Even though I don't know how to write code, I gave this a try and am surprised and delighted it worked! Even though I believe it's important to learn Excel without AI assistance, it's tutorials like this that make learning fun, inspiring, and keep me motivated to continue learning. Thank you so much! I hope to take your courses someday too :)
All this time I thought _you_ were the real AI behind all the Excel videos I've watched!
Seriously though, if this had been around when you were learning you may not be as well versed in teaching the rest of us.
Thanks Leila!
So cool. I don't know how many hours I've spent researching formulas, but it's a lot. What a time saver!
the most organized, neat and workable version ever. Appreciate your clear, concise and detailed explanation. Please do more!
can you please help in the error i am getting to run this script?
I didn't quite understand how to set up a button. Can you share short instruction?
Ye idek how to get rid of the error
You say "let me know what you think"
I say and I think this is totally awesome. And you made such a great contribution to my day's work by sharing this with us all. Thank you Leila.
Wow, thank you!
Could not have said it better. Thank you Leila, you are inspirational.
Leila, Thank you so very much for this! I have successfully gotten my secret API key from OpenAI and have entered the proper script into excel. I can't wait to begin using this to help me with my data. You are so knowledgeable and I thank you for sharing your talent with the world.
Outstanding video, we are on the verge of the next technological revolution... brace yourselves, it's goign to be a fun ride! Thank you Leila for taking the time to put this together.
The section where you uploaded the balance sheet into ChatGPT to perform analyses has been a powerful eye opener . THANK YOU LEILA!!!!!🥰😍
That analysis didn't make any sense. It adds words from previously written sequences. Like a parrot with larger memory.
Love the updated emoji
First was as well until i saw the answer.
I learned a lot of new things and found this all very intriguing! Thanks for sharing your programming adventures in Excel and ChatGPT!
Great to hear!
Too few people out there know of the pain of having to split a single row into multiple. I swear it likely comprises a good chunk of my lifetime thus far ;D Great video , and really well explained. Even though i have long since left excel behind, i know without a doubt there will be many that will find this an absolute godsend !
Textsplit you can also use text split with an index to get the value you need
“Text to columns”. With character delimiters or the option where you drag lines through the data which is good if all the strings on each row have similar spacing.
The better way is get good using the “mid” and “search” and “cell(“file name”). Those are all very powerful ways to parse data
So so true!!! Was so painful 😣. Not anymore 😊
Leila’s the best. I personally learned a lot from your videos, which impacted my works and projects. Thank you Leila and keep videos coming please.
Thanks Leila - Been following your channel for a while and there a lot of tricks I have learnt from you. Keep up the good work. This one makes it easier for me to start playing around with ChatGPT native to excel.
Love this great video and tutorial guide. For someone like me who has little knowledge around this subject this is fantastic
This is a brilliant use case and fabulous execution as well!!
A lot of us figured out solutions to problems from our jobs through channels like this.
We'd be grateful to still have these jobs with videos like this...
You asked what we think?
I think you are a Darling and a Genus.
The fact which make me appreciate you more is your constant quest of learning & pushing your boundaries.
This is a wonderful quality.
Thanks again for sharing,
Best Regards from Pakistan.🌺
Great VDO (again). My I suggest, as a possible improvement, that you could also ask chatGPT to "give me the result in 2 columns so I can use it in Excel". You'll get the result directly formatted into a tabular reponse 🙂
Good work! Since this is an excel integration, you could determine the delimiter of a table output from chatGPT (i.e. "," for CSV) and output the separated values in the table directly
Wow! That’s super helpful and like 3 lessons - Excel, scripts, api integration - all in one video!
9:09 you are brilliant! I can relate to your excitement! I can’t wait to begin trying your methods! Thank you for showing me ways to reduce hours of researching!
Hi Leila, genius is the word that comes to mind! Amazing integration of the application!
Thanks Robert. No genius here. Just having fun on a Saturday morning experimenting and learning some JavaScript and Office Scripts along the way. Thanks for dropping by.
@@LeilaGharani Leila, continue being the light in a world of darkness, more than just what you do with Excel - you are an inspiration for the world!
Incredibly useful video. Thanks so much for sharing your code. This a great for those looking to get more out of excel by incorporating AI, something a lot of us wouldn’t have thought to do natively. I really appreciate your passion for Excel and for teaching others. Your videos are always my goto for learning new things in Excel. You have really supercharged my Excel skills and workflow!
Did you get it to work?
Finally, a tool that can save hours of researching right excel formula.
Thanks a lot.
I was wondering Leila hasn't shared her thought about this AI monster. THANK YOU FOR TAKING THE FLOUR. I hope to learn more about the magic of ChatGPT
Wow, this is amzing stuff! I was thinking about this the other day. Thought that it would be nice if it could analyze my data for me and show me how to do the formulas.
Wow , thanks for taking this to next level by opening our thoughts. Thanks a ton 👍
Quel talent ! Merci Leila ! Anytime I hear and see your productions that inspires really much. Today with GPT_3 and MS Script integration, l have a lot to grind. ;-)
I think you will save some precious time for populating exemples in your videos. Thanks for your work.
Nice! Would love to see this done in the Excel Macro or VB script space. Commercial Excel is required for Scripts so it leaves some of us out. Thank you. As a 20 year MS vet who started while we were battling Lotus 123, it is great to see you showcasing these great features.
ua-cam.com/video/AEgzrEYYboU/v-deo.html
Yeah I didnt realize that I needed commercial Excel :(
What the hell is an commercial excell?
"while we were battling Lotus 123" that took me to such a specific point in time lol
Just ask ChatGPT? 😉
Nice work Leilia, I reckon the API integration could be done with Power Query too, it would be a bit tricky but I'd love to see it.
Absolutely! I actually made a tutorial on how to do this a couple months ago:
ua-cam.com/video/GzrcS5ws_nw/v-deo.html
That's amazing Leila! While it is great to have this tool, couple of things about what you said in the end... 1) If this was made available before few years, we would have missed learning from you, many tricks, tips and inputs on Excel and other topics in person. and 2) There is no substitute for the self efforts to understand and apply the techniques by learning, and ChatGPT may be used as a starting point, or as a quick fix, when you don't have time due to urgency/demand. Of course, this is my view and I respect everyone else's POV. Thanks for a great and insightful video! Keep it up! 🙂
Thanks Vijay for sharing your view and dropping by. I do agree with you that we have to learn the concepts.
Totally agreed. ChatGPT requires oversight. You can't take everything it gives you without cross-checking and having your own view. The model is still learning.
Im loving your course! And constant updates like this truly help to get my knowledge on excel to the next level! Thank you for sharing!
Very happy to hear that Noe. Also kudos to you for continuing to learn and improve.
I’ve been using chatgpt to give me vba and python programmes and while not perfect, with patience and specific questions the results are incredible
After watching to the end, I am delighted to say that this is just awesome and I couldn't imagine it
Thanks for watching!
@@LeilaGharani Hi Leila. Ask chartGPT to solve the following problem: "Maria's seven dollars short to buy a book and Mike is one dollar short to buy the same book. They combined their money, but it is still not enough to buy the book. How much does the book cost?" Than do the back-testing the solution., please. You will be surprised.
simply amazing Leila, my head has exploded here! many thanks for sharing!
Thank you, Leila for this video on ChatGPT. Absolutely amazing feature from Open AI.
Great insights. This will change the way we use Excel.
Though it makes it useful for dumb users, I still think we need to kow a lot about Excel, the ability to set-up and do an API call etc.. but the level of advancement in usage would be phenominal.
Thanks Leila for the insights and this will set the mind ringing on how to leverage AI in excel.
Eagerly awaiting an Xelplus course that expands upon this!
Thanks for the trust.
Thank you, thank you, thank you! This will save me untold hours of research. You are amazing Leila! You provide quality information that is much appreciated.
And here I just been using chatgpt to make knock knock jokes.
😂 those are also great!
27 years fast forward...
@@LeilaGharani Hello Leila are involved in the Give away process now?
Who's there?
😂
I can't stop to be amazed by how you can leverage the capabilities of AI to work for you. @Leila, you are a real inspiration to the excel and tech world etc
speaking of AI - this is most certainly a bot
YOU ARE FANTASTIC, LEILA !!!
Thanks for the awesome video !
Ms. Gharani, I have been impressed by you many times. However, this time you are simply and utterly outstanding, truly incredible! ❤️ Well done 👏
Thank you so much 🙂
How did you even think to do this? Like you are next level good at everything
Thank you for the amazing video, Laila! I was really impressed by the demonstration of connecting OpenAI's GPT-3 to Microsoft Excel. The tutorial was very helpful and the bonus of parsing the results was a great touch. I was wondering if you could consider creating a similar video for Python/Streamlit? That would be really great!
Its Leila!
Dumb Noomen
Thanks Leila . I am your one of the students from different forums and platforms. This video is on another level Ma’am . Looking forward to see more like this . Thank You once again . ☺️
Glad you liked it!
I have been watching your videos for the last few months and find them to be very excellent. I really enjoy them a great deal :-)
That's great stuff, Leila! Too bad the script function does NOT run in a personal account (only school or organization).
I agree. That is a pity. I hope Microsoft will decide to roll it out to personal accounts too.
you inspired me to have ChatGpt to write code to embed gpt3 in to excel ... this is soooooooo much fun and exciting.
Follower from Iraq 🇮🇶 Baghdad and ❤ ⚘ Thank you for a useful and interesting lesson. You are amazing .thank you ⚘
Always enjoy your videos and usually learn lots. But sometimes I have trouble keeping up with you when you are doing things so quickly. Guess I can replay over and over to get better understanding.
Thanks Doug for your comment. Yes - agree, in this case I didn't go through the code step by step as the video would get far too long. You can download the Office Scripts from the link in the video description. I hope that would help.
Hello Leila,
I have been following through your videos for quite sometime now. Beautiful content, I love watching it. However I was trying same steps as you have mentioned above in my local pc, but I can't happen to see "Automate" tab at all. Can you help me by telling me which version and suite were you using for this excel spreadsheet shown in the video? And do mention if there's any other details I should know.
Thanks in advance, and great work, wishing you more success!
Kind Regards,
Tasneem.
There's no Automate tab or menu either here. And I'm set to auto-update O365...so it might be rolling out slowly to the mass over time.
Thanks Leila, Not often I´m lost for words, but this is simply outstandingly interesting.
Thank you! I was super excited too when it worked ; )
Wow...thank you for highlighting such a powerful feature for excel...cant wait to see this take off. Have you done more videos with Office Scripts? If not...maybe an area of opportunity to exemplify other use cases for this. Thank you very much for all the things you share.
Awesome integrations! However, ChatGPT does not really analyze this financial statement as an analyst would do it. If you change your question to simply "can you analyze this financial statement", it will tell you the company is very healthy with strong assets. If you suggest it might be at risk, it will find risks, if you make suggestions it will follow it. It is true that this language generation AI can be trained for specific purposes like finding numerical patterns in financial data for example, however I think it's very important that people who promote the use of such tool understand how the answers are built and what's their status.
Leila, you are awesome! As always, I've learned so much from you courses. However, I keep getting the error Line 46: Cannot read properties of undefined (reading '0') for const text: (string | boolean | number) = json.choices[0].text; In reading other messages you mention the API key. I regenerated the key (so tried two key) and I've pasted it into the API sheet B1 and still get the error. Any suggestions on how to resolve. Also using business account, saved on one-drive business, and have Office 365 automate option.
Thanks in advance.
If some one help here to resolve this issue, facing same.
Same here
same here 2
@@ioannischatzipantazis479 same here - any solutions?
I got the same error, before I asked the Bot a question. I also fixed line 23: headers.append("Authorization", `Bearer ${apiKey}`); where I had used apostrophes instead of backquotes- which may have corrected it. Once I corrected that and asked a question, that error resolved (I also had to delete the original Run button and replace it with a new one, and renamed and resaved the script).
You make my day Leila, thank you for your research passion.
Thank you for contributing Leila. This is fun
You explained what you can do with it in excel but you've failed to tell us how to get AI into excell
exactly what i wanted to comment
ua-cam.com/video/K5vXaQwa8cE/v-deo.htmlsi=EIPPjR50F70vMWy5
Aa... Glad see this comment. So i dont wasting my time
Option in insert and then, excel must be 2023
Wow still hasn’t been answered over a year later. You suck at responding to your viewers Layla.
Please, how do you integrate ChatGPT in Excel?? Is this an Add-In?? How do you create this button directly in Excel? Thank you.
I'd very much like to know, too.
It's not an add-in. It's using Office Scripts which is new macros of Office 365 (similar to VBA but Office Scripts also works online).
@@LeilaGharani Ah, that's fantastic! I've used macros on a number of occasions and was very sad to see them stripped from online access -- especially since I have a lot of colleagues I design workbooks for whom that's the only way they access Excel. I'm going to have to look into Office Scripts. Maybe you've already created a video on using those Scripts to import ChatGPT into Excel, but if not, that'd definitely be something I'd be very excited to learn.
I am from Bangladesh. You're my Master in Excel. I am grateful to you. Love you, Ma'am. ❤❤❤
Thank you for putting together a great video for us. You do a fantastic video every single time! Keep it up!
Yeah, cross checking is critical! ChatGDP is still liable to go totally off sometimes (especially with complex problems) ... but, as you point out, it's still a good tool to help us humans get there!
The oversight seems really important so we don't automate this entirely. Personally I'm slightly concerned about the feedback loop where AI generated content inavertantly generates it's own training sets from what it's generated ... guess we'll see.
Absolutely right. I luv the opportunities for using integrated AI to streamline actions, activities and information. The video is a nice representation of that and a nice, inspiring presentation. I'll definitely take the steps to automate and link internal information through code.
We just also need to be aware of the limitations of AI generated responses at this stage. It does not KNOW things. It mimics, and predicts.
Test, verify, utilize what you can in ways you can. do NOT take responses for granted when asking questions...Sudan isn't #10 in area in any reliable list I can find. AI hallucination and factual failures abound at this stage.
The automation within your workbooks is great! Well worth the video. Grabbing information from the web is still just as reliable as the random web. Be aware.
Thanks for the vid!
Awesome to see this done with Office Scripts! I'm curious to hear your preference between building this in Office Scripts vs PQ. I made a video a while back about integrating the ChatGPT API into PQ and giving it a front end much like this in Excel. Would love to hear what you think!
ua-cam.com/video/GzrcS5ws_nw/v-deo.html
This is amazing! Thank you, Leila!
This is very great video Leila, thank you very much. Yet, as you said, we need to double check all the information comes for AI since it can be wrong or out of date. For example, Sudan is no longer in the top 10 biggest country by area because it was divided into two different countries North Sudan, and Southern Sudan.
Still, this is very brilliant tutorial. Keep the great work!
this is AWESOME!!!It's my first time commenting but I'm a long-time subscriber already because you have a very simple explanation and speak clearly and on point. Keep it up! Thank you so much!!!!
Awesome, thank you!
Leila, you always present EXCEL skills very succintly.. TQ
For all those who toil away writing VBA code this will be a game changer !! Thank you
Thanks for sharing the scripts writing process as well
For sure in the near FUTURE ChatGpT will be able to built our own personalized dashboard in Power BI but what will be a MILESTONE is that instead of manually using the mouse to click over a different scenario( e.g. to see the expenses by month instead of quaterly or to look for some specific category of expenses,etc) We will be able to ask with our voice to the Dashboard to show us that kind of information by using the collaboration of A.I. what a great Era!!
Your knowledge and application are incredible!
You're the best teacher to me, your teaching style I like most.
Is there any plan that you will launch an office script course in the near future!???
This is an awesome experience watching your video. Thank you for a job well done
Is that you that I now hear doing voice-over for car advertising? It is a unique and silky voice, absolutely makes you want to go out a buy a new car!
I'm an ardent fan of yours! You truly show there's limit to imagination!
I asked for a checker board program in c++ and a floating colourful banner in c++ and it give me code in seconds. Back in the 90’S we were asked in school to do these programs. So cool.
I really appreciate the INDIRECT formula it generated to pull in the diff Sheets.
Thank you Leila! Fantastic video!
Thanks for the Video. I managed to have ChatGPT produce a VBA version of the Office Script and have the script run when a new value is entered in the ask cell removing need of the button. This is fun.
Absolutely Amaazing. Building mine now....thank for the idea. You the best
Mind boggling. I have been using Excel for many years, but this stuff is just superb!
Glad you like it!
Hi, Thank you very much for sharing all these guides and tips.
Thanks for sharing Leila! Very useful indeed!
Huge thank you, Leila!
thank you so much, would be happy to see more videos about microsoft script & chatgpt. It would be awesome to get the answer in a loop to be able to follow up on the conversation. also it would be nice to link question 1 with chat-gpt answer1 (in an specific traceable order). in this way you could replicate the chat function in chatgpt but in a more traceable way. would love to learn more about it
Thank you for the in-depth tutorial
Thanks a lot Leila for sharing your experience
This is really a great video, Your Video’s help me to take my excel skills to the next level. And heartily thanking you to sharing your amazing work. Looking forward more from you.
😎 I was waiting for this. 🤗 so interesting. Thank you Leila 😃 the best ever 😎
always enjoy watching you tips leila,,, thanks
I really enjoyed your video! 👌👌👌👌👌 Looking forward to your next one! 😜
I love it, thank you for sharing your knowledge with a lot people.
Regards
Awesome stuff. A whole new world has opened
Amazing and scary and AMAZING! Looks great. Can't wait to try this out.
Thanks Leila for the informative tips.👏
Super valuable information. Thanks!
thanks a lot for this useful tutorial on how to bring GPT into excel. you are the best!
Great job as always. Very helpful. Thank you.