VBA to Find the Top 10 Values, Top 5 Values or Top 3 Values

Поделиться
HTML-код
  • Опубликовано: 15 окт 2024

Комментарии • 24

  • @jay55patel
    @jay55patel 4 года назад +1

    thank you. you are a good teacher

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

    This is not working when duplicate values are there. Please how to do that explain. Thanks! @Excel Destination

  • @ExcelMadeEasy444
    @ExcelMadeEasy444 4 года назад +1

    Good Explained. I like very much.

  • @99445deva
    @99445deva 3 года назад

    Sir is it possible find largest 5 values in a column and copy the corresponding 5 rows to another sheet using VBA. if so how?

  • @tannertucker22
    @tannertucker22 4 года назад +1

    This is excellent. How does one perform the same for different selections please? Thank you.

    • @ExcelDestination
      @ExcelDestination  4 года назад

      You can share more information about your selection like if it is range or column or row or multiple sheets. Logic would be same with different types of selection.

    • @tannertucker22
      @tannertucker22 4 года назад

      @@ExcelDestination Thank you. I meant if you wanted to use an input box to capture the selection. Thank you though.

    • @ExcelDestination
      @ExcelDestination  4 года назад +1

      you can use inputbox. a = inputbox("enter a number") then use value, stored in a

  • @vijaysahal4556
    @vijaysahal4556 4 года назад +1

    amazing sir thankx 👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍

  • @sridharkrishnappanavanerth3388
    @sridharkrishnappanavanerth3388 4 года назад +1

    Sir, i am getting ' Application -defined or object -defined error ' in set myrange =worksheets("sheets1").range("G4:o20") line. How to fix this error.

    • @ExcelDestination
      @ExcelDestination  4 года назад

      objects are workbook, worksheets, range and cells. So, you should check if every object is correct in your line. I doubt in worksheets("sheets1") part it should be worksheets("Sheet1")

    • @sridharkrishnappanavanerth3388
      @sridharkrishnappanavanerth3388 4 года назад

      @@ExcelDestinationSir , i have corrected to worksheets("sheet1") in the code, still getting the same error.

    • @ExcelDestination
      @ExcelDestination  4 года назад

      you can download code for this from www.exceldestination.com

    • @shreshtithabejjam983
      @shreshtithabejjam983 4 года назад

      Hi, please provide any example for sort/show the data for top 5. Advanced thanks

  • @abdel-fattahmaghari9806
    @abdel-fattahmaghari9806 4 года назад +1

    I hope to learn how blink in textbox on user form based on condition

    • @ExcelDestination
      @ExcelDestination  4 года назад +1

      For logic, you can take help from following tutorial. Same logic you can use in userform textbox :
      ruclips.net/video/rTsKTmBhSKY/видео.html

    • @abdel-fattahmaghari9806
      @abdel-fattahmaghari9806 4 года назад

      thanks for a quickly replaying

  • @arifulhoque4547
    @arifulhoque4547 4 года назад +1

    👍👍👍👍👍👍

  • @vijaysahal4556
    @vijaysahal4556 4 года назад

    sir what about my queries before few days

    • @ExcelDestination
      @ExcelDestination  4 года назад

      sorry, which query. can you pls share again.

    • @vijaysahal4556
      @vijaysahal4556 4 года назад

      ya sure sir

    • @vijaysahal4556
      @vijaysahal4556 4 года назад

      about select case statement I want to say that's was result single cells "excellent ""good " "bad" but we want grade result show in range c2:c10

    • @ExcelDestination
      @ExcelDestination  4 года назад

      I would suggest you to try for loop statement.

    • @vijaysahal4556
      @vijaysahal4556 4 года назад

      I had try with for loop but cnt complete it there are some usse I know what I cn do but the result nt get so plzz