Free Excel VBA Course #20 - Creating Custom Functions in Excel Using VBA

Поділитися
Вставка
  • Опубліковано 28 лис 2024

КОМЕНТАРІ • 34

  • @reechatimilsina5640
    @reechatimilsina5640 4 роки тому +4

    I am learning a lot from your videos in this quarantine. Thank you 🙏🏻.

  • @deninsrmic4165
    @deninsrmic4165 2 роки тому

    Great tutorial on VBA functions, especially your last example on extracting values. Thanks

  • @martinsefelin4479
    @martinsefelin4479 4 роки тому +1

    Awesome! Much appreciated 👍

  • @allyshah90
    @allyshah90 2 роки тому

    Thank you veryyy muchhh. You are the best!

  • @yashlimbachiya7327
    @yashlimbachiya7327 4 роки тому +2

    Hey trump excel, I love your videos and I am becoming good in excel I have a doubt that can we use select case statement in creating custom function

  • @arunkumar-bd9it
    @arunkumar-bd9it 3 роки тому

    Thanks Brother

  • @JATINKUMAR-qu4vi
    @JATINKUMAR-qu4vi 2 роки тому

    Very helpful session

  • @manishkumarchd
    @manishkumarchd 3 роки тому +1

    Thank you

  • @deepaktambe8043
    @deepaktambe8043 4 роки тому

    Very useful! Thank you

  • @trainingforcarlos
    @trainingforcarlos 4 роки тому

    Hello, Thanks a lot for all your videos.
    I really enjoyed the custom function, it is exactly what I needed to make some tasks of my job faster. Thanks a Lot...

  • @tanjidirfan4833
    @tanjidirfan4833 3 роки тому

    Very informative Video

  • @awesh1986
    @awesh1986 3 роки тому

    Awesome stuff.

  • @ravi670100
    @ravi670100 2 роки тому

    you are amezing

  • @arghyadutta9091
    @arghyadutta9091 Рік тому

    Great

  • @margad-erdeneboldbaatar4704
    @margad-erdeneboldbaatar4704 2 роки тому

    Thanks so much.

  • @vba_appsscript
    @vba_appsscript Рік тому

    It would be better if you would show to create a help menu also

  • @aymanebziou2656
    @aymanebziou2656 3 роки тому

    very useful, thank youu

  • @abhinaygarg7029
    @abhinaygarg7029 4 роки тому

    Thank you so much

  • @avimunde
    @avimunde 3 роки тому

    Dear Sumit Sir, Thanks for providing this type of custom function , this was very helpful while working on Excel and VBA, I am having one problem while writing the function, how to do the sum of value for particular variable in lookup range

  • @darrendowson5081
    @darrendowson5081 4 роки тому

    A question if I may.
    Function inputMonth is declared as an integer, and the inputdate argument is declared as a Date.
    Then, SingleCellExtract, the arguments are declared but function SingleCellExtract is not. Is this because of SingleCellExtract then being equal to 'result', which in itself is declared as a string?
    Great videos, thanks, coffee shall be on its way!

  • @deexcelguy
    @deexcelguy 4 роки тому +3

    Hi Sumit Bansal,
    Just want to say you have a fantastic course... but I want to point out something about your code... though it works It was not necessary... to add the space before
    Check the video 14.40
    Here is your code
    If Lookuprange.Cells(i,1) = Lookupvalue then
    Result= Result & " " & Lookuprange.Cells(i, ColumnNumber) & ","
    End If
    Here is my code
    If Lookuprange.Cells(i,1) = Lookupvalue then
    Result = Result & Lookuprange.Cells(i, ColumnNumber) & ", "
    End If
    This works better because yours add some extra space at the beginning...
    Just my humble contribution to your great course.
    Kindly,
    Ferdinand Nrele Attobra (***DeExcelGuy***)

    • @saywot9688
      @saywot9688 Рік тому +1

      I would leave it alone until the last line of code, then change it to:
      SingleCellExtract = Trim(left(Result , Len(Result) - 1))
      to get rid of BOTH trailing comma and leading space.

  • @antoniorasco1928
    @antoniorasco1928 4 роки тому

    Do you also do Power Pivot? PQ + VBA + PP = Excel guru

  • @ajitkumarsahoo3914
    @ajitkumarsahoo3914 2 роки тому

    Please guide.
    A value is pasted in a cell within a range with VLOOKUP formula and the value so obtained is formatted into Date format. System converts the zero value into 00-01-1900 format. What is the VBA code to change the 00-01-1900 date value to text within the range without formatting other date values.

  • @harshil6920
    @harshil6920 2 роки тому

    how can i create function like - if function( (If function(_) ) ?

  • @ExcelMadeEasy444
    @ExcelMadeEasy444 4 роки тому

    Very Interesting.
    .
    Sir,
    How can we create Xlookup Function for office 2013 ?

  • @nadermounir8228
    @nadermounir8228 4 роки тому

    What does the second 1 on (i,1) represent ? Does it reperesent the column number?

    • @martinsefelin4479
      @martinsefelin4479 4 роки тому +1

      Yep, you got it right. Since ”i” is the loop variable it will be i +1 in next iteration. This is how it will move by one row and not by column. Hope this makes it clear. 👍

    • @nadermounir8228
      @nadermounir8228 4 роки тому

      @@martinsefelin4479 Thank you Martin

  • @nadermounir8228
    @nadermounir8228 4 роки тому

    Adding the space after result then added a comma after the column number? Shouldn't we put the space also at the end like we did for the comma? This part is confusing

  • @nachoo6290
    @nachoo6290 3 роки тому

    The last example doesn´t work

  • @Angel_Heart2009
    @Angel_Heart2009 Рік тому

    Thank you sir can you please help me more examples and give me assignment for self practice...sir I want online vba class so how can I reach you plz reply to my msg🙏

  • @rakibhasan1425
    @rakibhasan1425 4 роки тому

    its shows an error.