![Karen Tateosyan](/img/default-banner.jpg)
- Видео 91
- Просмотров 174 276
Karen Tateosyan
Болгария
Добавлен 9 мар 2019
This channel is dedicated to sharing practical knowledge and skills in Excel and Excel VBA.
If you like the videos feel free to subscribe, like, comment and share the content.
regards,
Karen
If you like the videos feel free to subscribe, like, comment and share the content.
regards,
Karen
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.
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.14 - No Undo (CTRL + Z) After Macros
Просмотров 2,8 тыс.2 года назад
1.14 - No Undo (CTRL Z) After Macros
Thanks!!
Welcome!
Thanks, answered exactly what I was searching.
Glad it helped, thanks for commenting.
Are Drunk ?
Hi, not sure I understand, could you pls clarify? lol
Your macro helped Me 👍
I'm glad it helped you, thanks for commenting!
Thank you very much
You are welcome
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?
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.
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?
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.
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.
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.
The tutorial was put together very well and so was your explanation. I learnt, and that is the point. Thank you very much.............. subscribed
Thanks for the nice words, appreciated!
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! :)
Thank you. I'm glad it helped you.
@@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.
@@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.
Thanks a lot @@KarenTateosyan
I can use it in a form referencing a textbox or combobox, does it work? Thanks Karen!
Sure you can :)
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!!!
Thank you, appreciated!
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
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.
@@KarenTateosyan hi, i am referring to the sheet index. Can I refer to the sheet index or it needs to be named?
@@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.
@@KarenTateosyan right now the code is running but the vlookup function is not returning any value.
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.
Hi, without knowing the exact workbook I cant help much.
Thanks for presentation
My pleasure
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.
Thank you, my favorite comment yet!
Extremely helpful, thanks for sharing.
Glad it was helpful!
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 ?
hi, without knowing the data your working with, I'm not able to assist
You should have chosen simple and shorter names for your sheets and tabs
you're right but this was years ago lol
Karen - This was absolutely brilliant man, thanks so much from the US. I am subscribing!
Thanks, Patrick, appreciate it.
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.
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?
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.
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.
thanks for posting this! Could i get the code somewhere? Thank you so much
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.
amazing video! thank you :)
Glad you liked it!
WTF
Thanks karen sir... You teach very ❤️🩹❤️🩹❤️🩹
Finally. A piece of code and easy explaination that counts the correct number of rows. Thank you.
Thank you
Can i get practice file
i tried including the line "on error resume next" but it ain't working. now i'm stuck
Hi, without knowing your code I'm unable to assist much.
can we do this for two seperate files ?
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.
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.
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.
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?
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.
Can we do this in Power query?
Not sure, I'm not too competent in Power Query.
@@KarenTateosyan thank you for the response 👍
This is the simplest and the greatest example for dynamic vlookup uses on VBA. Appreciated sir.
Thank you!
Thank you for your video! It is very helpful. Hope you will continue making more videos about VBA😊
Thank you.
Do not sum decimals
why?
very helpful, 🙏 thanks
Some1 told me to use right function
How do I get the results to print in an another cell in the a worksheet rather the immediate window
Hi, instead of debug.print just refer to the specific cell you need, like range("A1").value = ...
really helpful Karen
Thank you, Sriman
it is great, sir. thanks.
Thank you
Very great job ,Thank you
Thank you, Sir.
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
Sorry, but I'm not sure I understand, please clarify.
Thanks for sharing informative video... really helped lot
Thanks for commenting.
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
Hi Roberto. Offset(0,1) means the column on the right....hope that helps
THANKS SI MUCH KEEP MAKING VIDEOS VERY HELPFUL AND MITIVATING
Thanks for commenting.
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.
Thank you.
So what :)
I love your video
Thank you!
Thank you very much for this video , exactly what i needed after spending few hours on task :)
Thank you, glad it worked for you.