Learn Excel MACROS in 10 Minutes Using Real World Examples

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ค. 2024
  • Learn how to use Excel Macros to automate any repetitive task on Excel.
    📈 Get 25% OFF all Financial Edge Courses Using Code KENJI25: bit.ly/3CcV6ba
    🆓 DOWNLOAD Free Excel file for this video: view.flodesk.com/pages/633fe6...
    In this video you'll learn how to record a macro, add a macro button, and edit the macro code in VBA in less than 10 minutes.
    Using macros, you'll be able to save hundreds of hours by automating any repetitive or boring task in your day to day job. To make the tutorial realistic, we'll simulate a real-life scenario where we need to format a dataset and create a chart every week. As this is a repetitive taks, you can record a macro so you only have to click one button to format what would otherwise take 5 or more minutes.
    Finally, you'll learn to save the Excel file as a Macro enabled workbook so the Macros remain active.
    LEARN:
    📊 Get 25% OFF all Financial Edge Courses Using Code KENJI25: bit.ly/3e697iK
    SOCIALS:
    📸 Instagram - careerprinc...
    🤳 TikTok - / career_principles
    🧑‍💻 LinkedIn - / careerprinciples
    GEAR:
    📹 My Favorite Books & Gear: kit.co/kenjiexplains
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Chapters:
    0:00​ -​ Record a Macro
    3:17​ - Adding a Macro Button
    5:06​ - Highlight any area with Macros
    7:07​ - Edit Macro using VBA code
    8:35​ - How to save Excel files with Macros
    Disclaimer: I may receive a small commission on some of the links provided at no extra cost to you.

ความคิดเห็น • 217

  • @KenjiExplains
    @KenjiExplains  ปีที่แล้ว +22

    📊 Get 25% OFF all Financial Edge Courses Using Code KENJI25: bit.ly/3e697iK
    Learn more about automating with Macros & VBA here: th-cam.com/video/kdYWe0xkFKU/w-d-xo.html

  • @TheKumarAshwin
    @TheKumarAshwin ปีที่แล้ว +5

    Thank you Kenji for the informative video. I just wanted to add that VBA is not a tool, but rather a programming language. Great job by highlighting its capabilities!

  • @thechemtrailkid
    @thechemtrailkid ปีที่แล้ว +7

    I love Excel macros. I used a relatively simple one to automate individualized customer retention documents for our firm. Saves so much time.

  • @TheMrsundaygamer
    @TheMrsundaygamer ปีที่แล้ว +17

    Hi Kenji, I am in the final year of my engineering course, and this helped me in my design calculations and report. And got to learn a new thing. Thanks a lot.

    • @KenjiExplains
      @KenjiExplains  ปีที่แล้ว +2

      Glad it helped! Awesome to hear :)

  • @mana8427
    @mana8427 ปีที่แล้ว +20

    Hey Kenji, thank you so much for all the videos. They are making a real difference. Stay the way you are (very authentic and with your energetic smile) and you will go very far with this TH-cam channel. A year (mostly 2 ) from now you will have a million subscribers.

  • @donnaassenza3025
    @donnaassenza3025 ปีที่แล้ว +4

    Cannot wait to create my first macro. Easy & precise directing 👍🏻👍🏻👍🏻

  • @raphaelfrique1
    @raphaelfrique1 ปีที่แล้ว +1

    Gracias Kenji! Excelente video

  • @eacarvalho
    @eacarvalho ปีที่แล้ว

    Nice video, Kenji! I didn’t know I wanted to learn about Macros until I saw your video. Thanks!

  • @joseernestosabatercalvet1810
    @joseernestosabatercalvet1810 ปีที่แล้ว

    Thanks for the video Kenji!!!

  • @bosrules1
    @bosrules1 ปีที่แล้ว +2

    You are excellent. Very calming and professional to listen to. keep up the great work.

  • @DanielGabani
    @DanielGabani 2 หลายเดือนก่อน

    Super video! Short, well explained and easy to understand.

  • @pratikjaiswal5764
    @pratikjaiswal5764 ปีที่แล้ว

    Thanks for such short but concise info

  • @btbb3726
    @btbb3726 ปีที่แล้ว

    Nice video. Very clear. Thank You!

  • @anikethake54
    @anikethake54 11 หลายเดือนก่อน +1

    Great content, thank you!

  • @LordFalconsword
    @LordFalconsword ปีที่แล้ว +1

    Good descriptions, thanks. I'd love to see one on how to easily export a macro so others can use it.

  • @Seftehandle
    @Seftehandle ปีที่แล้ว

    phenomenal video!

  • @gitali
    @gitali 2 หลายเดือนก่อน

    Thanks for this! That will save me big chunk of time everyday! Also thanks for the shortcuts. Value packed video! Subscribed

  • @luisitocatalbas3804
    @luisitocatalbas3804 ปีที่แล้ว

    Excellent video,thanks.

  • @svaybopha6648
    @svaybopha6648 ปีที่แล้ว

    Thank you for the video. Great to leaning!

  • @devinmorton7390
    @devinmorton7390 ปีที่แล้ว

    This was very helpful! Thanks :)

  • @thepakistanihomeschooler5510
    @thepakistanihomeschooler5510 ปีที่แล้ว

    OMG, You are phenomenal, just phenomenal. Gracias.

  • @Nfladdict
    @Nfladdict ปีที่แล้ว

    Kenji, you the king

  • @BenDieselBasicAutomotive
    @BenDieselBasicAutomotive ปีที่แล้ว

    Another new learning for me.... Thanks again Sir and more power...

  • @Ajuu974
    @Ajuu974 ปีที่แล้ว

    Your videos are so easy to understand 😊✅

  • @richardgordon
    @richardgordon ปีที่แล้ว

    Really useful! Also very well explained!

  • @kausombichoudhury1100
    @kausombichoudhury1100 ปีที่แล้ว

    Thank you Sir... I was wondering how to save the file but you solved the problem just like a magic.. Thank you so so much!!😇

  • @Husebio
    @Husebio ปีที่แล้ว

    Great video, thank you.

  • @raj_patel_43
    @raj_patel_43 ปีที่แล้ว

    Hey Kenji, You are just awesome❤

  • @jmiles018
    @jmiles018 ปีที่แล้ว

    bro! this is very helpful! thank you for this!

  • @mumtazsajid6172
    @mumtazsajid6172 ปีที่แล้ว +1

    Best Explaination Ever

  • @christiantuano7824
    @christiantuano7824 ปีที่แล้ว

    Thank you that very useful info!

  • @ExcelTimeSavers
    @ExcelTimeSavers 4 หลายเดือนก่อน

    Great as usual

  • @jhangirtanveer1422
    @jhangirtanveer1422 ปีที่แล้ว

    Good Job brother. Well explained :)

  • @NerdsRunTheWorld
    @NerdsRunTheWorld หลายเดือนก่อน

    This is amazing stuff! Wow

  • @mosessumaoy
    @mosessumaoy 2 หลายเดือนก่อน

    Thank Kenji we don't learn this from school and the online course is expensive. Now I can experiment here on my PC.

  • @Mr97Frog
    @Mr97Frog ปีที่แล้ว

    Hi Kenji,
    As usual, thanks for the informative tutorials. Would you do a tutorial on VBA please?

  • @abhijeetmahajan9
    @abhijeetmahajan9 ปีที่แล้ว

    Hi Kenji, we need more such videos on Dashboards Macros VBAs for beginners.. Thanks

  • @bisyrim1030
    @bisyrim1030 ปีที่แล้ว

    thanks mate for your kindness to share

  • @rschloch
    @rschloch 5 หลายเดือนก่อน

    I subbed this channel because of keyboard-shortcutting. You have my respect.

  • @michaelquach7046
    @michaelquach7046 ปีที่แล้ว

    Awesome! Can use this to really automate some office tasks 👍

  • @vikramadityarathore97
    @vikramadityarathore97 ปีที่แล้ว

    Great going Kenji!

  • @brentlanyon4654
    @brentlanyon4654 ปีที่แล้ว +15

    Great beginner intro to VBA! I do, however, feel compelled to mention that "Merge and Center" is generally not considered best practices for more complicated workbooks.

    • @phonekl8441
      @phonekl8441 ปีที่แล้ว

      Agree. Merge and center is a big no no

    • @Brenleysage
      @Brenleysage ปีที่แล้ว

      @@phonekl8441 how come?

    • @phonekl8441
      @phonekl8441 ปีที่แล้ว

      @@Brenleysage merge And center makes your spreadsheet looks better.
      However, it will reduce the efficiency of data filtering. For example, if you merge Col A and B, then you will not be able to do a proper filter on Col A and B anymore.

    • @treycorte2203
      @treycorte2203 ปีที่แล้ว

      @@phonekl8441can’t you get a proper filter if you apply it to the column below

  • @Saadi_Lyfe
    @Saadi_Lyfe 6 หลายเดือนก่อน

    This is awesome. I have to upload stocks and sales data on google sheets on a day to day basis, which requires quite a few formulas to convert dates and formatting cells. Im planning to make a master sheet on my pc where i could keep the data for each day using macros and then once the sheets are ready I can copy paste them on a new sheet and upload.
    Will try it tmrw and then edit my comment. Thanks alot.

  • @solomonbhandari-young4154
    @solomonbhandari-young4154 ปีที่แล้ว

    Awesome video

  • @abdulhamidalhaddadi2255
    @abdulhamidalhaddadi2255 ปีที่แล้ว

    Thank you

  • @_sootyfoot
    @_sootyfoot ปีที่แล้ว

    This was ace! Thanks Kenji

  • @DROIDFARM
    @DROIDFARM ปีที่แล้ว

    Liked and subscribed!

  • @veevee7555
    @veevee7555 ปีที่แล้ว

    Good Kenji 😊🙏

  • @Oyeppape
    @Oyeppape ปีที่แล้ว

    Wonderful subscribed 🎉

  • @NightWear21
    @NightWear21 ปีที่แล้ว

    Hey I'm definitely fish out of water here, i'm more mechanical and DIY than a tech person. But I definitely see use for this material in the long run. I'm a fan of learning in general (hence why i'm watching your videos, more information..) I see this being valid in future skills. Another fantastic part of this is crossing paths with ppl whom are waaay smarter than myself in these areas. Nothing like being a beginner somewhere new. I'm quite tech saavy for the fact that I recognized all your keystrokes and was able to follow with ease, altho i'm not familiar with exel. Complete beginner here for that program.
    Thank you for the video! I will definitely be watching more! Keep making excellent quality work. This was fantastic.

    • @xxczerxx
      @xxczerxx ปีที่แล้ว

      If you're not familiar with Excel, why would you need to learn macros? That's not me being snarky, it's a genuine question!
      I would recommend you to learn Excel first because what this is doing is automating what is just an Excel process.

  • @ahsanjamil4131
    @ahsanjamil4131 ปีที่แล้ว

    Hi Kenji!.
    I have a question about macros.
    I am working as an inventory analyst and i have to adjust the negative stock quantity as positive with the products have similar descriptions and costs. I want to record macros for that and can't seem to pin it down. Can you please give me some tips?

  • @piruriz1216
    @piruriz1216 ปีที่แล้ว

    Giiirrrllll ima take naps at work! Thank yiuuuuu

  • @jhow8990
    @jhow8990 หลายเดือนก่อน

    Thanks for the video. Can we use macro to link to external app like SAP?

  • @oscarzhang3964
    @oscarzhang3964 ปีที่แล้ว

    thank you Kenji 🥰🥰

  • @wyrm6
    @wyrm6 ปีที่แล้ว +25

    You have great videos and I have learned very much by watching them. I have used VBA for some time for automation. There is one small mistake in the video. The code that You showed with "xlBottom" is vertical position of the text in merged cells (B2:G2) (the text is on the bottom of the merged cells). Argument for dynamical range is xlDown (or xlToRight if you go Ctrl+Shift+Right).

    • @enderaslan7998
      @enderaslan7998 ปีที่แล้ว +1

      thats not a small mistake... and 2nd macro works just by luck : ))

    • @JezuzChr1st
      @JezuzChr1st ปีที่แล้ว

      @@enderaslan7998 Agreed that it's not a small mistake. It really makes it seem like he doesn't really know what he's talking about. As for why it still works, using the ctrl+shift+arrow the recorder selects a new range from the original selection to the end of the data, so he is correct when he says that is the reason that it still works. As long as the data is consecutive you could add as many rows or columns to the ends as you want and it would still work fine, however if you move your data it would break.

  • @MrTheoreoguy
    @MrTheoreoguy ปีที่แล้ว +2

    I just got offered a Business Analyst position and your videos are super helpful!

    • @LilYoda66
      @LilYoda66 ปีที่แล้ว

      Same here. How’s it going for you? I’m retraining myself in excel and SQL. Any tips that have helped you the most?

    • @MrTheoreoguy
      @MrTheoreoguy ปีที่แล้ว +1

      @@LilYoda66 I'd say one of the main things you need to be able to do as a Business Analyst is to look at existing systems and how to improve and enhance them. That's what I do pretty much all day

  • @justinchan7844
    @justinchan7844 ปีที่แล้ว

    Handsome teacher ❤

  • @MohamedEmad-mw6hw
    @MohamedEmad-mw6hw ปีที่แล้ว

    Thanks for this valuable Video ❤ just one help, What is the tool or program using to record this high quality video?

  • @imsayeed
    @imsayeed ปีที่แล้ว +4

    bro need a playlist like basic to advance! you are great.

    • @KenjiExplains
      @KenjiExplains  ปีที่แล้ว +2

      Noted thanks for the suggestion!

    • @imsayeed
      @imsayeed ปีที่แล้ว

      ​@@KenjiExplains you are welcome boss! i have been following you for a long time. i Don't get that much time to practice all of your tricks but whenever i see your video, I don't waste time to do other things 💝
      keep it up Boss!

    • @muzmemon
      @muzmemon ปีที่แล้ว +1

      @@KenjiExplains Please let us know if you can curate one for us! Love this idea!

  • @willzinner8813
    @willzinner8813 ปีที่แล้ว +47

    Can you make a video on VBA too?

    • @KenjiExplains
      @KenjiExplains  ปีที่แล้ว +15

      Will do depending on how this one performs :)

    • @samantchauhan6209
      @samantchauhan6209 ปีที่แล้ว +4

      @@KenjiExplains i will watch as much as i can watch this video so that we can get more videos on VBA.

    • @rudrashishmajumdar4251
      @rudrashishmajumdar4251 ปีที่แล้ว +1

      @@KenjiExplains what number of views is good performance for you?

    • @shreyasd4663
      @shreyasd4663 ปีที่แล้ว +1

      @@KenjiExplains same question

    • @baishya775
      @baishya775 ปีที่แล้ว

      @@rudrashishmajumdar4251 25 quadrillion

  • @blackshirtsd9916
    @blackshirtsd9916 ปีที่แล้ว

    Nice! Thank you! Improving my excel skills would greatly improve my job/work. I need to “excel” in this badly! Lol

  • @rockj8197
    @rockj8197 ปีที่แล้ว +2

    Kenji- thanks for the great work! You make excel so much more accessible. Question:These macros work in this workbook and the buttons only work on the page you made them on. How will this help with next weeks "financials"?

    • @cristelarts
      @cristelarts 4 หลายเดือนก่อน +1

      You can choose to save your macro to "This Worksheet" or "personal worksheet". If you choose personal, then you can always access the recorded macro when working on different workbooks

  • @camlex6310
    @camlex6310 ปีที่แล้ว

    Really cool action :))

  • @lloydfisher1328
    @lloydfisher1328 ปีที่แล้ว

    Question: I've made an automatic stock tracker but cannot figure out how to have 60 individual cells change color automatically based on the current price compared to where it started the day...obviously green for + on the day and red for - on the day. Thanks in advance

  • @aswinbk
    @aswinbk ปีที่แล้ว

    Does the data needs to be within same exact cells like the data on which we recorded macro?

  • @Griffindor21
    @Griffindor21 ปีที่แล้ว

    Great video👍.
    But if theres a macro embedded in excel, will that be a problem if you import that file into Power BI?

  • @kkkkit
    @kkkkit ปีที่แล้ว

    We’ve got a data splitter at work which you can put date eg 12/09/2022 and it will auto split it into 3 columns for day,month and year. We need one for splitting names though, is there a way of doing that automatically straight away without going through data > text columns etc. the date one just comes up automatically

  • @Silver-qz8bp
    @Silver-qz8bp 10 หลายเดือนก่อน

    Do you have videos on how to run macros or vba on protected sheets?

  • @bashirahmad4889
    @bashirahmad4889 ปีที่แล้ว

    Wish you best of luck.

  • @rehaan2186
    @rehaan2186 5 หลายเดือนก่อน +1

    What if the range of week 2 data is not same as week 1 data?
    Will it work?

  • @DL-fh9uf
    @DL-fh9uf ปีที่แล้ว

    Hey Kenji, thank you. I was wondering why I cannot insert combo chart? It doesn'r recognize multiple columns. Says : select at least 2 series of data. I have three series, just like you

  • @samuelonuegbu4276
    @samuelonuegbu4276 ปีที่แล้ว

    Is it possible to record macros for every data cleaning task?

  • @paromitaganguly4409
    @paromitaganguly4409 ปีที่แล้ว +1

    Hi Kenji. Your video tutorials are really helpful. I have even enrolled myself in two of your courses. Just wanted to know if you offer any courses for those who want to enter in to data analyst role from a non IT background. If so please let me know as I am very eager at this point.

    • @KenjiExplains
      @KenjiExplains  ปีที่แล้ว +3

      Hi there! Thank you for the message and for enrolling in out courses.
      We’re currently working on a data analyst track which will include SQL and Power BI. Hopefully we can get that out before the new year. Stay tuned 😁

    • @paromitaganguly4409
      @paromitaganguly4409 ปีที่แล้ว +1

      @@KenjiExplains Thank you so much Kenji. The excel tutorial is really helping me to up my excel gap in a lightening speed in just a week span. I am currently working as office administrator and really want to restart my career as junior data analyst. Will be eagerly waiting for the new course.

  • @divyammandalia810
    @divyammandalia810 ปีที่แล้ว

    Do the cell numbers need to be the exact same every single time for this to work?

  • @Prashant_equity
    @Prashant_equity ปีที่แล้ว

    How can we use vba macro for financial modeling

  • @mikheilitchulukhadze8554
    @mikheilitchulukhadze8554 ปีที่แล้ว +2

    Will you add Power BI lessons?

  • @DaInfamous819
    @DaInfamous819 8 หลายเดือนก่อน

    Good day , is it possible to make a macro for repetitive tasks but I need it for different name files. Its always the same acruins but the file names change for everydays date kind of thing . Thanks

  • @dccd673
    @dccd673 3 หลายเดือนก่อน

    So the shortcuts you use, are they for Windows? Are they the same for Mac users?

  • @dennisheijnz
    @dennisheijnz ปีที่แล้ว

    When adding a new macro there is a shortcut option underneath where you name the macro so there is no need to make a button 3:56

  • @raghavbinnani6473
    @raghavbinnani6473 ปีที่แล้ว

    bring more videos on investment banking and finance.

  • @jdperalta84
    @jdperalta84 2 หลายเดือนก่อน

    I noticed you did everything with keyboard shortcuts. Can it work with actual clicking as well?

  • @tristanontheway
    @tristanontheway ปีที่แล้ว

    Yes kenjiiiiii

  • @jean-marieanseline5859
    @jean-marieanseline5859 ปีที่แล้ว

    Hi
    Would kindly asked you to make a video or send me any link regarding how to work with dates on excel sheet
    To format in such manner that it is possible to have in advance when the dates expires.
    Any help plz

  • @mohammadshafeeq3471
    @mohammadshafeeq3471 5 หลายเดือนก่อน

    Hi can you make a video series on financial modelling

  • @newmhelemish
    @newmhelemish ปีที่แล้ว

    I highly recommend using personal folder and use a shortcut

  • @basicprogrammer6147
    @basicprogrammer6147 ปีที่แล้ว

    Where should I apply? Thanks!

  • @bhavneshparikh8283
    @bhavneshparikh8283 ปีที่แล้ว

    can be possible loan amortisation table auto JV in its ledger in excel?

  • @niveditaatpadkar665
    @niveditaatpadkar665 3 หลายเดือนก่อน

    @KenjiExplains: In my excel I have header row starting row 6 and from number 7 row we have data in cells. I have a data in row 7 in columns a,e ,h,I,j that is calculated via a vlookup. Now I need that every time a data is entered in column E cells from row 8 , the data from row7 for columns a,h,I,j should be autopopulated in the row where we entered the data in column E . How to do this in excel using macro

  • @arulkavi4931
    @arulkavi4931 11 หลายเดือนก่อน

    Is that formula can be used in the sane sheet in another region? 😢why on creating macro gives bugs? Does the data has to be in the same range of cells to 😮execute. Selecting button and selecting the macros itself enough to link?

  • @joseluis7118
    @joseluis7118 ปีที่แล้ว +1

    Good content! For the first example, what if you recieve the same data every week but on different cells?

    • @KenjiExplains
      @KenjiExplains  ปีที่แล้ว

      Hey Jose, though question, I think the easiest would be to move the data to the equivalent spot (like always the first cells on Excel)

    • @AnthonySmith-gx9bs
      @AnthonySmith-gx9bs ปีที่แล้ว

      at this point you really need to start dabbling into VBA or at least googling "how do I create a macro to [insert issue] in vba" and there are plenty of websites that provide you with stuff you can just copy and paste into a module

  • @ultra73v3n
    @ultra73v3n 10 หลายเดือนก่อน

    What about if you have the same tasks everyday except your spreadsheet has variable rows? For example some days it will only have 200 rows, sometimes it goes to a couple thousand rows? How can you create a macro to auto select a # changing of rows from a list?

  • @RealEstateRadioTV-SA
    @RealEstateRadioTV-SA ปีที่แล้ว +1

    Will check ✔️ later

  • @levimaier
    @levimaier 2 หลายเดือนก่อน

    When you renamed the button you highlighted the words in front of what you renamed the button how did you do that?

  • @gauravkumar-yr8jg
    @gauravkumar-yr8jg ปีที่แล้ว

    loving it

  • @enderaslan7998
    @enderaslan7998 ปีที่แล้ว +10

    WARNING: 2nd macro runs because he didnt click anywhere else after pressing record macro button!
    Anyone who mistakenly clicks anywhere else other than in the video, these macros will fail or worse (like "seem" as not working eventhough it does the same thing on a range already done).
    If you are creating a macro teaching video you must include:
    1st step to record macros
    2nd to explaining range selection
    3rd do whatever you want, at least it wont be executed on wrong destination

  • @kalapalanivelu4139
    @kalapalanivelu4139 3 หลายเดือนก่อน

    Hi Kenji, can we automate a report if the values in the cell differ every month but formatting remains the same. Will Excel automate such details like total up sum but with different values every month.

    • @kalapalanivelu4139
      @kalapalanivelu4139 3 หลายเดือนก่อน

      Hi Kenji, could u answer my query.

  • @saurabhborah8727
    @saurabhborah8727 ปีที่แล้ว

    Hi how to export automation data like every 5second give right information what changes happening over there

  • @GV-gn3mj
    @GV-gn3mj 5 หลายเดือนก่อน

    Hi. I do not get the part in which is dynamic when the size change. Could you elaborate a little more please?

  • @hrisikeshroy9976
    @hrisikeshroy9976 ปีที่แล้ว

    Where I can found those data to practice

  • @spyder2374
    @spyder2374 ปีที่แล้ว +1

    5:49 ...why applying this macro doesn't 'bolden' the row ?