Don’t Use PivotTables. Use COUNTIFS or FREQUNCY Functions Instead. Excel Magic Trick 1849

Поделиться
HTML-код
  • Опубликовано: 15 июл 2024
  • Download Excel File: excelisfun.net/files/EMT1847-...
    Learn about how PivotTables cannot include upper limit when grouping number data with decimals. COUNTIFS and FREQUNCY Functions do include upper limits when grouping numbers into upper and lower limit categories.
    Topics:
    1. (00:00) Introduction
    2. (00:06) PivotTable
    3. (01:45) COUNTIFS
    4. (02:49) Text Labels for Formula Report
    5. (03:25) Find Feature to create labels for PivotTable
    6. (03:56) FREQUENCY Array Function
    7. (05:15) Summary
    8. (05:30) Closing, Video Links
    #excel #excelisfun #analytics #analysis #dataanalysis #dataanalytics #excelmvp #freeclass #freecourse #freeclasses #excelclasses #microsoftexcel #microsoftmvp #lookup #xlookup

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

  • @minecraftmike5193
    @minecraftmike5193 5 месяцев назад +4

    Love you Mike! Can’t believe the enthusiasm you have for Excel and teaching, it’s something very special ❤

    • @excelisfun
      @excelisfun  5 месяцев назад +2

      I am happy to make special fun Excel videos for you and the rest of the Team!!!!

  • @williamarthur4801
    @williamarthur4801 5 месяцев назад +1

    it may not gave been the main purpose of the video but I'd never thought of using find and replace on a pivot, what joy 😊😊

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

      Yes!!! Ctrl + H Rules in Excel and Word : )

  • @chrism9037
    @chrism9037 5 месяцев назад +3

    Thanks Mike, another great video!!!!! I didn't know about the upper limit issue in pivot tables.

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

      The Microsoft programmers had to pick one side to include, and they chose the lower limit. For most projects it doesn't matter because the patter will still be revealed, but if you need to include upper limit... : )

  • @syrophenikan
    @syrophenikan 5 месяцев назад +2

    Fantastic! I learn something new EVERY time!!!

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

      Awesome!!! You and I both: I learn something new each time too : )

  • @Excelambda
    @Excelambda 5 месяцев назад +4

    Great video!! ✌
    If I will find time this week I will publish a study about my FRQ function, concept plus a tone of examples.
    - can deal with lower or upper limits (pivot or countifs functionality + frequency functionality in one)
    - can calculate frequencies of non numeric values (ignored by FREQUENCY)
    - results can have same framework of bins array (if bins array is 2D, FREQUENCY results are always a clm vector)
    - calculates for any bins array and/or sorted unique bins intervals that can be listed next to the frequencies.....and more ✌😊

    • @excelisfun
      @excelisfun  5 месяцев назад +1

      You are working for Microsoft now, right lol
      You, da man!!!!!!
      Excel is Lambda Fun!!!!

    • @Excelambda
      @Excelambda 5 месяцев назад +1

      @@excelisfun Not yet ! 😂

  • @vishal.pandey2001
    @vishal.pandey2001 5 месяцев назад +3

    Mr ExcelisMagic Sir ,
    You are the greatest excel lover ever known to me.
    Though the problem has been solved earlier , you always brings up alternative with definite explanation as to what, why and how
    Please never stop posting as it brings in me passion after always watching your videos

    • @excelisfun
      @excelisfun  5 месяцев назад +3

      I am very happy that you enjoy what I post. It has been 15 years 362 days so far that I have posted, and I plan to keep doing it forever, or as long as I can (which ever comes first) : ) : )

  • @kamal3r
    @kamal3r 5 месяцев назад +1

    Informative and new way for me

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

      Glad this helps : )

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

    THANKS. EXCELLENT VIDEO & EXPLANATION:)

  • @HusseinKorish
    @HusseinKorish 5 месяцев назад +3

    Wow ... i spent alot of time to use grouping in pivot table reports ... and my numbers included decimals ... and of course it didn't work correctly ...now i konw ... thanks Mike

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

      Yes, it is important to know this fact about Pivots : ) : )

  • @roywilson9580
    @roywilson9580 5 месяцев назад +2

    Thanks Mike, another great video. I have noticed that Excel can do some very odd things to the unwarey so it is always a pretty good idea to double check upper bounds, lower bounds and any calculation that includes conditionals or many nested functions.

    • @excelisfun
      @excelisfun  5 месяцев назад +1

      I 100% agree. Very smart, Roy! I always do projects at least two ways to try assure that things are correct.

    • @roywilson9580
      @roywilson9580 5 месяцев назад +1

      @@excelisfun I do the same and have even been known to resort to pen, paper and brain-power when calcution results look off but is probably just me showing my age :D

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

      @@roywilson9580I am that way too: sometimes paper and pencil to check : )

  • @rajeshmajumdar4999
    @rajeshmajumdar4999 5 месяцев назад +1

    Thank you so much!

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

      You are welcome so much!!!

  • @Chaingangsoldiernit
    @Chaingangsoldiernit 5 месяцев назад +1

    Super helpful. Thank you!

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

      You are welcome!!!

  • @SyedMuzammilMahasanShahi
    @SyedMuzammilMahasanShahi 5 месяцев назад +1

    Thanks amazing Mike for this EXCELlent video.

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

      You are most welcome, Fellow EXCELlent Teacher : ) : ) : )

  • @markpodesta4605
    @markpodesta4605 5 месяцев назад +3

    Thank you Mike. Can you also create similar dynamic pivot tables by using GROUPBY and PIVOTBY?

    • @excelisfun
      @excelisfun  5 месяцев назад +1

      There is not an automatic groupby feature in those functions, but it would be cool if Microsoft added one : )

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

      ​@@excelisfun
      a raw and not very tested version for thought and improvement could be
      =GROUPBY(CEILING.MATH(C6:C25 , 500) , C6:C25 , COUNT)
      and "opposite" option for include/exclude
      =GROUPBY(FLOOR.MATH(C6:C25 , 500) , C6:C25 , COUNT)

  • @johnborg5419
    @johnborg5419 5 месяцев назад +1

    Thanks Mike.

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

      You are welcome, Formula Guy John!!!

  • @joshpeters813
    @joshpeters813 5 месяцев назад +2

    First😊

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

      First Place Trophy for you : ) : )

  • @timestoryx
    @timestoryx 5 месяцев назад +1

    wow great :D

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

      Glad it is great for you !!!!

  • @dhaval1489
    @dhaval1489 5 месяцев назад +2

    I think using =Counta(filter()) would also do the trick in every situation, but it is bit slow in performance

    • @excelisfun
      @excelisfun  5 месяцев назад +1

      You are right. COUNTIFS, SUMIFS and the like will almost always calculate faster than direct array operations.

  • @FutureCommentary1
    @FutureCommentary1 5 месяцев назад +2

    My takeaway is that I didn't know one could group categories in pivot table the way you did.
    And I didn't know the frequency function. I'm more likely to use it than countifs in similar cases.

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

      You inclination is good because COUNTIFS always gives the most flexibility with creating just the categories that you want.

  • @prabhusundar3006
    @prabhusundar3006 5 месяцев назад +1

    Great video Mike, We can explore the same using sumproduct as well..

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

      You can use SUMPRODUCT, but as I researched and wrote about in my 2012 book, Ctrl + Shift + Enter: Mastering Excel Array Formulas, COUNTIFS will almost always calculate more quickly than SUMPRODUCT because COUNTIFS use underlying code whereas SUMPRODUCT has to make direct array calculations, row-by-row.

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

      Here is how you would do it with SUMPRODUCT:
      =SUMPRODUCT(--($C$6:$C$25>=E25),--($C$6:$C$25

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

      It took me about 20 minutes to get the new file uploaded, but it is there now.

    • @prabhusundar3006
      @prabhusundar3006 5 месяцев назад +1

      @@excelisfun thank you Mike..... I've read your cntr+ shift+enter book back in 2015 and have been following you since 2014....you have been my greatest inspiration and have learnt so much following you.... Thank you for everything... 😊

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

      @@prabhusundar3006 You are welcome for everything : )

  • @gvitullib
    @gvitullib 5 месяцев назад +1

    Wao! that trick over the pivot table doing the labels thing, I didn't know it. Mike., kudos men!

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

      Ctrl + H is fun : )

  • @roncoderre
    @roncoderre 5 месяцев назад +4

    Hey, Mike..... Maybe something like this to enhance the FREQUENCY approach to skip the extra category?: =CHOOSEROWS(FREQUENCY(C6:C25,F15:F18),SEQUENCE(1,4))

    • @nguyentuan826
      @nguyentuan826 5 месяцев назад +6

      you can use =drop(FREQUENCY(C6:C25,F15:F18), -1) to remove extra category,

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

      Thanks, Ron!! Thank extra category always gives people trouble.

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

      @@nguyentuan826 Thanks Tuan Nguyen!! Microsoft is so good to us with DROD and TAKE : )

  • @nadermounir8228
    @nadermounir8228 5 месяцев назад +1

    Great video Mike 📹 👍. One question : i didnt quite get what u mean that the decimal numbers in pivot tables are not included ?

    • @excelisfun
      @excelisfun  5 месяцев назад +1

      Decimals numbers induce the Pivot to group this way. If you have integers, the categories are different: there is no duplicate numbers in the upper limit of one category and the lower limit of the next category. Categories go like this: 0-499, 500-999 and so on, rather than 0-500, 500-1000 and so on.

    • @excelisfun
      @excelisfun  5 месяцев назад +1

      I added an integer example to the download workbook file : )

    • @excelisfun
      @excelisfun  5 месяцев назад +1

      It took me about 20 minutes to get the new file uploaded, but it is there now.

    • @nadermounir8228
      @nadermounir8228 5 месяцев назад +1

      @@excelisfun ah I see now that is very interesting I didn't know that before.

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

      @@excelisfun thank u so much Mike for adding the interger example. This makes everything very clear 👌

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

    Sir what is the work in company for Excel. What work does company give for Excel jobs

  • @tofikqureshi6507
    @tofikqureshi6507 5 месяцев назад +1

    Hello Sir Pls help me
    I'm facing the one condition use Google sheet make pivot table need click pivot table showing data as same sheet not new sheet data visible same sheet pls❤help

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

      I am sorry, I do not know how to use Google Sheets : (

  • @Rahul-2914
    @Rahul-2914 5 месяцев назад +1

    Need some corrections in countif formula because pivot table has different values

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

      That does happen often. The specific details always lead to a solution ; )

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

    Changed 500.00 to 500, PivotTable still not working.
    So it's not just the decimal format or something else? Thanks.

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

      I do not know what you mean. What is not working?
      I just added an example of integer and decimal numbers to the download file on the 1849 (an) worksheet tab. You can check that out.

    • @excelisfun
      @excelisfun  5 месяцев назад +1

      If you tried Number Formatting, you might be missing a crucial fundamental concept in Excel: Number Formatting is a façade - Number Formatting never changes the actual number, it just displays it on the surface in a different way. Number Formatting is not seen by formulas and PivotTables - Pivots and Formulas always see and act on the underlying number.

  • @MohdSaif-oq3ow
    @MohdSaif-oq3ow 5 месяцев назад

    How to download free Excel laptop plz share me link