Тёмный
No video :(

Excel Magic Trick 368: Count Unique Items With More Than One Criteria 

excelisfun
Подписаться 1 млн
Просмотров 68 тыс.
50% 1

Download Files:
people.highlin...
Amazing use of the FREQUENCY and MATCH functions! Array formula for counting unique items in a column with criteria in a second column. See 1 formula for counting numbers and 1 for counting words. Formulas use the functions: SUM, IF FREQUENCY, MATCH, ROW, and ISNUMBER in an unusual combination. Formula from Mr Excel Message Board.

Опубликовано:

 

6 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 53   
@excelisfun
@excelisfun 15 лет назад
Thank you! I am glad that the videos help. I try to have fun while making a difference! Have you ever had to do a "unique count with criteria in a different column", like seen in this video?
@paulomrdc
@paulomrdc 2 года назад
I was looking for something like this! Got at least 30 videos watched about "almost stuff"... Something like 8 hours. Thank you for the help!
@excelisfun
@excelisfun 2 года назад
You are welcome : )
@Sarajdow
@Sarajdow 15 лет назад
Thank you for all the time and effort you put into these videos. As one of the few people who know excel in my office, I'm often nominated to "make it happen" when we receive a request for special reports from upper management. The videos that you have Mr. Excel have produced have been a tremendous help. Thank you for all you do. You make a difference.
@FactsNReason
@FactsNReason 11 лет назад
Mr. Excel --- just want to let you know that you ROCK man ... I every excel question I have you have tackled! --- cheers mate!
@excelisfun
@excelisfun 15 лет назад
I am glad that the trick can help!
@bencacace5491
@bencacace5491 9 лет назад
I've viewed this video a number of times and your explanation of the process of finding uniques for the labels is so clear. Thanks so much for sharing your knowledge with us.
@leucopogon
@leucopogon 15 лет назад
Hi, just writing to thank you for your tremendous videos that have really helped me with my PhD research. This one in particular got me out of a real bind. I had to count unique species names given 3 criteria. My problem was slightly more complicated than your example and my initial attempt at solving it was incorrect but with a little lateral thinking and consulting your many other videos I consolidated my criteria columns using concatenation (a very cool trick) and lo and behold it worked!!!
@excelisfun
@excelisfun 13 лет назад
No=NO=no=nO, so no caps don't matter. Did you try downloading the workbook - it has an example of the correct formula. In your formula you have single cells like K2=$M$2 and L2, and in the formula in the video ranges of cells are used.
@excelisfun
@excelisfun 11 лет назад
I am glad that the videos help! --excelisfun
@markbryan5467
@markbryan5467 11 лет назад
Hello: your videos are so helpful. Regarding the counting unique items; I need to count unique items with more than two criteria. In my example, I am looking for a count of unique account numbers for each employee for each month. So, in other words, for each month of the year how many unique accounts did each employee work with? Apologies if this is already posted, I'm not finding it.
@marktaft
@marktaft 3 года назад
Thanks bud. I lost you somewhere in the explanation but followed along as best as I could. In the end it worked so I dont have to understand it lol. Appreciate the video!
@excelisfun
@excelisfun 3 года назад
You are welcome, Clyde!
@RahulKumar-ly6ly
@RahulKumar-ly6ly 2 года назад
Thanks sir very helpful video
@Hydee126
@Hydee126 8 лет назад
Thank you - I've been referring to your videos for a couple years now... always excellent!
@shallybhateja8761
@shallybhateja8761 Год назад
What if we have a condition to calculate sum of unique values of a column if two conditions are fulfilled: 1. Sun of First column range >0 , 2. Sum of second column range being a1,a3,a3 and a5. What can be single formula depicting this requirement
@MAF1884
@MAF1884 Год назад
Hi, just found your channel, very informative. I was wondering if this could be applied to unique dates?
@Sarajdow
@Sarajdow 15 лет назад
Yes, I am actually working on a report and work that requires it, although I need to limit results to a date range as well.
@deninsrmic4165
@deninsrmic4165 4 года назад
Quite informative and very similar to EMT 627. Great video. 👍
@GoodEveningDota
@GoodEveningDota 5 лет назад
I wish I was as good as you at Excel
@excelisfun
@excelisfun 5 лет назад
You can be. I have my college classes in Excel here at RU-vid for free: ru-vid.com/group/PLrRPvpgDmw0n34OMHeS94epMaX_Y8Tu1k
@tisyaAI
@tisyaAI 4 года назад
That's a great help, thanks. However, in my case there is more than one condition to check with if function hence I used IF twice and got the result...
@Patekdesigns
@Patekdesigns 11 лет назад
This is great, but what would I do if I wanted to add another unique criteria. So not just column H but where H (First Name) and I (Last Name) voted "Yes".
@stevereed5776
@stevereed5776 3 года назад
Thanks, just what I need to do. However, using 365 so wondering if there is a neater way of doing it without the CSE?
@gabrieldumitrescu5505
@gabrieldumitrescu5505 3 года назад
using 365 i came up with this, =counta(unique(filter(table[columnA],table[columnB]=criteria)))
@dr.christopherrajd7086
@dr.christopherrajd7086 5 лет назад
Dear Sir I appreciate your insight with the Excel I have Query with Countifs of Two-column for counts=COUNTIFS(H58:H64,"
@gainescarter553
@gainescarter553 3 года назад
do you have a video of how to get this code to run from vba macro? Thanks
@gmabasher
@gmabasher 4 года назад
By using office 365, is there any way to solve the problem differently?
@excelisfun
@excelisfun 14 лет назад
The only other related video for counting unique using the FREQUENCY function is this title: Excel Magic Trick 473: Extract Unique Records with Formula (Complex Array Formula)
@excelisfun
@excelisfun 12 лет назад
@LCTECH001 , Thank you for being so persistence!
@sherylaro7614
@sherylaro7614 8 лет назад
What if there are 2 columns that you need to meet and then count the one that is on the third column? it is similar to what is above adding one more criteria to it.
@dannybans23
@dannybans23 8 лет назад
+Sheryl Aro was wondering the same thing... say in Cells F12 and F15 is the word 'Blue' and in Cells F18 and F19 are the words 'Green' and 'Yellow', respectively... and I wanted to count the unique voters tied to 'Yes' and 'Blue' (two criteria, instead of one shown in the video)
@MrHnock301
@MrHnock301 6 лет назад
Has this question been resolved yet? This is exactly what I need.
@excelisfun
@excelisfun 11 лет назад
Something like: =SUM(IF(FREQUENCY(IF(B3:B13=F3,MATCH(C3:C13&D3:D13,C3:C13&D3:D13,0)),ROW(D3:D13)-ROW(D3)+1),1)) Where first and last name columns are joined with & in MATCH. I will make a video on this topic soon. Look for it.
@souravde8276
@souravde8276 4 года назад
How to return the unique list?
@ediancoc
@ediancoc 11 лет назад
I love your videos. I need some help counting all cells in which the last 2 digits on the number are greater than 40. How could I do that?
@yz125krm
@yz125krm 13 лет назад
i dont understand i try to mimic exactly what you are doing with the same data and i get all ones when i try to get the total individuals that voted yes (the second problem that you do). do i have to put the no's and yes's in caps? i shouldnt have too
@excelisfun
@excelisfun 15 лет назад
Wow! That is great to hear -- I am glad that this trick and the concatenated helper column did the job! If you send me (excelisfun at gmail) a small data set similar to your "count unique species names given 3 criteria" and give me a brief description of what you are doing, I will make a video for the benefit of other RU-vidr Excelers!
@diraphuong17
@diraphuong17 7 лет назад
dear sir, i want to know, how to count the difference text in the same row or column? please help me,
@wayneseymour1
@wayneseymour1 4 года назад
I have a input data form that I use to input data as a Heavy equipment registry. Work is granted fairly across the board for all sub-contractors, I have the data input form that enteritis the names of the company's into a work sheet, I have a toggle button for work granted either "yes" or "no", next to those toggles I have a text box to record the amount of "yes" and the amount of "Mo" each company receives. once entered they will receive a no. However if in the future they are granted work I want when I up date their records that the txt box next to the toggle button to record how many "yes" the other to record how many "No" they have, so if their record is recalled it can show that result. It should be noted that the data has the company listed several times depending on the different types of equipment they have, some may have 7 dump trucks, several excavators. So no matter the number of entries for that company, I will still get how many "no's" and "yes's". I don't know the coding but....something like if txtowner.value =xx then Txtyes.value = cell.range F:F where xx and yes is true...something to that effect.
@hkcmodi
@hkcmodi 8 лет назад
How to count number of word in whole row or column?
@excelisfun
@excelisfun 12 лет назад
@LCTECH001 , I am sorry, I do not know how to solve that.
@Threewisejavi
@Threewisejavi 10 лет назад
I'm so sad right now. When I click enter i get this message "You’ve entered too few arguments for this function. To get help with this function, click ok to close this message. Then click the insert function located to the left of the equal sign in your formula." Help! ):
@yz125krm
@yz125krm 13 лет назад
i dont understand i try to mimic exactly what you are doing with the same data and i get all ones when i try to get the total individuals that voted yes (the second problem that you do). do i have to put the no's and yes's in caps? i shouldnt have too. im typing every thing ExaCTLY AS YOU HAVE IT OBVIOUSLY HIGHLIGHT MY CELLS WHICH ARE numbered differently....=IF(K2=$M$2,MATCH(L2,$L$2:$L$12,0))
@davidepstein9807
@davidepstein9807 9 лет назад
Where can I download the workbooks used in these awesome videos? Thank you, Dave
@excelisfun
@excelisfun 9 лет назад
people.highline.edu/mgirvin/ExcelIsFun.htm
@yiyingwang0423
@yiyingwang0423 10 лет назад
amazing!
@wanderborn.
@wanderborn. 6 лет назад
if ay of 'site' = 'blank', your formula is helpless, sorry
@excelisfun
@excelisfun 12 лет назад
@LCTECH001 , I do not know without looking at data set and formula. Post Question to: mrexcel [dot] com/forum You can send me link to your post after you post.
@excelisfun
@excelisfun 12 лет назад
@LCTECH001 , I cannot find the post. Send full link to excelisfun at gmail
@rushabhhedau5410
@rushabhhedau5410 Год назад
I look
@excelisfun
@excelisfun 11 лет назад
I made a video for you: Excel Magic Trick 1027: Array Formula To Count Unique Yes Votes For A Given First & Last Name youtube [dot] com/watch?v=WfRgnebu6aY
@markbryan5467
@markbryan5467 11 лет назад
I think tha I got it, simply added the additional criteria: SUM(--(FREQUENCY(IF(Data!$A:$A=$B4,IF(Data!$D:$D=7,Data!$B:$B)),Data!$B:$B)>0))
Далее
The Excel Trick I Use EVERY DAY (and you should too!)
11:21
5 Excel Secrets You'll Be Embarrassed You Didn't Know
17:32