Create an Interactive Top N Report in Excel (includes duplicate values) with Filter Function

Create an Interactive Top N Report in Excel (includes duplicate values) with Filter Function

Leila Gharani

4 года назад

116,942 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Rob Davidson
Rob Davidson - 14.09.2023 02:50

Hi Leila, great video! Question for you. What if you wanted the top 5 salaries, but only from finance? I've been trying this with (TableSalary[Department]="Finance")*(TableSalary[Yearly Salary]>=LARGE(TableSalary[Yearly Salary],G5))), but it seem it only produces the top 3 Finance salaries.

Ответить
Peter Komives
Peter Komives - 20.06.2023 22:12

Great tutorial Leila! And if I wanted to add an exra filtering option to the formula? For example I would like to have the option to not only to see the first 5 (or last) but to be able to choose dates or quarter etc ?

Ответить
Mister Will
Mister Will - 06.06.2023 00:05

That was fun to watch. I can think of times to use these formulas in this way. Thank you 👏🏾

Ответить
Diya
Diya - 02.05.2023 19:41

Mam, if criteria is multiple then how it will work,please guide us.

Ответить
Cheese Wedges
Cheese Wedges - 15.04.2023 20:03

Thanks a lot! The tutorial about FILTER function really helps me a lot in my assignment.

Ответить
Amedeo Onofri
Amedeo Onofri - 22.02.2023 23:47

this was pure gold. Thank you.

Ответить
Jim Gord
Jim Gord - 15.02.2023 20:23

Perfect solution for a problem encountered of picking the 4 smallest numbers from a list and intentionally ignoring duplicates

Ответить
Dan Akers
Dan Akers - 31.01.2023 21:57

The formula on your coffee mug is wrong.
Shows as: =(Energy>Workload,Coffee, MORE_Coffee)
Should be: =(Energy<=Workload,Coffee, MORE_Coffee)

Ответить
Christopher C. Taylor
Christopher C. Taylor - 17.01.2023 07:39

I have a hurdle with the FILTER() function. I have a grid of checkboxes 9x9. Once I finish clicking through one column I would like for the array list to look to the next column on the right and repopulate the array list once the column to the left is either complete or one of the checkboxes in the next column (on the right) is checked and array list displays again to be checked off as I complete the repetitive task in the next adjacent column to the right (or next day). I hope that makes sense. I tried IF() functions with and without (AND(), OR() logic tests and nothing has worked. Any thoughts?

Ответить
Ahmed Ali
Ahmed Ali - 16.12.2022 10:03

Very helpful thank you for making this video

Ответить
David Ferrick
David Ferrick - 21.10.2022 15:05

Simply lovely, now i need to tweak this to sum a value by a group name.

Ответить
Malika Ouenza
Malika Ouenza - 10.10.2022 20:42

I really appreciate what you do to help us become excel masters

Ответить
Kamran Ali
Kamran Ali - 14.09.2022 16:25

in this formula with the same data, if you go for top 2 value that the result will be 3 because of 140,000.
kindly check and advice to restict to 2 result if we go for top 2.

Ответить
Hampshire Oak
Hampshire Oak - 14.07.2022 15:32

Thanks

Ответить
Izuddin akmal
Izuddin akmal - 27.06.2022 14:00

Hi i have a question can we sort top 5 products in pivot

Ответить
Mat shahanaj Aktar
Mat shahanaj Aktar - 23.04.2022 21:02

Excellent, amazing

Ответить
Gaurav Sukhadia
Gaurav Sukhadia - 11.02.2022 08:01

Will it work if i want to bring top 25% of value?

Ответить
Inder Mohan
Inder Mohan - 28.01.2022 20:55

Can we solve this question without filter & sort function, because i Don't have office 365 & i am looking for the same question from a long time, I can do this with the help of pivot but i want to solve this through function.

Ответить
Hassan Taha
Hassan Taha - 21.01.2022 11:17

Excellent !!!!

Ответить
Jeremy Kong
Jeremy Kong - 20.01.2022 09:24

Hi Leila , This is idea really save time of filtering out the TOP N number items. I faced a problem when i used it for TOP N SMALL items when my data sets contains negative and positive values. It only filter the item with negative value. Is there any way to troubleshoot this situation to show both negative value and for 2nd to 5th smallest items with positive value?

Ответить
Peter
Peter - 13.01.2022 18:29

Hi Leila, Thanks so much for all your excel tutorials. It really helps me grow my skills on how to using excel more in a smarter way. I am trying to build out a table from this example you show here. However, I encountered some difficulty that I could figure out for days. Is there anyway I can seek for your help?

Ответить
m Shi
m Shi - 27.12.2021 17:02

This is Briliant Formula. One more question, if we want to add one drop down for Top/Bottom to use Large/Small function, how the function change?

Ответить
Vithal Shinde
Vithal Shinde - 21.12.2021 17:27

Your way, style of imparting the know how is superb. Very helpful. The simplicity in teaching is awesome. Thank you very much . Your teachings are very helpful

Ответить
ANTONIO BARRANCO
ANTONIO BARRANCO - 18.11.2021 18:20

Hi Leila, as always you are the best, Thanks for sharing all of this, it is very valuable knowledge, I really appreciate it. And I have a question, I am trying to use this with additional filters in a dataset, to get the Top 10 records considering the total quantity produced, and filtered by year and month, but I can't get the full list, could you take a look and give me some advice on what could be wrong with this, please?

=FILTER(DATASET,(DATASET[Year]=YearSelected)*(DATASET[Month]=MonthSelected)*(DATASET[Qty]>=LARGE(DATASET[Qty],10)),"Nodata")

Ответить
Savio D'souza
Savio D'souza - 13.11.2021 15:46

Great video!

Ответить
Jae Cho
Jae Cho - 27.08.2021 18:00

Instead of doing this yearly, is it possible to do this weekly?

Ответить
Sarfraz.Soomro
Sarfraz.Soomro - 22.08.2021 21:35

Hi. How can i select Position holder students from 20 record Table.. ,in the table there are 6 students are position holder..

3 students are same marks like 750 and they are 1st postion ( 3 students at 1st position)

2 student who are 2nd postion

1 student is in 3rd Position


Help me to any dynamic methad?

Ответить
Shakeel Ahmad
Shakeel Ahmad - 20.05.2021 16:53

I can't see FILTER formula in my 2019 excel but only the FILTERXL.

Ответить
Asam
Asam - 12.05.2021 13:57

Hm - What if I dont to see all the columns as a result?
If I have a very large table, i am filtering on.

Ответить
Ifemide Oluwafemi
Ifemide Oluwafemi - 15.04.2021 11:43

Thanks for teaching the filter formula, it really helps.
Is there a way to choose the columns the array returns, i.e Just Department and Amount, no need for the name column, would I have to edit the array (table itself), or the filter formula can choose what to present...

Ответить
Gary Jack
Gary Jack - 24.03.2021 18:41

How can I specify a different Top N for each department? (i.e. I want the top 6 from Finance, the top 3 from Procurement, and the top 2 from Sales dept.) Note that I still want all departments listed, but I want to be able to specify how many from each department. Thanks SO much!!

Ответить
Samuel Lux
Samuel Lux - 16.03.2021 17:42

great video many thanks - is there a way to retrieve top 5 salaries of a specific department using the filter function ? like Top 5 salaries in finance ?

Ответить
hossein hosseinpoor
hossein hosseinpoor - 12.02.2021 10:19

thanks

Ответить
lhsdline
lhsdline - 20.11.2020 01:07

What would you add to the formula if you just wanted to view top yearly salary for only a single department instead of all departments? I assume you would have to create another dropdown list to select a department, but what would the formula be?

Ответить
S F
S F - 17.11.2020 17:33

this is a great and useful video, i tried it and it works for my HR list. I had a problem to extract the photo of the employees in the spilled table. please let me know if it is possible to add the photo to your table and show it in the filtered spilled table.

Ответить
Ritvik Kulkarni
Ritvik Kulkarni - 05.09.2020 20:58

Thank you for this, solved a big problem! Can we sort the data into separate columns by department type? And using VBA?

Ответить
Zan Zibar
Zan Zibar - 02.09.2020 12:18

How to do this without filter function on Excel 2016 ?
Thanks for your video Leila, awesome as usual

Ответить
KB
KB - 30.08.2020 14:47

Oh my goodness, mind blown!😃

Ответить
Wayne Edmondson
Wayne Edmondson - 26.07.2020 12:00

Hi Leila.. thanks for the video. Great solution! Thumbs up!!
PS - In case any viewers don't have Microsoft 365, here is a solution to pull the same Top "x" using INDEX, SMALL and RANK:
=IF(ROWS(G$8:G8)>$G$5,"",INDEX(A$6:A$36,SMALL(IF(RANK($C$6:$C$36,$C$6:$C$36)<=$G$5,ROW($C$6:$C$36)-ROW($C$6)+1),ROWS(G$8:G8))))
It requires CTRL+SHIFT+ENTER in legacy Excel and you must copy down and right. Also, sorting the results by salary then department within the formula is pretty tricky. The solution there is to sort the data first by department and then by salary.. which allows the formula to produce the same result as using the FILTER function with SORT which of course is by far the easier choice, assuming you have modern Excel. I love the new dynamic array functions.. but.. always like to remember the roots of where we came from. Hope it helps someone. Cheers!!

Ответить
Sanjaya AIS
Sanjaya AIS - 11.07.2020 23:14

Excellent lesson, very helpful. I have followed your courses on Udemy too.
May I ask a question on the filter formula: is it possible to reduce the number of columns on the output if the source data has many columns ?
Thanks, Sena

Ответить
girly stuff
girly stuff - 19.05.2020 12:10

Hi leila
I am wondering if i can switch between two columns or rows
I know you have a trick 😏 so could you please help me ?
Thank you

Ответить
sandeep m
sandeep m - 19.05.2020 07:07

Thanks.the video was pretty helpful.

Can you explain if we need top N based on more than one column.

Ответить
Joe Satriani
Joe Satriani - 17.05.2020 18:23

hello leila, i am your new subscriber, thank you so much for tutorial

Ответить
OneLife_5051
OneLife_5051 - 15.05.2020 09:03

Does this function can work with pivot tabel or excubed?

Ответить
Magesh Kanna Shanmuganathan
Magesh Kanna Shanmuganathan - 14.05.2020 18:19

You can use data validation in the number entry box as values between so that you will get an error inside.

Is this correct?

Ответить
basith akode
basith akode - 14.05.2020 04:48

Dear Leila Gharani,

Good Morning
I have fix a problem in calculating our state electricity bill
It calculated in slab rate
Slab rate as follows

Units Price/unit
0-100 3.15
101-200 3.70
201-300 4.80
301-400 6.40
401-500 7.60

For example My Electricity Unit is 220 But the calculation is separated slab
100 x 3.15 = 315
100 x 3.70 = 370
20 x 4.80 = 96
Total 315+370+96= 781

Kindly request give me a formula or upload a video for such types calculation



Sincerely

Ответить