How to extract unique values in Excel with VBA | VBA Scripting Dictionary Tutorial | Excel VBA

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ม.ค. 2025

ความคิดเห็น • 18

  • @AntrikshSharma
    @AntrikshSharma  3 ปีที่แล้ว

    I forgot this as I have been using Office 365 for a long time now, but, If you are using an older version of Excel then to get the Unique Value just use this code after creating UDF. Assuming you paste the code in H4
    =IF(ROWS(H$4:H4)

  • @nadermounir8228
    @nadermounir8228 ปีที่แล้ว

    A very nice Video and well explained. Thank you

  • @darrelldeclaro8157
    @darrelldeclaro8157 2 ปีที่แล้ว +1

    Awesome!!! I have been looking for this for a long time!!!!! now any idea how to start with working on filter and sort. I am using a licensed excel 2016. that do not have the new functions like excel 365. It would amazing to have that!!!!!!

    • @AntrikshSharma
      @AntrikshSharma  2 ปีที่แล้ว

      Agreed, Excel 365 is years ahead of other versions, with so many array functions Excel is a beast.

  • @selvarasan.v7246
    @selvarasan.v7246 2 ปีที่แล้ว

    Can this vba code 2010 use add ins in MS Excel?

  • @surendrapmaurya
    @surendrapmaurya ปีที่แล้ว

    how to use in Two columns data simultaneously ??

  • @richardson1590
    @richardson1590 2 ปีที่แล้ว +1

    It's not working... results will through only one values...pls help on this

    • @AntrikshSharma
      @AntrikshSharma  2 ปีที่แล้ว

      That's because you may not be using Office 365, please check the pinned comment.

  • @zakimost250
    @zakimost250 2 ปีที่แล้ว

    Dear Sir, thx for your video but it is not sorted neither Ascending nor Descending can you tell me how to do it please

  • @kapiltakkar8861
    @kapiltakkar8861 ปีที่แล้ว

    It is not working returning the duplicate values even using the If formula provided in pinned comment.

  • @ramkunda5423
    @ramkunda5423 2 ปีที่แล้ว

    Can I use the dictionary to copy and paste rows from one set of sheets into another set of sheets? Dictionary will be used to keep track of the current row number in the sheets.

    • @AntrikshSharma
      @AntrikshSharma  2 ปีที่แล้ว

      Using Dictionary for just copy paste is overkill, you can simply use Array for that, I can create a video on that if you want.

  • @sainathg3339
    @sainathg3339 2 ปีที่แล้ว

    Its not working...will the code works for strings also..

  • @ismailhome7169
    @ismailhome7169 2 ปีที่แล้ว

    How to make it power query

  • @konoha9729
    @konoha9729 2 ปีที่แล้ว

    Returns just 1 value in 2007 version