2 Quick Ways To Calculate Distinct Count With Pivot Tables

  Рет қаралды 237,152

Excel Campus - Jon

Excel Campus - Jon

Күн бұрын

Пікірлер: 149
@marcnaidu5804
@marcnaidu5804 11 ай бұрын
Hi Jon, Excellent. Clear. And the window within the window is useful. Can see you explaining and the sheet at the same time. Thank you.
@ExcelCampus
@ExcelCampus 10 ай бұрын
Thanks for the feedback, Marc! 😀
@prabhurethinamsredmi6978
@prabhurethinamsredmi6978 Жыл бұрын
Thank you for the detailed explanation. 2nd option fits my need, appreciate your help
@lisaamante5384
@lisaamante5384 3 жыл бұрын
Las Vegas, Nevada, USA: Excellent! Quick, concise, clear, easy! Thanks so much also for explaining pros and cons of both ways.
@KayYesYouTuber
@KayYesYouTuber 2 жыл бұрын
For many years I have had this problem and I would write the distinct query in SQL to do this. This simple trick is so helpful. Thanks a bunch.
@JabastinS
@JabastinS 2 жыл бұрын
The way you have explained amazing. Thank you.
@IslamMuhammad
@IslamMuhammad 2 жыл бұрын
Easy and smooth explanation, Thanks for helping
@debabrataghosh8338
@debabrataghosh8338 2 жыл бұрын
Thanks for sharing the trick,Mr Jon .
@nboisen
@nboisen 4 жыл бұрын
Excellent explanation of the filter context advantage when using Power Pivot!!!
@jesslynnsh
@jesslynnsh 2 жыл бұрын
Thanks for sharing the video! I have been trying to count the data in pivot table for days, until I saw your video, it solve my issue in 2mins! Really grateful!
@SothearithKONGMrMuyKhmer
@SothearithKONGMrMuyKhmer 8 ай бұрын
Thanks. That’s really handy with distinct count in Pivot table. 🎉
@ExcelCampus
@ExcelCampus 8 ай бұрын
Glad it was helpful! 😀
@patriciadavis5299
@patriciadavis5299 5 ай бұрын
This was a great explanation! Thank you for the multiple options why one may be chosen over another.
@ExcelCampus
@ExcelCampus 5 ай бұрын
You're very welcome! 😀
@rohitekka2674
@rohitekka2674 3 жыл бұрын
Armed with two new tricks, Thanks Jon!
@vikasjoseph2008
@vikasjoseph2008 3 жыл бұрын
I have been struggling with distinct count for long. Thanks very much for this solution. Keep up the good work
@haronnjiru8122
@haronnjiru8122 2 жыл бұрын
Excellent explanation. Thank you
@luideveyra6259
@luideveyra6259 Жыл бұрын
Thank you!!! Sending support from Philippines
@alconomic476
@alconomic476 2 жыл бұрын
Thanks, this was helpful and the presentation was great
@bungaranpanggabean1709
@bungaranpanggabean1709 2 жыл бұрын
Good work job Jon. Its working well for small number of data, but not efficient for big number of data
@abdallahbendriss2599
@abdallahbendriss2599 2 жыл бұрын
Thanks body, you saved me a lot of trouble and you made my night, was working at 1AM :)
@foxiesh
@foxiesh 2 жыл бұрын
SUPER HELPFUL!! Thank you very much
@sherivanderhoof7106
@sherivanderhoof7106 3 ай бұрын
So Accurate - easy to use!! Easy to update with new data - So happy I found you!
@ExcelCampus
@ExcelCampus 3 ай бұрын
Glad it was helpful! 😀
@Vlog88999
@Vlog88999 4 жыл бұрын
Perfect teacher of excel
@MyChannel706
@MyChannel706 3 жыл бұрын
Excellent tutorial. Thanks much!! Very helpful.
@vinay_tire
@vinay_tire 11 ай бұрын
Thanks, I invested 30 minutes before reaching here... big help. Thanks
@ExcelCampus
@ExcelCampus 11 ай бұрын
Thanks for the feedback @vinay_tire 😀
@sharidavis4888
@sharidavis4888 3 жыл бұрын
This helped me SO MUCH! Thank you Jon!
@sachinrv1
@sachinrv1 4 жыл бұрын
That's fantastic. Pivot table is always easy and wonderful tool. Thanks for sharing this trick :)
@ExcelCampus
@ExcelCampus 4 жыл бұрын
Thanks Sachin! 🙂
@aguerojg
@aguerojg 4 жыл бұрын
Thank you very much, Jon, your explanation is so clear and great, amazing solution with the Deal count column :)
@Annethe71
@Annethe71 2 жыл бұрын
Thanks for this, it really saved my day and so well explained as always. Really like your tutorials.
@jcop14
@jcop14 11 ай бұрын
Great instruction! Thank you.
@ExcelCampus
@ExcelCampus 10 ай бұрын
You are welcome! 😀
@H_a_n_z
@H_a_n_z 8 ай бұрын
The first solution is beautiful ... easy to do and so smart ... thanks alot!! I tried that data model, but it makes problems with bigger tables
@ExcelCampus
@ExcelCampus 8 ай бұрын
Thanks for the feedback! 😀
@oyewoleismail2427
@oyewoleismail2427 3 жыл бұрын
Lifesaver. Thank you for sharing this video
@shubhamlale5946
@shubhamlale5946 2 ай бұрын
Awesome, I was looking for the 2nd solution Thank you very much
@cargouvu
@cargouvu 3 жыл бұрын
This is awesome. Helped me solve an issue in SQL... Thank you soo much!!
@abhilashponnam
@abhilashponnam 4 жыл бұрын
Thanks a lot! Was looking for it for quite some time. Your explanation was intuitive and easy
@Wulandari-gr2se
@Wulandari-gr2se 4 жыл бұрын
Thanks a lot Jon.... this is really useful for my work
@ExcelCampus
@ExcelCampus 4 жыл бұрын
Thanks! 🙂
@ca.ravigoyal5782
@ca.ravigoyal5782 Жыл бұрын
Thanks a ton from India Jon. Really Big problem is solved
@patricktampus4937
@patricktampus4937 2 жыл бұрын
This is VERY HELPFUL :) Thank you
@selinakarac6792
@selinakarac6792 2 жыл бұрын
This is very helpful, thanks!
@kirrilywelsh
@kirrilywelsh 4 жыл бұрын
Hi Jon: Your explanations are always so easy to follow. Cheers :)
@ExcelCampus
@ExcelCampus 4 жыл бұрын
Thanks Kirrily! I appreciate your support. 🙌
@marcnaidu5804
@marcnaidu5804 11 ай бұрын
@@ExcelCampus Hi Jon, will this work with no pivot table and using a =subtotal and count parameter to only count the unique values based on what is filtered? Thanks
@pramodcomputertips7872
@pramodcomputertips7872 3 жыл бұрын
I am Pramod from India. Thanks sir, your suggestion solved a big problem.
@miriambonilla6407
@miriambonilla6407 3 жыл бұрын
Thank you, I might use it some how in the future.
@doktorexcel8603
@doktorexcel8603 4 жыл бұрын
Great solutions.
@hangtrinh7207
@hangtrinh7207 2 жыл бұрын
Very useful video ..Thanks so much ..
@wangecho7696
@wangecho7696 10 ай бұрын
thank you so much! exactly what I need!
@ExcelCampus
@ExcelCampus 10 ай бұрын
Glad it helped! 😀
@bador28
@bador28 4 жыл бұрын
It is a great solution, thanks so much
@wayneedmondson1065
@wayneedmondson1065 4 жыл бұрын
Thanks Jon. Great video and solutions. Looking forward to Power Query and Dynamic Array function methods. Thumbs up!!
@ExcelCampus
@ExcelCampus 4 жыл бұрын
Thanks Wayne! 👍
@wayneedmondson1065
@wayneedmondson1065 4 жыл бұрын
@@ExcelCampus Thanks Jon. By the way, I modified my worksheet formula solution as follows: =SUM(--(LEFT(UNIQUE(Table1[Sales Stage]&"|"&Table1[Deal ID]),FIND("|",UNIQUE(Table1[Sales Stage]&"|"&Table1[Deal ID]))-1)=H4)). Don't need the SORT functions in there to get the correct result :))
@sallyho146
@sallyho146 Жыл бұрын
@@ExcelCampus Jon - I have one apartment with two residents living there. If I want to count his many residents stay in each apartment by apartment # in one column and resident names in 2nd column, count in 3rd column, the count doesn’t combine 2 resident for apt #100, 105, etc because I put the resident names in column 2 using display feature. How can pivot table count 2 residents for apt #100, #105 etc?
@tonyjinca
@tonyjinca 2 жыл бұрын
Thank you Sir!
@mkparker99
@mkparker99 Жыл бұрын
This was awesome. thank you!
@ExcelCampus
@ExcelCampus Жыл бұрын
Thanks, mkparker99! 😀
@dinorr8892
@dinorr8892 3 жыл бұрын
Thanks Jon really nice sharing...
@akshitstenaa
@akshitstenaa 7 ай бұрын
Loved it It was super simple Thx brother
@ExcelCampus
@ExcelCampus 7 ай бұрын
Most welcome 😊
@vijaysahal4556
@vijaysahal4556 3 жыл бұрын
Hi jon you are amazing 👍🏻👍🏻👍🏻👍🏻
@darrylmorgan
@darrylmorgan 4 жыл бұрын
Great Explanations..Thank You Jon :)
@ExcelCampus
@ExcelCampus 4 жыл бұрын
Thanks Darryl! 🙌
@samiakram147
@samiakram147 2 ай бұрын
For more than 10 years we have been using different and lengthy way this vdo gave a relief 😂
@ExcelCampus
@ExcelCampus 2 ай бұрын
Glad it helped! 😀
@onepercent3934
@onepercent3934 2 жыл бұрын
Hi Jon, this video is very helpful! thank you so much for sharing this. I have a challenge when I'm trying on my Mac. When I create the pivot table, it does not show up the option "add this data to the data model"you mentioned in the video. I think I'm using the latest version of the software as I just subscribe the office 365 excel family , hope you may help advice. thank you
@dastageera9626
@dastageera9626 4 жыл бұрын
Thanks dear brother...... I lawsys waiting for your great videos.....
@ExcelCampus
@ExcelCampus 4 жыл бұрын
Thanks Dastageer! I appreciate your support. 🙌
@rrgalvao
@rrgalvao 7 ай бұрын
Exactly what I needed! Thanks!!!
@ExcelCampus
@ExcelCampus 7 ай бұрын
Glad it helped! 😀
@zaririrani2494
@zaririrani2494 3 жыл бұрын
This knowledge helped in saving manual work. Thank You John!
@kulbeersingh4059
@kulbeersingh4059 2 жыл бұрын
Thank you very much.
@alexq3498
@alexq3498 Жыл бұрын
Excellent. Thanks!
@ExcelCampus
@ExcelCampus Жыл бұрын
You're welcome, Alex! 😀
@gboyearo387
@gboyearo387 2 жыл бұрын
God bless you...
@Luciano_mp
@Luciano_mp 4 жыл бұрын
Thanks Jon!
@himkartech
@himkartech 3 жыл бұрын
this is great thank you
@sunilkamati7224
@sunilkamati7224 4 жыл бұрын
Sir Your video is really helpful
@ExcelCampus
@ExcelCampus 4 жыл бұрын
Thanks Sunil! 🙂
@claudiavalsecchi1593
@claudiavalsecchi1593 Жыл бұрын
THANK YOU! THIS IS SO HELPFUL. When I use Power Pivot for the Distinct count, how can I then create calculated fields? I need to calculate in the pivot the variation between 2 different distinct count (e.g. I need to calculate the variation of This year Vs Last year of distinct count ID Deal)
@ahsanhsakib1875
@ahsanhsakib1875 2 жыл бұрын
Great Video
@alexscheleider2210
@alexscheleider2210 2 жыл бұрын
thank you!
@lorenzobattistin1501
@lorenzobattistin1501 Жыл бұрын
Amazing! So simple but so powerful!
@ExcelCampus
@ExcelCampus Жыл бұрын
It really is, thanks @lorenzobattistin1501! 😀
@palanisubramani12
@palanisubramani12 3 ай бұрын
Great video - How do we convert existing normal pivot table into Data Model Pivot Table / Power Pivot
@snacktics4771
@snacktics4771 2 жыл бұрын
Thanks bud!
@gerbherb8215
@gerbherb8215 5 ай бұрын
Thanks, well explained. I do still have a problem: the distinct count also adds up 1 for empty cells in a source table column. Can you tell me how to avoid that?
@ExcelCampus
@ExcelCampus 5 ай бұрын
Hi G! 😊 Thank you for your kind feedback! One way the empty cells may show up is if they have a space in them. The space will count as a distinct row, which you could replace with nothing by matching the entire cell contents in the Find and Replace window (Ctrl+H). Another way to avoid the 1 for empty cells is to filter out blanks from that column in the PivotTable. I hope that helps! 🙂
@gerbherb8215
@gerbherb8215 5 ай бұрын
@@ExcelCampus Hi Jon, Thank you very much for your quick answer. Unfortunately, it doesn't solve my problem and I will try to be clearer about it: the distinct count sees empty values (they do not contain spaces) as distinct values and so it adds 1 to the number of distinct values it finds. Technicaly this is correct, but many times you don't want this to happen, because these cells are empty because you don't (yet) know what value they should have. For example: you want to count the number of different brands of car tyres you have in a table. Then you don't want Excel to count empty cells as beiing one brand. Your second suggestion is not applicable, since there are no blank cells in the pivot table. Hope you can have a second look and maybe come with a solution?
@VRmatter-
@VRmatter- Ай бұрын
Still helping👍
@shreediculous
@shreediculous 3 жыл бұрын
Great explanation. How do we do this if we want to get counts of multiple columns?
@lestariu509
@lestariu509 2 жыл бұрын
OMG Thank you
@AkaExcel
@AkaExcel 4 жыл бұрын
Hi! It will be also interesting if you show Solutions by your Commenters, Hope it Helps!
@mohamadkuk
@mohamadkuk 4 жыл бұрын
Omg this is awesome
@Henrich205
@Henrich205 3 жыл бұрын
Awesome :), thank you :)
@chess_and_tech
@chess_and_tech 7 ай бұрын
There is another way to do this with plain Pivot Tables. Create an entry in *both* the Value *and* the Rows or Columns where you want it. The Values will do the counting, and the Rows or Columns (whichever you want) will create entries for each item it identifies and you want counted. Cheers!
@jbodnar2012
@jbodnar2012 Жыл бұрын
Why is distinct count only in Power Pivot?! Took me all day to find this, but hey, thank you for helping solve my issue!!
@fe00700
@fe00700 5 ай бұрын
Saved my ass since macOS Excel does not support adding to data model... Thank you! Having grown in unix command line I find it hard to believe, that equivalent of | sort | uniq | wc -l can't be done in mac Excel at all
@jaliali84
@jaliali84 3 жыл бұрын
Amazing 😍
@NaveedBarq
@NaveedBarq 3 ай бұрын
Brilliant
@GaganDeepSingh-s7r
@GaganDeepSingh-s7r 6 ай бұрын
How would you calculate the row %change in this pivot table for the distinct count?
@BenardNjuguna-w9d
@BenardNjuguna-w9d 11 ай бұрын
Awsome
@sikkandhark
@sikkandhark 2 жыл бұрын
Will power pivot table be connect with other pivot table with slicers?
@MIMGURU
@MIMGURU 3 жыл бұрын
How to calculate percent of win and loss can u bring video
@MrPhanisDav
@MrPhanisDav 2 жыл бұрын
How to count a unique Number BUT Per Day? Thanks In Advanced
@zyngacita
@zyngacita Жыл бұрын
I get this to work, however when I track by month the Grand Total doesn't align with the individual month totals.
@lakhandahiya3003
@lakhandahiya3003 4 жыл бұрын
It would be a great help for practice if you provide excel file too.
@ExcelCampus
@ExcelCampus 4 жыл бұрын
Hi Lakhan, Sorry about that. We forgot to include the solution file on the post. It is now available. You can find it in the Downloads section under the video on the following page. www.excelcampus.com/pivot-tables/distinctcount-pivot-tables/ Thanks again and have a nice day! 🙂
@PGJAS
@PGJAS 4 ай бұрын
Hi, using calculated field in power Pivot I tried calculating count(column name).Just I need total number of rows....but it is always showing 1 in output.I tried with countA as well.But it didn't work...could you please help me with that.
@conradoiiaustria5277
@conradoiiaustria5277 3 жыл бұрын
Can we do this then do a running total?
@jhayg.serrano9349
@jhayg.serrano9349 2 жыл бұрын
what if i add the product name above the sales stage in rows, will it work also?
@chaddemeuse6760
@chaddemeuse6760 3 жыл бұрын
What if you're using large datasets and you want to count say client names using by branch for a specific accounting period.
@AJIT165
@AJIT165 3 жыл бұрын
How can we do both, Distinct count and Sum(for different col's) in single Pivot table.
@niteshtoshniwal8951
@niteshtoshniwal8951 2 жыл бұрын
With distinct count function, calculated item and calculated field options gets greyed out. Is there any option to bring both together?
@adim7909
@adim7909 6 ай бұрын
Can we use this feature in MacBook ?
@denisesimmons7754
@denisesimmons7754 2 жыл бұрын
When I use data model and close the file with all working. I reopen the file and a refresh on the pivot crashes Excel; a sort on the pivot crashes excel; anything you do on the pivot using the model crashes excel. I have recreated this file twice; same results. I have used a different computer and got the same results. Any idea on how to fix this?
@raunakjain7251
@raunakjain7251 Жыл бұрын
Unable to add calculations measure for pivot tables when you use datamodel in pivot
@luiscasas7219
@luiscasas7219 3 жыл бұрын
Hi Jon, if a cell is empty Excel counts it as a unique value, which is wrong, do you have a solution for that?
@masterexcel87
@masterexcel87 3 жыл бұрын
How about if with blanks? How could we eliminate the blank count in the distinct count?
@thabsheerkp
@thabsheerkp 3 жыл бұрын
I tried the COUNTIF method. Unfortunately, it outputs the count based on entire data upon applying filter also. Please have a solution that works with the filter too.
@bintangmuhammad7082
@bintangmuhammad7082 3 жыл бұрын
why is my distinct count not showing?
@AbuEisaAyoub
@AbuEisaAyoub 3 жыл бұрын
when you insert the "Pivot Table" > click yes on the last option that says "Add this data to the Data Model"
Advanced Pivot Table Techniques (to achieve more in Excel)
11:47
Leila Gharani
Рет қаралды 1,9 МЛН
5 Excel Secrets You'll Be Embarrassed You Didn't Know
17:32
Excel Campus - Jon
Рет қаралды 198 М.
GIANT Gummy Worm Pt.6 #shorts
00:46
Mr DegrEE
Рет қаралды 18 МЛН
Apple peeling hack @scottsreality
00:37
_vector_
Рет қаралды 127 МЛН
How To Automate Data Tasks In Excel Using Power Query
15:52
Excel Campus - Jon
Рет қаралды 373 М.
Pros Use This Technique to Avoid PivotTables
6:38
MyOnlineTrainingHub
Рет қаралды 117 М.
Excel Distinct Count with a PivotTable
5:14
Chris Menard
Рет қаралды 53 М.
Easy way to get "Distinct Count" in Pivot Tables
5:04
Chandoo
Рет қаралды 47 М.
Master Pivot Tables in 10 Minutes (Using Real Examples)
11:33
Kenji Explains
Рет қаралды 440 М.
Master Data Analysis on Excel in Just 10 Minutes
11:32
Kenji Explains
Рет қаралды 2 МЛН
PivotTable Tricks That Will Change the Way You Excel (Free File)
17:47
MyOnlineTrainingHub
Рет қаралды 135 М.
Excel Pivot Tables Tutorial
2:22:38
Learnit Training
Рет қаралды 37 М.
Introduction to Pivot Tables, Charts, and Dashboards in Excel (Part 1)
14:48
Excel Campus - Jon
Рет қаралды 14 МЛН
GIANT Gummy Worm Pt.6 #shorts
00:46
Mr DegrEE
Рет қаралды 18 МЛН