Bring ChatGPT INSIDE Excel to Solve ANY Problem Lightning FAST
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 to Improve Your Ex...
👕☕ 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
Пікірлер: 1 200
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.
@joemurphy4489
Жыл бұрын
Tried several keys, same error. Line 46..
@bencipherx
Жыл бұрын
😂 you code it using the ChatGPT 😂
@bencipherx
Жыл бұрын
This is impressive dear, you know asynchronous programming
@vibhanshsaini7350
Жыл бұрын
Doesn't work even with API key in the right cell... Looking forward to the solution!
@bencipherx
Жыл бұрын
@@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 :)
So cool. I don't know how many hours I've spent researching formulas, but it's a lot. What a time saver!
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!
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.
@LeilaGharani
Жыл бұрын
Wow, thank you!
@lianivandermerwe5172
Жыл бұрын
Could not have said it better. Thank you Leila, you are inspirational.
the most organized, neat and workable version ever. Appreciate your clear, concise and detailed explanation. Please do more!
@WallRopes
Жыл бұрын
can you please help in the error i am getting to run this script?
@thecoyote88
Жыл бұрын
I didn't quite understand how to set up a button. Can you share short instruction?
@Xaviallin1
6 ай бұрын
Ye idek how to get rid of the error
The section where you uploaded the balance sheet into ChatGPT to perform analyses has been a powerful eye opener . THANK YOU LEILA!!!!!🥰😍
@littlebrit
Жыл бұрын
That analysis didn't make any sense. It adds words from previously written sequences. Like a parrot with larger memory.
@j.ballsdeep420
Жыл бұрын
Love the updated emoji
@CaitSith87
Жыл бұрын
First was as well until i saw the answer.
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.
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.
I learned a lot of new things and found this all very intriguing! Thanks for sharing your programming adventures in Excel and ChatGPT!
@LeilaGharani
Жыл бұрын
Great to hear!
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.
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. ;-)
This is a brilliant use case and fabulous execution as well!!
Love this great video and tutorial guide. For someone like me who has little knowledge around this subject this is fantastic
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.🌺
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.
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 🙂
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...
Wow! That’s super helpful and like 3 lessons - Excel, scripts, api integration - all in one video!
Hi Leila, genius is the word that comes to mind! Amazing integration of the application!
@LeilaGharani
Жыл бұрын
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.
@robertpalechek9883
Жыл бұрын
@@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!
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
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 :-)
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.
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
Wow , thanks for taking this to next level by opening our thoughts. Thanks a ton 👍
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
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!
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!
@CraigConlee
Жыл бұрын
Did you get it to work?
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 !
@matthewv4170
Жыл бұрын
Textsplit you can also use text split with an index to get the value you need
@chrisryan3918
Жыл бұрын
“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
@DrKatyaMay
8 ай бұрын
So so true!!! Was so painful 😣. Not anymore 😊
Finally, a tool that can save hours of researching right excel formula. Thanks a lot.
YOU ARE FANTASTIC, LEILA !!! Thanks for the awesome video !
After watching to the end, I am delighted to say that this is just awesome and I couldn't imagine it
@LeilaGharani
Жыл бұрын
Thanks for watching!
@SergeiDumnov
Жыл бұрын
@@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.
Eagerly awaiting an Xelplus course that expands upon this!
@LeilaGharani
Жыл бұрын
Thanks for the trust.
simply amazing Leila, my head has exploded here! many thanks for sharing!
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!
@LeilaGharani
Жыл бұрын
Very happy to hear that Noe. Also kudos to you for continuing to learn and improve.
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.
@double-excel
Жыл бұрын
Absolutely! I actually made a tutorial on how to do this a couple months ago: kzread.info/dash/bejne/ea6mxbVup9bFnto.html
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
@danzai
Жыл бұрын
speaking of AI - this is most certainly a bot
Thank you, Leila for this video on ChatGPT. Absolutely amazing feature from Open AI.
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!!!!
@LeilaGharani
Жыл бұрын
Awesome, thank you!
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.
You are the best. I knew when you came out with your experiments with GPT it would be worth waiting for....Bravo!!!!
And here I just been using chatgpt to make knock knock jokes.
@LeilaGharani
Жыл бұрын
😂 those are also great!
@pranaybandekar2857
Жыл бұрын
27 years fast forward...
@anthonygikuri
Жыл бұрын
@@LeilaGharani Hello Leila are involved in the Give away process now?
@ThomasR-SanJoseRealEstate
Жыл бұрын
Who's there?
@Shaq_Attack
Жыл бұрын
😂
I think you will save some precious time for populating exemples in your videos. Thanks for your work.
I am from Bangladesh. You're my Master in Excel. I am grateful to you. Love you, Ma'am. ❤❤❤
How did you even think to do this? Like you are next level good at everything
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.
@d0cn0tes
Жыл бұрын
kzread.info/dash/bejne/c3mb3NR-ibzIn7g.html
@lordd007
Жыл бұрын
Yeah I didnt realize that I needed commercial Excel :(
@republicshallriseagain419
Жыл бұрын
What the hell is an commercial excell?
@dave9624
Жыл бұрын
"while we were battling Lotus 123" that took me to such a specific point in time lol
@danielwilliams9764
Жыл бұрын
Just ask ChatGPT? 😉
Ms. Gharani, I have been impressed by you many times. However, this time you are simply and utterly outstanding, truly incredible! ❤️ Well done 👏
@LeilaGharani
Жыл бұрын
Thank you so much 🙂
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 . ☺️
@LeilaGharani
Жыл бұрын
Glad you liked it!
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!
@TheAliakbarazad
Жыл бұрын
Its Leila!
@goldman7267
Жыл бұрын
Dumb Noomen
always enjoy watching you tips leila,,, thanks
For all those who toil away writing VBA code this will be a game changer !! Thank you
You explained what you can do with it in excel but you've failed to tell us how to get AI into excell
@Timecontrolll
5 ай бұрын
exactly what i wanted to comment
@christiandrenth2394
5 ай бұрын
kzread.info/dash/bejne/fWmqusOKp8Sek6g.htmlsi=EIPPjR50F70vMWy5
@yudha43
4 ай бұрын
Aa... Glad see this comment. So i dont wasting my time
@junaiddar6929
4 ай бұрын
Option in insert and then, excel must be 2023
@calebgremillion4477
24 күн бұрын
Wow still hasn’t been answered over a year later. You suck at responding to your viewers Layla.
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.
you inspired me to have ChatGpt to write code to embed gpt3 in to excel ... this is soooooooo much fun and exciting.
Your knowledge and application are incredible!
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.
@LeilaGharani
Жыл бұрын
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.
That's great stuff, Leila! Too bad the script function does NOT run in a personal account (only school or organization).
@LeilaGharani
Жыл бұрын
I agree. That is a pity. I hope Microsoft will decide to roll it out to personal accounts too.
Thank you for contributing Leila. This is fun
You make my day Leila, thank you for your research passion.
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.
@flyingsalmon
Жыл бұрын
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.
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.
@adithyas3986
Жыл бұрын
If some one help here to resolve this issue, facing same.
@ioannischatzipantazis479
Жыл бұрын
Same here
@robertasn9442
Жыл бұрын
same here 2
@mtbmonster
Жыл бұрын
@@ioannischatzipantazis479 same here - any solutions?
@kimcole5966
Жыл бұрын
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).
Thank you for putting together a great video for us. You do a fantastic video every single time! Keep it up!
Wow! Absolutely incredible
Please, how do you integrate ChatGPT in Excel?? Is this an Add-In?? How do you create this button directly in Excel? Thank you.
@ianatworkb9105
Жыл бұрын
I'd very much like to know, too.
@LeilaGharani
Жыл бұрын
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).
@ianatworkb9105
Жыл бұрын
@@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.
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.
@juliapardieutroyer9993
Жыл бұрын
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!
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! 🙂
@LeilaGharani
Жыл бұрын
Thanks Vijay for sharing your view and dropping by. I do agree with you that we have to learn the concepts.
@bathob.motubudi
Жыл бұрын
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.
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! kzread.info/dash/bejne/ea6mxbVup9bFnto.html
Follower from Iraq 🇮🇶 Baghdad and ❤ ⚘ Thank you for a useful and interesting lesson. You are amazing .thank you ⚘
Thanks for sharing the scripts writing process as well
Thank you for all the videos!!!
This is an awesome experience watching your video. Thank you for a job well done
Leila, you always present EXCEL skills very succintly.. TQ
Absolutely Amaazing. Building mine now....thank for the idea. You the best
Super valuable information. Thanks!
I really enjoyed your video! 👌👌👌👌👌 Looking forward to your next one! 😜
Thanks Leila, Not often I´m lost for words, but this is simply outstandingly interesting.
@LeilaGharani
Жыл бұрын
Thank you! I was super excited too when it worked ; )
Thanks a lot Leila for sharing your experience
I'm an ardent fan of yours! You truly show there's limit to imagination!
it just keeps getting awesome every new one thanks a lot it helps a lot
Thanks, Leila. You made my work easier.
Thank you Leila! Fantastic video!
Thanks for sharing Leila! Very useful indeed!
Thank you for the in-depth tutorial
Mind boggling. I have been using Excel for many years, but this stuff is just superb!
@LeilaGharani
Жыл бұрын
Glad you like it!
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.
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!!
It works! Amazing. Thank you very much
I love it, thank you for sharing your knowledge with a lot people. Regards
Hi, Thank you very much for sharing all these guides and tips.
Awesome stuff. A whole new world has opened
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.
I can't believe I created a similar excel. It worked! This is awesome!
Thanks Leila for the informative tips.👏
This is amazing! Thank you, Leila!
Just discovered your channel and I think you are freaking amazing!! Thank you for sharing this with us!!
@LeilaGharani
Жыл бұрын
Thank you so much!!
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.
Great video as usual 👍
astonished with this video!!! Thank you super Leila!