Karen Tateosyan
Karen Tateosyan
  • Видео 91
  • Просмотров 174 276
2.22 - Aggregating data with Excel VBA
This video was part of a full Excel VBA course "Excel VBA Exercises and Real-World Projects" which was initially uploaded on Udemy in 2018/2019.
I have since decided to upload the course on RUclips so everyone can watch the content for free.
Просмотров: 1 112

Видео

2.21 - Using the Macro Recorder in Excel
Просмотров 2082 года назад
This video was part of a full Excel VBA course "Excel VBA Exercises and Real-World Projects" which was initially uploaded on Udemy in 2018/2019. I have since decided to upload the course on RUclips so everyone can watch the content for free.
2.20 - For Each Loop in Excel VBA
Просмотров 7732 года назад
This video was part of a full Excel VBA course "Excel VBA Exercises and Real-World Projects" which was initially uploaded on Udemy in 2018/2019. I have since decided to upload the course on RUclips so everyone can watch the content for free.
2.17 - Sort Data with Excel VBA
Просмотров 3392 года назад
This video was part of a full Excel VBA course "Excel VBA Exercises and Real-World Projects" which was initially uploaded on Udemy in 2018/2019. I have since decided to upload the course on RUclips so everyone can watch the content for free.
2.16 - Deleting Rows by Criteria with Excel VBA
Просмотров 3932 года назад
This video was part of a full Excel VBA course "Excel VBA Exercises and Real-World Projects" which was initially uploaded on Udemy in 2018/2019. I have since decided to upload the course on RUclips so everyone can watch the content for free.
2.15 - Identify the Max Value with Excel VBA (1)
Просмотров 3,4 тыс.2 года назад
This video was part of a full Excel VBA course "Excel VBA Exercises and Real-World Projects" which was initially uploaded on Udemy in 2018/2019. I have since decided to upload the course on RUclips so everyone can watch the content for free.
2.13 - Inputbox and MessageBox in Excel VBA
Просмотров 1762 года назад
This video was part of a full Excel VBA course "Excel VBA Exercises and Real-World Projects" which was initially uploaded on Udemy in 2018/2019. I have since decided to upload the course on RUclips so everyone can watch the content for free.
2.9 - If Then Statements in VBA
Просмотров 1302 года назад
This video was part of a full Excel VBA course "Excel VBA Exercises and Real-World Projects" which was initially uploaded on Udemy in 2018/2019. I have since decided to upload the course on RUclips so everyone can watch the content for free.
2.8 - For Next Loop in VBA
Просмотров 1472 года назад
This video was part of a full Excel VBA course "Excel VBA Exercises and Real-World Projects" which was initially uploaded on Udemy in 2018/2019. I have since decided to upload the course on RUclips so everyone can watch the content for free.
2.7 - Identify the Last Row in Excel 2
Просмотров 1402 года назад
This video was part of a full Excel VBA course "Excel VBA Exercises and Real-World Projects" which was initially uploaded on Udemy in 2018/2019. I have since decided to upload the course on RUclips so everyone can watch the content for free.
2.6 - Identify the Last Row in Excel 1
Просмотров 1472 года назад
This video was part of a full Excel VBA course "Excel VBA Exercises and Real-World Projects" which was initially uploaded on Udemy in 2018/2019. I have since decided to upload the course on RUclips so everyone can watch the content for free.
2.5 - User Defined Functions in Excel VBA
Просмотров 1672 года назад
This video was part of a full Excel VBA course "Excel VBA Exercises and Real-World Projects" which was initially uploaded on Udemy in 2018/2019. I have since decided to upload the course on RUclips so everyone can watch the content for free.
2.4 - VBA Data Types
Просмотров 1122 года назад
This video was part of a full Excel VBA course "Excel VBA Exercises and Real-World Projects" which was initially uploaded on Udemy in 2018/2019. I have since decided to upload the course on RUclips so everyone can watch the content for free.
2.2 - Worksheet Functions in VBA
Просмотров 4152 года назад
This video was part of a full Excel VBA course "Excel VBA Exercises and Real-World Projects" which was initially uploaded on Udemy in 2018/2019. I have since decided to upload the course on RUclips so everyone can watch the content for free.
2.1 - Introduction
Просмотров 5522 года назад
This video was part of a full Excel VBA course "Excel VBA Exercises and Real-World Projects" which was initially uploaded on Udemy in 2018/2019. I have since decided to upload the course on RUclips so everyone can watch the content for free.
1.16 - Declaring Object Variables
Просмотров 1412 года назад
1.16 - Declaring Object Variables
1.17 - Manipulating Closed Workbooks
Просмотров 922 года назад
1.17 - Manipulating Closed Workbooks
1.15 - Fully Qualified References
Просмотров 3922 года назад
1.15 - Fully Qualified References
1.14 - No Undo (CTRL + Z) After Macros
Просмотров 2,8 тыс.2 года назад
1.14 - No Undo (CTRL Z) After Macros
1.13 - Workbooks Collection
Просмотров 532 года назад
1.13 - Workbooks Collection
1.12 - Worksheets Collection
Просмотров 492 года назад
1.12 - Worksheets Collection
1.11 - Macro Settings in Excel
Просмотров 532 года назад
1.11 - Macro Settings in Excel
1.10 - Object Properties and Methods
Просмотров 722 года назад
1.10 - Object Properties and Methods
1.9 - Methods
Просмотров 602 года назад
1.9 - Methods
1.8 - Properties
Просмотров 432 года назад
1.8 - Properties
1.7 - IntelliSense
Просмотров 882 года назад
1.7 - IntelliSense
1.6 - Referencing Multiple Cells
Просмотров 1502 года назад
1.6 - Referencing Multiple Cells
1.5 - Debugging And Commenting
Просмотров 682 года назад
1.5 - Debugging And Commenting
1.4 - VBA Naming Rules
Просмотров 1102 года назад
1.4 - VBA Naming Rules
1.3 - Writing Our First Macro
Просмотров 812 года назад
1.3 - Writing Our First Macro

Комментарии

  • @lansones4295
    @lansones4295 2 месяца назад

    Thanks!!

  • @holo_val
    @holo_val 3 месяца назад

    Thanks, answered exactly what I was searching.

    • @KarenTateosyan
      @KarenTateosyan 3 месяца назад

      Glad it helped, thanks for commenting.

  • @saintbikerart8987
    @saintbikerart8987 3 месяца назад

    Are Drunk ?

    • @KarenTateosyan
      @KarenTateosyan 3 месяца назад

      Hi, not sure I understand, could you pls clarify? lol

  • @jovidonsharifzoda8594
    @jovidonsharifzoda8594 5 месяцев назад

    Your macro helped Me 👍

    • @KarenTateosyan
      @KarenTateosyan 5 месяцев назад

      I'm glad it helped you, thanks for commenting!

  • @jovidonsharifzoda8594
    @jovidonsharifzoda8594 5 месяцев назад

    Thank you very much

  • @alteavanloggerenberg2464
    @alteavanloggerenberg2464 9 месяцев назад

    Hi, what if you wanted to do a VLOOKUP across specific sheets in the workbook, but it is seven sheets in total? Can you assist?

    • @KarenTateosyan
      @KarenTateosyan 9 месяцев назад

      Hi, it really depends if the structure of the sheets is the same. In such case, you can use a loop within a loop to loop in the specific sheets and do the vlookup as you need. The other option is to use static references for the other sheets, but the code will be long and messy. It all depends on the specific Excel file you work with. Hope this helps.

  • @platonyachmenov9327
    @platonyachmenov9327 9 месяцев назад

    It is the best explanation on RUclips. Thank you for you work! But in case if you need to populate function further on additional columns what should I do?

    • @KarenTateosyan
      @KarenTateosyan 9 месяцев назад

      Thanks for the nice words. Could you clarify your question, I'm not sure I understand it? If you mean that you need to populate the function horizontally, you should adapt your loop and cell references within it in accordance with your needs.

  • @bijuro
    @bijuro 10 месяцев назад

    Hi Karen. Very interesting video. I would like to get a copy of the file "Goalscorers.xlsm". I cannot find it nor your Udemy course. Thanks! At least where can I find the data in worksheets 'Goalscorers' and 'PlacesOfBirth'. It would help me to better follow your instructions.

    • @KarenTateosyan
      @KarenTateosyan 7 месяцев назад

      Hi, Sorry for the late reply, but I have missed this comment. Unfortunately, due to Copyright I am unable to pass you such. But you can get similar data online.

  • @querrythis
    @querrythis 10 месяцев назад

    The tutorial was put together very well and so was your explanation. I learnt, and that is the point. Thank you very much.............. subscribed

    • @KarenTateosyan
      @KarenTateosyan 10 месяцев назад

      Thanks for the nice words, appreciated!

  • @supriyaprakash134
    @supriyaprakash134 10 месяцев назад

    You are the best! Less than 10 mins the VBA script? My god unimaginable skills! Thanks a ton indeed. You made my life much easier! :)

    • @KarenTateosyan
      @KarenTateosyan 10 месяцев назад

      Thank you. I'm glad it helped you.

    • @supriyaprakash134
      @supriyaprakash134 10 месяцев назад

      @@KarenTateosyan One question, if we have write "Invalid" for those where Vlookup values did not match. May i know the VBA script for the same? Instead of seeing only blanks.

    • @KarenTateosyan
      @KarenTateosyan 10 месяцев назад

      @@supriyaprakash134 You can do this in many ways, using and IF statement, or you can simply replace in the range with results the empty values with "invalid". If you have access to the Xlookup - you can use this instead of Vlookup as it has argument "if_not_found" which you can use directly for this purpose. Hope this helps.

    • @supriyaprakash134
      @supriyaprakash134 10 месяцев назад

      Thanks a lot @@KarenTateosyan

  • @cledemirgava1712
    @cledemirgava1712 10 месяцев назад

    I can use it in a form referencing a textbox or combobox, does it work? Thanks Karen!

  • @cledemirgava1712
    @cledemirgava1712 10 месяцев назад

    Congratulations Karen Tateosyan. Man, it was sensational your class, thank you so much! I've been following you for a long long time, gratitude. Sorry my English isn't good!!! You said: "I initially uploaded it to Udemy in 2018/2019 and decided to upload the course to RUclips so everyone can watch the content for free". Much generosity Karen, Thanks!!!

  • @Macarons7
    @Macarons7 10 месяцев назад

    Hi, I followed your code, it is running but not sure why it's not copying from another sheet to the main sheet. Do I need to activate both sheets or do anything? Sub check_MACAddress() Dim wsMain As Worksheet, wsPrevious As Worksheet Dim mainLastRow As Long, previousLastRow As Long, x As Long Dim dataRng As Range Set wsMain = ThisWorkbook.Worksheets("Data") Set wsPrevious = ThisWorkbook.Worksheets(4) mainLastRow = wsMain.Range("A" & Rows.Count).End(xlUp).Row previousLastRow = wsPrevious.Range("A" & Rows.Count).End(xlUp).Row 'wsMain.Columns("D:D").Insert 'wsMain.Cells(1, 4).Value = "Previous IP" 'wsMain.Cells(1, 4).Interior.Color = vbYellow Set dataRng = wsPrevious.Range("A2:C" & previousLastRow) For x = 2 To mainLastRow On Error Resume Next wsMain.Range("D" & x).Value = Application.WorksheetFunction.VLookup(wsMain.Range("C" & x).Value, dataRng, 2, False) Next x End Sub

    • @KarenTateosyan
      @KarenTateosyan 10 месяцев назад

      Hi, How many worksheets you have? And does one of them is with a name "4". If so, please try referring to it as Set wsPrevious = ThisWorkbook.Worksheets("4") - actually if it won't mess your data you better give it a proper name. You better debug your code step by step with F8 and see where exactly the issue is.

    • @Macarons7
      @Macarons7 10 месяцев назад

      @@KarenTateosyan hi, i am referring to the sheet index. Can I refer to the sheet index or it needs to be named?

    • @KarenTateosyan
      @KarenTateosyan 10 месяцев назад

      @@Macarons7 You can refer to a sheet by its index as long as you're sure that it is indeed the 4th one as in your case. I'll recommend you to debug your code and see what's wrong with it.

    • @Macarons7
      @Macarons7 10 месяцев назад

      @@KarenTateosyan right now the code is running but the vlookup function is not returning any value.

  • @gerardvaneggermond2067
    @gerardvaneggermond2067 11 месяцев назад

    Hello, the video is interesting, I don't know that this will work for me, I have a worksheet "MENU", on "B2" I have a dropdown list with a reference to all 200 other worksheets, in "B5" I want to start searching the formulas that I now have in Excel are not in VBA =vlookup($A$5,indirect($B$2),2,false), how can I do this in VBA, if I already know this I think I can move on. Can you help me please.

    • @KarenTateosyan
      @KarenTateosyan 11 месяцев назад

      Hi, without knowing the exact workbook I cant help much.

  • @henglyheang37
    @henglyheang37 11 месяцев назад

    Thanks for presentation

  • @fredm.2699
    @fredm.2699 Год назад

    How dare you create a simple video that’s straight to the point? I thought you were supposed to make it last 50 mins long but nope you aimed and achieved perfection. Thank you sir!! Wish I could give you more likes and subscriptions.

  • @helderaparicio5836
    @helderaparicio5836 Год назад

    Extremely helpful, thanks for sharing.

  • @danielherdiansyah4424
    @danielherdiansyah4424 Год назад

    Hi, thank for sharing your code. I have a problem, the code is not show debugging, but when i run the code, it shows nothing. Can you please suggest ?

    • @KarenTateosyan
      @KarenTateosyan Год назад

      hi, without knowing the data your working with, I'm not able to assist

  • @5HIME
    @5HIME Год назад

    You should have chosen simple and shorter names for your sheets and tabs

  • @patrickwheeler1979
    @patrickwheeler1979 Год назад

    Karen - This was absolutely brilliant man, thanks so much from the US. I am subscribing!

  • @TanvirMostofa
    @TanvirMostofa Год назад

    Dear sir, I want to know how to solution the three criteria index match function in Visual basic excel file ? Can i shear a excel file this related problem.

  • @kiriup8188
    @kiriup8188 Год назад

    Nice video, everything is well explained! I realize this is not the place for support but i do have a question that maybe somebody can give me some tips for? I used the SAME code as in the video and only changed the names to match the names of my worksheets and the columns but i get "runtime error 9 subscript out of range" on the lines where we set the worksheets "Set goalsWS =.... Set dataWs =....." Do you know why i might be getting this error and where i should look to find a fix?

    • @kiriup8188
      @kiriup8188 Год назад

      Never mind i solved it myself. In case anyone else gets this, the problem was that i created the VBA module in a different project. For this code to work the module needs to be in the project that contains the workbook that you are using, in other words it should me saved with the workbook. @KarenTateosyan Do you happen to have any videos showing how this same code can be achieved by creating a module that is not in a specific workbook and doesn't need to be saved within it (so it can be used again if i happen to download the same workbook/worksheet but with updated/added contents and i need to repeat the same procedure). Also do you have a video showing the same thing but the data being in 2 different workbooks instead of 2 different worksheets? I am a bit overwhelmed by the amount of videos you have on your channel so i would appreciate it if you can recommend any of your videos that might help me with the above.

    • @KarenTateosyan
      @KarenTateosyan Год назад

      Hi, you can use VBA to open another Excel workbook, do what you need to do and then close it. You will have to adjust the code in accordance to your needs. Sorry for the slow reply.

  • @cocozhang6976
    @cocozhang6976 Год назад

    thanks for posting this! Could i get the code somewhere? Thank you so much

    • @KarenTateosyan
      @KarenTateosyan Год назад

      Hi, the code is only a few lines, I believe if you simply retype it it's going to be way more useful than just copy-pasting it.

  • @mazkaibil9108
    @mazkaibil9108 Год назад

    amazing video! thank you :)

  • @silencemon
    @silencemon Год назад

    WTF

  • @DevbhoomiGyanMurti
    @DevbhoomiGyanMurti Год назад

    Thanks karen sir... You teach very ❤️‍🩹❤️‍🩹❤️‍🩹

  • @lessismore5828
    @lessismore5828 Год назад

    Finally. A piece of code and easy explaination that counts the correct number of rows. Thank you.

  • @shalinigupta9810
    @shalinigupta9810 Год назад

    Can i get practice file

  • @alvinho5018
    @alvinho5018 Год назад

    i tried including the line "on error resume next" but it ain't working. now i'm stuck

    • @KarenTateosyan
      @KarenTateosyan Год назад

      Hi, without knowing your code I'm unable to assist much.

  • @anelyskakova9476
    @anelyskakova9476 Год назад

    can we do this for two seperate files ?

    • @KarenTateosyan
      @KarenTateosyan Год назад

      Hi Anel, sure you can, but the 2 files need to be open at the same time. If one is closed you can open it, do the loop and close it, all within your code.

  • @kendalsemmikanl7103
    @kendalsemmikanl7103 Год назад

    Hey sir. I've got a another question. I'm sorry if i bother you but just trying to learn :) So we've just got a loop with a vlookup function which tries to exact match(false). But if there is no match in our table for vlookup array our code gives an error. So i think we should set up an if statement for our vlookup loop. That if statement should provide us that it will give an promt if there is no match in vlookup value... I tried to add some if codes but they did not work. I need your wise knowledge here :) If you can show me directly codes like this it would be awesome. 👇 Worksheets("MainPage").Select i = 2 Do While i <= Lastrow_MainpageWs MainPageWs.Range("D" & i).Formula = Application.WorksheetFunction.VLookup( _ MainPageWs.Range("C" & i).Value, DataBaseRng2, 2, False) i = i + 1 Loop how can we add if statement to this. IF we have some unmatchable datas for table.

    • @KarenTateosyan
      @KarenTateosyan 3 месяца назад

      Hi and I'm really sorry for replying a year later, but I didn't receive notification for your comment. I'm sure you figured this out on your own already but, here's how I usually do this: I would declare a variable and use it to store the result of the vlookup function. Then I would use the isError function to check if there is an error in it, like below: dim v as variant ... v = application.vlookup(...) if iserror(v) then do this else do that... Let me know if this helps and once again, sorry for replying only now.

  • @kendalsemmikanl7103
    @kendalsemmikanl7103 Год назад

    Sir i've just got a question. It works when i've done these all procedures and it finds the correct value. But when i closed the file then open the file and when i enter a new value it does not search automatically in table array. So i think we have some missings to make it more automaticaly for ''vlookup loop''. Do you have any idea how to deal with that?

    • @KarenTateosyan
      @KarenTateosyan Год назад

      Hi, yes, this is the expected behavior with what I've shown in this example. There are several ways to make Excel automatically lookup - you can either use an Event procedure, or you can update the cells in the loop to appear as formulas rather than values. Hope this helps.

  • @madhun8092
    @madhun8092 Год назад

    Can we do this in Power query?

    • @KarenTateosyan
      @KarenTateosyan Год назад

      Not sure, I'm not too competent in Power Query.

    • @madhun8092
      @madhun8092 Год назад

      @@KarenTateosyan thank you for the response 👍

  • @kendalsemmikanl7103
    @kendalsemmikanl7103 Год назад

    This is the simplest and the greatest example for dynamic vlookup uses on VBA. Appreciated sir.

  • @sixinhuang4706
    @sixinhuang4706 Год назад

    Thank you for your video! It is very helpful. Hope you will continue making more videos about VBA😊

  • @MrAmshaheen
    @MrAmshaheen Год назад

    Do not sum decimals

  • @krunalwankhede1275
    @krunalwankhede1275 Год назад

    very helpful, 🙏 thanks

  • @akibknowsit8030
    @akibknowsit8030 Год назад

    Some1 told me to use right function

  • @alexanderschannel6198
    @alexanderschannel6198 Год назад

    How do I get the results to print in an another cell in the a worksheet rather the immediate window

    • @KarenTateosyan
      @KarenTateosyan Год назад

      Hi, instead of debug.print just refer to the specific cell you need, like range("A1").value = ...

  • @srimannarayana9356
    @srimannarayana9356 Год назад

    really helpful Karen

  • @ProviderKnowledge
    @ProviderKnowledge Год назад

    it is great, sir. thanks.

  • @hafidhfarhan9518
    @hafidhfarhan9518 Год назад

    Very great job ,Thank you

  • @ORANGEPICTURESOFFICIAL
    @ORANGEPICTURESOFFICIAL 2 года назад

    Please tell me.....if the datarng as blanks ....this macro is updating the blanks also......... but it should not update blanks.....only datarng has value it should vlookup..... please suggest how to ignore blanks in datarng

    • @KarenTateosyan
      @KarenTateosyan 2 года назад

      Sorry, but I'm not sure I understand, please clarify.

  • @ORANGEPICTURESOFFICIAL
    @ORANGEPICTURESOFFICIAL 2 года назад

    Thanks for sharing informative video... really helped lot

  • @roberto.melgar
    @roberto.melgar 2 года назад

    Thank you very much for your help, I have a doubt, in the part where you place offset(0,1) to which part of the sheet you refer please. What happens is that I have tried to do it but it is that part I miss

    • @KarenTateosyan
      @KarenTateosyan 2 года назад

      Hi Roberto. Offset(0,1) means the column on the right....hope that helps

  • @aishwaryanarkar2954
    @aishwaryanarkar2954 2 года назад

    THANKS SI MUCH KEEP MAKING VIDEOS VERY HELPFUL AND MITIVATING

  • @hustonfernandes3488
    @hustonfernandes3488 2 года назад

    Excellent technique. That was really helpful. I used this in my business csv file as for some reason most of the recent string formula's did not work .thanks for the help.

  • @followying392
    @followying392 2 года назад

    So what :)

  • @cuong2005sthn
    @cuong2005sthn 2 года назад

    I love your video

  • @matusjakubcin2765
    @matusjakubcin2765 2 года назад

    Thank you very much for this video , exactly what i needed after spending few hours on task :)