Marcus Small
Marcus Small
  • Видео 68
  • Просмотров 314 854
Cascading Data Validation Using Vertical Lists
Creating 3 and 4+ layers of data validation on the fly, updatable and managable without any named ranges. This process runs instantly and seamlessly. Check the blog article out for the inner workings.
www.thesmallman.com/blog/2022/4/24/cascading-combo-boxes-3-and-4-layer
Просмотров: 403

Видео

Replace Anomaly in Excel VBA
Просмотров 3973 года назад
When using the replace function inside VBA you have to be very careful. It does not perform as expected. I won't be using it again until I find a work around or Microsoft fix this issue.
Excel Finance HR Dashboard
Просмотров 6 тыс.3 года назад
An Excel Dashboard template that displays financial and Human Resource (HR) metrics on a single page. Excel is great for presenting well laid out summary data. www.thesmallman.com/premium-products
Excel Dashboard Idea for Everyone
Просмотров 8 тыс.3 года назад
An Excel Dashboard with all the moving parts in a small intro video. More like it at www.thesmallman.com
Excel Dashboard Example
Просмотров 2,3 тыс.3 года назад
Excel dashboards are fantastic and a wonderful way to show a point in time snap shot of any number of corporate, customer, household positions. This is an example of a multi-national excel dashboard
Excel Dashboard Design
Просмотров 2,7 тыс.3 года назад
Latest dashboard project, showing the setup of a project from start to finish. www.thesmallman.com
Pivot Table Disconnected Slicer
Просмотров 1 тыс.4 года назад
Create a set of tables that spin off a slicer with a total button. This helps users who are unfamiliar with slicers click a consolidation button and with sound Excel spreadsheet setup the file updates seamlessly. www.thesmallman.com/blog/2020/10/17/change-pivot-table-filter-from-cell
Power Query Update Excel Files from Folder
Просмотров 3,2 тыс.4 года назад
Upload multiple files with multiple tabs into a single data source with Power Query. www.thesmallman.com/blog/2020/9/21/upload-data-with-power-query
Save File to Desktop VBA
Просмотров 2,9 тыс.4 года назад
Save an Excel file dynamically to the desktop no matter what the path. www.thesmallman.com
Compare Two Lists
Просмотров 7844 года назад
Compare Two Lists using Excel's scripting dictionary. File used in video below. www.thesmallman.com/compare-two-lists-with-vba
Add Borders with Excel VBA
Просмотров 9714 года назад
Add borders to Excel workbooks efficiently with Excel VBA. This is a re-record after I left the omitted one of the edges in my last video. Enjoy. www.thesmallman.com/add-boarders-with-vba
Track Stock Prices Instantly in Excel
Просмотров 3,4 тыс.4 года назад
How to get a fully updating stock price spreadsheet in Excel. www.thesmallman.com/stock-symbol-data-in-excel
Slicer Connected to Multiple Data Sources
Просмотров 41 тыс.4 года назад
Connect a Slicer to multiple data sources with the help of Power Pivot. File can be picked up here. www.thesmallman.com/blog/2020/5/19/connect-slicer-to-multiple-data-sources
Convert Text to Number with VBA
Просмотров 15 тыс.4 года назад
How to convert numbers displayed as text back to numbers on the fly. File here: www.thesmallman.com/convert-text-to-number-vba
Delete All Pivot Tables with VBA
Просмотров 5314 года назад
Remove all of the pivot tables in a worksheet or a workbook with Excel VBA. Source Excel file contained on the link below. www.thesmallman.com/delete-all-pivot-tables-with-vba
Insert a Tick Mark in Excel
Просмотров 2254 года назад
Insert a Tick Mark in Excel
Pass Variable Between Macros
Просмотров 2,1 тыс.4 года назад
Pass Variable Between Macros
Make Excel Button Colours Change
Просмотров 3,4 тыс.4 года назад
Make Excel Button Colours Change
Add a Timer to Excel VBA
Просмотров 5924 года назад
Add a Timer to Excel VBA
Excel Save Batch Files to Drive
Просмотров 2024 года назад
Excel Save Batch Files to Drive
Transfer Data Between Arrays
Просмотров 5124 года назад
Transfer Data Between Arrays
Insert CheckBoxes in Excel
Просмотров 804 года назад
Insert CheckBoxes in Excel
Insert a Delta Symbol with Excel
Просмотров 5824 года назад
Insert a Delta Symbol with Excel
Unhide Sheets with Excel VBA
Просмотров 3004 года назад
Unhide Sheets with Excel VBA
Excel VBA Array Introduction
Просмотров 4224 года назад
Excel VBA Array Introduction
Excel Dashboard Tutorial
Просмотров 40 тыс.4 года назад
Excel Dashboard Tutorial
Autofilter by Mutiplie Criteria with VBA Part 2
Просмотров 6964 года назад
Autofilter by Mutiplie Criteria with VBA Part 2
Filter with Multiple Criteria Excel VBA
Просмотров 5 тыс.4 года назад
Filter with Multiple Criteria Excel VBA
Excel VBA Autofilter and Copy
Просмотров 2,2 тыс.4 года назад
Excel VBA Autofilter and Copy
Move Data With Array Part2
Просмотров 1934 года назад
Move Data With Array Part2

Комментарии

  • @spongebobby188
    @spongebobby188 2 дня назад

    NGL...this is what I needed to see after hours of trying to figure it out with other videos. Only problem now is to figure out how to create new calculated measures!

    • @thesmallman
      @thesmallman День назад

      I'm glad it got you closer, thanks for your feedback.

  • @yosef-yosef9414
    @yosef-yosef9414 4 месяца назад

    This code are fit when you use other laptop or computer right?

    • @thesmallman
      @thesmallman 4 месяца назад

      Yes works on any type of computer.

  • @jasonschmidt5534
    @jasonschmidt5534 4 месяца назад

    Hey Marcus, I have a code to create a file based on cell value, however I want to have a directory create by same cell value and the file in the directory. How would I integrate directory creation into the code. Private Sub CommandButton2_Click() 'Show the Save As dialog to allow folder to be chosen Dim FileName As Variant Dim ValCellB2 As String Dim Path As String ValCellB2 = Range("B2").Value Path = "B:\Blend Chemist Data\Profile Approval\" FileName = Application.GetSaveAsFilename(Path + ValCellB2 + ".xlsm", _ "Excel Workbook,*.xlsm", 1, "Confirm or Edit filename and folder!") 'Oops, the user backed out of this so don't save the file If TypeName(FileName) = "Boolean" Then MsgBox "You didn't save your file!" Else 'Ok, all is good, we have the details, so go ahead and save the workbook ActiveWorkbook.SaveAs FileName MsgBox "File Saved!" End If End Sub

    • @thesmallman
      @thesmallman 4 месяца назад

      Hi Jason I had a play round with it and got it working OK. What I did was put the new folder name and the new file name in cell B2. B2 is: MyFile Name\My Excel File So for example this might be: January\Jan Budget Data Then I just run the following and it produces a new folder called January with a file inside called Jan Budget data.xlsx All ever so good. Good luck with it - worked nicely at my end. Sub CreateFolder() Dim Path As String Dim Fname As String Dim ar() As String ar = Split([b2], "\") Path = "B:\Blend Chemist Data\Profile Approval\" Fname = Path & ar(0) If ar(0) <> "" And Not FolderExists(Fname) Then MkDir Fname End If ActiveWorkbook.SaveAs Path & ar(0) & ar(1) MsgBox "File Saved!" End Sub Function FolderExists(ByVal Path As String) As Boolean On Error Resume Next FolderExists = (GetAttr(Path) And vbDirectory) = vbDirectory On Error GoTo 0 End Function

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

    Will this work when new data is entered?

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

      Yes as you add new data the Current Region will grow. So it is fully dynamic.

  • @blizzardr6980
    @blizzardr6980 6 месяцев назад

    Is there any way to do this so a slicer filters 2 different tables of data - not pivot tables (they both have the same data in but I want to be able to filter different parts of my dashboard by different things)

    • @thesmallman
      @thesmallman 6 месяцев назад

      You can clearly see I have 2 different tables of data and use the joining method to make the two tables talk to one another through a third table. You have to do as I do to get the same result as I have achieved. Hope that helps.

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

    I was not able to see the pivot table from the other data source even after linking in the data model. Is there something I can do to refresh or make it appear?

  • @oxuanthanh5336
    @oxuanthanh5336 8 месяцев назад

    Thanks for your sharing.

  • @FiliepLagae-bu9sv
    @FiliepLagae-bu9sv 10 месяцев назад

    not working for me 😞

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

      @thesmallman 0 seconds ago Please follow the steps exactly as I do them. If we are using Office 365 our versions of Excel are the same so it it does not work for you then you have not done exactly the same steps as what I have done. Re do the video and follow the steps precisely. 😀

    • @FiliepLagae-bu9sv
      @FiliepLagae-bu9sv 9 месяцев назад

      Ik heb het gevonden op een ander manier, maar van mij moest heel de tabel gesorteerd worden. Alleen de eerst kolom gaat mee en dat mag niet. Ik bekijk nog eens je filmpje.

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

      Dat is geweldig maat. Ik ben zo blij dat je een manier hebt gevonden. Het allerbeste met je leerproces.

  • @mr.write1433
    @mr.write1433 10 месяцев назад

    i only want the middle ? like row 6-10 and i want to be able to change it anytime without changing the codes in vba

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

      Depends what your data looks like. If you don't have data in row 7 then the current region method I shared will work. If you have data in row 7 you don't want included that becomes more involved. You could use the FIND in VBA to locate something unique in the bottom of your dataset and trap that row via a find and that way you never have to change your code provided you always have that unique item in the dataset.

  • @chandruchandru-uq6eg
    @chandruchandru-uq6eg 11 месяцев назад

    It's awesome..... Can you upload the Excel sheet of data which have 30,000 rows of data.... So that everyone practice VBA with large Data

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

      Of course it should be on the website now - just under the video is the exact file I used. All the very best.

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

    Hello, teacher how can I contact you?

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

      You can go onto my website thesmallman.com my contact details are in the footer.

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

    Hi. Thanks for this video.. but how can i make the address variable>>> something like: let A as variant A=C3 MsgBox [A].Value

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

      You were almost there. You have to trap the value when you are working out what A will be equal to. Sub test() Dim A As Variant A = [C3].Value MsgBox A End Sub Give the above a try. Should work.

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

      Thanks for the response.. But what I am asking is how to make the address of a cell as variable. Not saving the value of a cell to a variable

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

      @@not1AM I do not understand what you are asking. How do you know where the cell is unless you declare it?

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

    This is very nice. Do you happen to know the difference between this and just using range.UsedRange?

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

      You can't set a range with the UsedRange method. You have to refere to the activesheet in the following way Activesheet.UsedRange. Which looks like you have recorded the macro. The above is more elegant in my opinion.

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

    this looks sh*t!

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

    I went through your website and your dashboards are flippen amazing. Am in awe. Well done, mate.

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

      That is a rock star comment. So grateful to hear and happy you like them. Thanks mate!!!

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

    Heyy its not workin for me its turning the nunbers into 0 rather than converting text to number.

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

      You and I are both using the same version of Excel so the reason it is not working is your did not follow the instructions carefully enough. It would not have worked for me if I had done what you did. Watch again and come back on here and tell others what you did wrong so everyone learns.

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

    Its not working for me

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

      You have not followed the instructions exactly. I'm using office 365 if we are both using the same version of Excel if you copy everything that I do you will get the same result.

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

    This is not working for me please help

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

    Marcus, i dont see you have put the link in description to download the excel file.

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

      That is correct I did not say I was giving this file away at any point. It was for demonstration purposes, to inspire others to go out and build it themselves. You learn nothing from taking someone else's IP. My website thesmallman.com has plenty of free example Excel dashboards.

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

    Great video! Just one question. Can I change the order of the regions? I mean, it is possible to have europe at the top of the slicer, then America, etc? Thank you

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

      Yes. Slicers will order items ascending, descending or from a custom list. Make a custom list and the slicer will order the items based on your custom list. My blog post shows you how. www.thesmallman.com/excel-custom-sort-with-vba

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

    Hi Marcus, it would be great if you could share the steps as to how you created the wheel combo chart?

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

    why A1048576 ???

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

      It is the very bottom cell in Excel. Start at the very bottom and come up to the last used cell.

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

    Thank You for the insight. Much appreciated

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

      You are most welcome.

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

    Hi Marcus, this is very impressive, i want to create also, is it possible to share the data file,

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

      Sorry some files take me months to make, there are dozens of free files that have similar functionality on my site and this can be recreated from scratch.

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

    Love the way you explain things in details through out your videos! So much easier to gain the essence and concept behind the code, not missing out on mentioning what keyboard keys you use and why. Did also watch the video on how to create directory with VBA. Excellent! Thanks, keep up the good work! ;)

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

      Probably the nicest comment I have ever read about my videos. Thanks ever so much. I will keep trying to provide good quality solutions. Take care.

  • @rey.vasquez4365
    @rey.vasquez4365 Год назад

    Hi Good morning Sir..would just like to ask your assistance on how I'll be able to count the events from a single cell? basically, i have a single cell that changes from "0" to "1" vice versa. (a data from PLC that is connected to excel thru (DDE ) dynamic data exchange. and I want to record how many times it changes from 0 to 1 ...thaNk you

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

    Exactly wht i was looking for

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

    Can you please make a video on how do you make this tutorial from scratch

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

      I have made many videos about how to make dashboards exactly like this. They are all on my website.

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

    Please do you know why i m only allowed to connect three charts to my slicer. It wont work for all my charts

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

      I can't think why that would be an issue. I never connect charts to pivot tables only to Excel ranges. I only use pivot tables for quick summary information or to inform a slicer that I use to inform Excel calculation tables.

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

    How do you then use the Dynamic Range sub inside another macro so that VBA picks up the full data set when the amount of raw data is variable?

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

      You can send a dynamic range between variables as follows Sub SendTO() Dim lr As Long lr = [A1048576].End(xlUp).Row Other lr End Sub Sub Other(TheLR) MsgBox TheLR End Sub This procedure sends the Last Row (LR) from SendTo to the Other procedure. This is how you get a variable to transfer between macros. Hope that helps.

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

    I need further help. I have created both relationships, my slicer has both report connections ticked and yet selecting an option on my slicer filters nothing.

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

      Assuming you are using the same dataset, if you are getting a different result you need to look over the video again. If my end result and your end result are different there is a step you have missed.

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

    THANK YOU

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

    Is it also possible to connect a regular table to a slicer?

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

      Yes it is possible to connect a table to a slicer. Slicers provide the option to connect to a Pivot table or an Excel table.

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

    Awesome presentation, thank you. I've been working this for a couple of days and in a short time you've taught me how to do it right as well as tools to help in troubleshooting. Thank you.

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

      This is awesome. Glad I could help.

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

    Hi Marcus, How to get the output in diferent worksheet on same workbook rather output on same sheet?

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

      You just refer to the sheet you want to put the output on before the range reference. In vba it is workbook.worksheet.range.action. I have provided range.action. You just add worksheet.range.action and t hat will get your data on the other sheet.

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

    please send me this code in email box thank you

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

    That's Great. Well explained. Being an Excel VBA beginner I have a confusion. We are trying to load a excel range into memory so we can manipulations it faster. Dictionary is already a memory portion. why first we are transferring our range into an array before adding it to dictionary? secondly what would be fastest lookup Array or Dictionary or Collection?

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

      Hi Imran - a dictionary will only store unique keys so you can't just put an entire dataset into the dictionary. You need to put it into an array then push only the unique items into the dictionary. You determine the breadth of those items that go into the dictionary. Secondly a dictionary is faster than an array and I am not sure what is faster the collection or the dictionary. Hope that helped.

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

    Hi Marcus, everything went fine until the last step. The thing is that only one pivot table(of the two that i had created) is being filtered at my end. I selected both the pivot tables in the report connection dialog box of the slicer but still only one pivot table is being filtered.

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

    Sub Filter_Criteria() Dim Data_sh As Worksheet Dim Filter_Criteria_Sh As Worksheet Dim Output_sh As Worksheet Set Data_sh = ThisWorkbook.Sheets("Data") Set Filter_Criteria_Sh = ThisWorkbook.Sheets("Filter_Criteria") Set Output_sh = ThisWorkbook.Sheets("Output") Output_sh.UsedRange.Clear Data_sh.AutoFilterMode = False Dim Emp_list() As String Dim n As Integer n = Application.WorksheetFunction.CountA(Filter_Criteria_Sh.Range("A:A")) - 2 ReDim Emp_list(n) As String Dim i As Integer For i = 0 To n Emp_list(i) = Filter_Criteria_Sh.Range("A" & i + 2) Next i Data_sh.UsedRange.AutoFilter 2, Emp_list(), xlFilterValues Data_sh.UsedRange.Copy Filter_Criteria_Sh.Range("c1") Data_sh.AutoFilterMode = False End Sub

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

    sir, what if i filter multiple criteria but its just a keyword not the exact word? how would I do that

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

      Hi Cindy - you can use wildcard characters in your code for instance if you wanted all fields with Data it would look like this. [A1:A100].AutoFilter 1, "*" & "Data" & "*" This would trap any line with Data in any part of the field. Hope this helps.

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

    Hi Marcus, I would like to implement this on multiple columns. How can i make it possible? In addition, i want to do it over one sheet on excel workbook. Could you please share me full code from beginning to end point? I really need this code. Thanks

  • @Jane-kn7rj
    @Jane-kn7rj 2 года назад

    Excellent! Thank you very much for this.

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

    Nice placement of every element and chart. No jumbled data. Great work.

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

    Excellent. Thanks for sharing

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

    Sir please want a video for Create a Macro to save Specific Worksheets in specific folder

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

      There are plenty of examples of precisely this on my website. See if the following works for you. www.thesmallman.com/copy-sheet-and-save All the very best.

  • @zee.khan86
    @zee.khan86 2 года назад

    Loved your work, helped a lot for Dashboard skills. Appreciate Hardwork on the World Map :)

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

    Thank you very much! It leveled up my spreadsheet instantly!

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

      Excellent! Glad it helped.

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

    How can you move them back and forth? I want one variable to go into one macro, run a calculation and spit out the output variable back into the first macro. Any insights would be appreciated!

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

      I could be wrong but I don't think that is possible. Your workaround would be to use the second macros result and perform the necessary actions after the result is held in memory. Please post for others if you have a better workaround.

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

    How did you create these charts ?

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

      With a great deal of patience and persistence.

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

    my teacher also told me to work on this program but it is very difficult