How to count distinct values in a range in Excel!

Поделиться
HTML-код
  • Опубликовано: 2 мар 2023

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

  • @redhotz21
    @redhotz21 Год назад +142

    Unique formula is new to me, thank you. I've been copying list elsewhere, going to data then remove duplicates. Great tip 👍

    • @twiggyinc1
      @twiggyinc1 Год назад +3

      UNIQUE I learnt last week but if the list is a number of locations or "square of data" then use VSTACK in combination 😀

    • @kbrey2516
      @kbrey2516 Год назад +2

      me too 😂

    • @jpablo700
      @jpablo700 3 месяца назад +1

      Select Distinct

  • @adin6429
    @adin6429 Год назад +44

    No need to change the criteria range to absolute value.
    Just use D3# to fill down as the array result.
    =Countif(B3:B32,D3#), in that way, you can avoid annoying changes to absolute and copy down.

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

      What does the hashtag do in the D3# part?

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

      will it help in vlookup formula?

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

      @@imransharif8387 if using office 365 yes.

    • @favreje
      @favreje 10 месяцев назад +6

      ​@@KhaledTheSaudiHawkIIthe hashtag references the entire dynamic array.... Really cool new feature.

    • @KhaledTheSaudiHawkII
      @KhaledTheSaudiHawkII 10 месяцев назад +2

      @@favreje thanks for teaching me something new ♥️

  • @samzenmcknight3265
    @samzenmcknight3265 Год назад +5

    Man, where were you ? Every short is right the thing I need to use this week. Thank you!

  • @ianhortonplant
    @ianhortonplant Год назад +8

    This has just saved a shit load of work for a large register I'm using. Absolutely spot on.

  • @DancersUruguay
    @DancersUruguay 3 месяца назад +1

    The "F4" bonus! 🤯🤯🤯

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

    You have solved a question I have had for months. Thank you

  • @Brutus-co9dt
    @Brutus-co9dt Год назад +1

    Wall Street could use your skills. Fantastic!

  • @simsandsurgery1
    @simsandsurgery1 11 месяцев назад +3

    Man I could have used this a few months ago… I had to go through and count over 1500 responses to a survey by hand… I then had to separate which word they selected into a list separated by commas, then had to take the list apart and make new rows for all of the instances with multiple responses. It took me foreeeeevvvvvveeeeer.

  • @schillaci5590
    @schillaci5590 Год назад +1

    F4 to make an absolute reference. What a prize!

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

    I love your videos!

  • @longtu7631
    @longtu7631 Год назад +2

    This is cool. I've been using pivot or remove duplicate the wholetime

  • @lancenorman7244
    @lancenorman7244 3 месяца назад

    A million thanks!!!

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

    Love you bro, helped me a lot

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

    I would love to see tutorials like that also for LibreOffice Calc.

  • @serdip
    @serdip 2 месяца назад

    Great and practical Excel instruction! Next level would be, in my opinion, to turn the source range into a table and use Power Query's Group By feature with the Count Rows aggregation and thus eliminate
    formulas altogether.

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

    Awesome, video! Tks, bro!

  • @sachavez100
    @sachavez100 11 месяцев назад

    Super! Did not know about this one!!!

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

    Totally what I needed today. 👍 Thanks

  • @silpam.s8100
    @silpam.s8100 Месяц назад

    Thankyou so such ❤️❤️❤️

  • @mediaworldwide9848
    @mediaworldwide9848 Год назад +3

    Seems like a quick pivot would be faster with a little list like this.

  • @2BAvalon
    @2BAvalon Год назад

    I ha to do this last moth and I was going crazy! Thank you so much for this videos you post

  • @publiusii4246
    @publiusii4246 Год назад +1

    Hot damn I've been copying over my collumn and removing duplicates that's awesome

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

    Dude. Thank you.

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

    Excellent 😊

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

    I need to practice this is so important

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

    this good for spare part

  • @vipersorc
    @vipersorc 29 дней назад

    In new excel you can map a lambda against the unique array all inside a single cell, spill into the two columns with hstack ^^

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

    You’re a life saver❤

  • @KumaSelf
    @KumaSelf 11 месяцев назад

    Everytime I see your video, my mind is blown. This is amazing stuff¡

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

    This is a good one

  • @conansredbowtie
    @conansredbowtie Год назад +1

    I'm starting to understand why excel competitions exist

  • @mohamedalaa5833
    @mohamedalaa5833 3 месяца назад

    Perfect

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

    Damn I need to reup my Excell subscription. I can use all of these tips.

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

    Oh dang, I did that the slow way like 10 times just today 😂

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

    I am so not going to remember this when I need it. I'll just have to go make a pivot table😊

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

    Is it too early to say, “I love you?” 😂 Seriously though, thank you for all the great tips! So happy my algorithm knew I needed this! 🖤🦇

  • @KarthiKeyan-dk2eh
    @KarthiKeyan-dk2eh 6 месяцев назад

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

    Those $ to keep formulas from moving, perfect, thank you lol

  • @Mohamed-dn1rh
    @Mohamed-dn1rh Год назад

    Thanks

  • @saddagyanofficial4673
    @saddagyanofficial4673 Месяц назад

    👍

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

    super Bro :)

  • @ktf2001
    @ktf2001 7 месяцев назад +1

    I would use Pivot for this purpose

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

      Pivot tables! Pivot tables! Yes, indeed!

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

    Thanks Sir

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

    Wow

  • @hondo5710
    @hondo5710 Год назад +1

    No need to highlight, just press F4.

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

    I literally could have used unique function yesterday

  • @reader2506
    @reader2506 Год назад +1

    What’s the alternative for F4 in Mac?

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

    How to do the other way round, which is to convert the right table to the left one?

  • @tobiasklatt1670
    @tobiasklatt1670 Год назад +1

    or create a pivot...

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

    wait, what? highlight then press F4?
    .... the hero I didn't know I needed.

  • @kmanikandan420
    @kmanikandan420 5 дней назад

    How to change another check

  • @xierli8585
    @xierli8585 3 месяца назад +1

    Thanks, you helped me last minute saving my life. Thank you very much ❤ ⁴⁴²⁴

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

    Table + pivot table = done

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

    How can you add the count with a pivot table?

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

    Can you do the same thing with QUERY()?

  • @Sarakhan-se9gn
    @Sarakhan-se9gn Месяц назад

    which do You Use Excel version?

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

    I have used a unique function at row level and there is no outcome however I used transpose to convert row data to column and then applied unique with transpose, voila, unique function has been worked.
    question: does a unique function work on row level data or not?

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

    How to separate /delete landlines 📞 phone numbers which is mixed with cellphone numbers? We do skip tracing people’s contacts numbers, but it mixed with both cell n landline numbers. We only need the cell numbers. Thx 🙏

  • @acWeishan
    @acWeishan Год назад +7

    Good except you should use # at the end so the formula spills in proportion with the unique spill function so =countif($B$3:$B$32,D3#)
    Why do this ?
    I explained to a person, dragon, the advantage to using hash reference rather than copying the formula down as one does with non-spill functions.
    Answer ls here:
    ruclips.net/video/D9to9vnIuOg/видео.html

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

      It's not needed

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

      @@ParadiseDB7 its a better practice.

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

      @@acWeishan it's unnecessary

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

      @@ParadiseDB7 Unnecessary ??
      it allows your formula to be dynamically increasing and decreasing insync with your unique spill function automatically copying the formula down to the last unique value.
      If my unique values increase with new unique values or decreases with the elimination of unique values you will otherwise have to keep adjusting the count formula to align properly.
      What advantage do you see in NOT having the formula be dynamic with a simple hash tag at the end ? 🤔🤔

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

      @@acWeishan because it's not needed, and it doesn't even do what you say

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

    How if i want make more then 1 type fo example tea, then split to hot and ice tea

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

    unique formula doesn't work on my excel but it works on Google spreadsheet

  • @TienLe-yg1vy
    @TienLe-yg1vy Год назад

    😊

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

    Would this work for a wedding invite list? I need to send invites but some households have more than 1 person. I wanted a count for who has RVSP'd, who's pending and who said no.

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

    Does it take less resources?

  • @not_important2
    @not_important2 Год назад +1

    Pro tip alt+F4

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

    Looks very useful, but I missed why the third column populated at the end

    • @redhotz21
      @redhotz21 Год назад +1

      It duplicated the countif formula in the top box to all other boxes below it

    • @misterwill3625
      @misterwill3625 Год назад +1

      @@redhotz21 Thank you 😊 I don’t see what he’s doing to duplicate it. Did he just hit enter, drag it down to the bottom, or something else?

    • @easy_sheets
      @easy_sheets  Год назад +2

      Excel infers that you want the column filled to match the one next to it because i used that column in the formula

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

      @@easy_sheets You hurt my brain with all of this knowledge ☺️ Thank you for responding to clear it up for me 👏🏾

  • @totesmcpreesh7617
    @totesmcpreesh7617 11 месяцев назад +1

    So. Here’s a wild request, if I wanted to list how many times the number 1 appears in a series of numbers ranging from 0-364 with most numbers spaced out every 5 but there are a fair amount of deviations like 5, 10, 15, 20, 25, 28, 29, 30, 31, 35 all the way to 364
    Can Excel tell me how many times 1 appears? Or how many times 3 appears? Rather
    How many times each digit 0-9 appears?

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

      Not quiet sure, but have you try conditional formatting tab?
      Maybe a custom function on the Ctrl + 1 pop up.

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

    You can do the same easier than pivot table

  • @mahammadziyad9660
    @mahammadziyad9660 11 месяцев назад

    Why to break our head with these formulas. when we can use Pivot table.

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

      How do you make the single column of data into a pivot table with the count?

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

    What is an absolute reference?

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

    I have 1 to 100 number within range of 20 to 300
    I need values below 50
    I will able to count how many number
    But i need individual numbers

  • @WEareTheWORLD23
    @WEareTheWORLD23 11 месяцев назад

    ee pivot table?

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

    Or we can do just one pivot

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

    Can you please help me? Mine's just showing #NAME? when i try the =UNIQUE() formula. Pls help.. and is this possible also if i need to count the number of time it appears from a different sheet? Thank you

  • @adamkhan7234
    @adamkhan7234 Год назад +2

    What does absolute function do?

    • @ParadiseDB7
      @ParadiseDB7 Год назад +4

      Prevents the range values from shifting when you copy the cell, it's not actually needed in this example though just makes it easier

    • @suprguy
      @suprguy Год назад +1

      @@ParadiseDB7it is needed as the range of countif would shift by one per row

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

      @@suprguy again, it's not NEEDED it just makes life easier.

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

      ​Dragon you shouldn't be commenting, you don't know excel

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

    What is the purpose of making the formula absolute or press F4? Please someone answer. Thank you.

    • @mattwatson5408
      @mattwatson5408 Год назад +1

      If you don't use F4, when you drag down the COUNTIF function, it will begin the range on the row the criteria is on. I.E: Coke is on D4, and without F4, your COUNTIF will also start of B4... but you want it to always start counting on B3.

    • @vanderpawl
      @vanderpawl Год назад +1

      @@mattwatson5408 Got it. Thank you for the explanation.

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

    Notes: You can't you unique in google sheets

  • @court2379
    @court2379 Год назад +1

    But the Drink column will probably change over time. Unique will automatically update, but the counts column will not add a row automatically. Got a trick for doing that besides an if empty return empty else count?
    Also the countif works on small spreadsheets, but get a few hundred thousand rows and it gets very slow.

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

      In the first argument of your Countif, use OFFSET(first cell of your list, 0, 0, COUNTNA(whole column of your list),1).
      In terms of speed, maybe you should try a Pivot table. Selects the whole column, then remove blanks in the Pivot Table Options.

  • @Sagarkumar-qj3hl
    @Sagarkumar-qj3hl 8 месяцев назад

    I want to do new entry. Will it change the unique and countif entry figure. How can do this please anybody help me

    • @J-Excel
      @J-Excel 7 месяцев назад

      Select one of Column B in the cart then Ctrl+T.
      Table function is activated.
      If you input new data B33, automatically reflects unique formula result without modifying the formula.

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

    How would you do it without the UNIQUE() function?

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

      Pivot table

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

      Use a pivot table. If it's quick, I'll use a formula, but if I want to manipulate the data and add slicers I'll use pivot tables.

  • @Sarakhan-se9gn
    @Sarakhan-se9gn Месяц назад

    Because not apply formula my Excel version

  • @lovol2
    @lovol2 Год назад +1

    Or, copy and paste into chat GPT and ask it

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

    Дайте эти функции на Русском экселе! Прошу(
    P.s. Про ВПР я знаю

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

    alg

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

    Why can't we use a pivot table ? It's also equally efficient

    • @easy_sheets
      @easy_sheets  10 месяцев назад +1

      You definitely can! Each have their use cases. Functions can be helpful when you need the data for an argument in another function when creating custom calculations.

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

      @@easy_sheets thanks buddy

  • @mariasoledadrosalesrodrigu4755
    @mariasoledadrosalesrodrigu4755 11 месяцев назад

    Nomas que no domino el speakinglish...

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

    Why Don't you filter

  • @dimakatjolethole634
    @dimakatjolethole634 2 месяца назад

    Too fast

  • @paulofigueroa2314
    @paulofigueroa2314 11 месяцев назад

    thanks for this method, i will use this to identify some duplicates 🫡

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

    Why is d7 and d8 not the same as b7 Nd b8??