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

Sdílet
Vložit
  • čas přidán 6. 05. 2020
  • Join 400,000+ professionals in our courses here 👉 link.xelplus.com/yt-d-all-cou...
    Add this interactive report to your Excel dashboard if you want to make an impression! It's INTERACTIVE so the user can decide which TOP N records of a data-set they'd like to see. It will also NOT have a problem with showing MULTIPLE MATCH results either! This way you get to quickly rank the data and categories automatically and be able to show duplicate values with their correct categories.
    ⬇️ DOWNLOAD the workbook here: pages.xelplus.com/top-values-...
    Instead of a complex formula with the LARGE function in a lookup-formula like INDEX & MATCH, VLOOKUP, or XLOOKUP we will use my new favorite Excel function: The FILTER function! Together with the SORT function we will create a simple formula to extract the data automatically. Both functions are available exclusively in Excel for Office 365 with the new Excel Dynamic Arrays features.
    We will even improve the report and make sure the user cannot input a number that's exceeding the available options in the data set. This will help avoid the #Spill error. To do that we'll use a combination of the COUNT formula and the SEQUENCE function.
    🎓 Get access to the full course about the new Excel functions here 👉 www.xelplus.com/course/excel-...
    Check out the complete Excel for Office 365 playlist: • Excel for Office 365 &...
    ★ My Online Excel Courses ► www.xelplus.com/courses/
    ➡️ Join this channel to get access to perks: / @leilagharani
    👕☕ Get the Official XelPlus MERCH: xelplus.creator-spring.com/
    🎓 Not sure which of my Excel courses fits best for you? Take the quiz: www.xelplus.com/course-quiz/
    🎥 RESOURCES I recommend: www.xelplus.com/resources/
    🚩Let’s connect on social:
    Instagram: / lgharani
    LinkedIn: / xelplus
    Note: This description contains affiliate links, which means at no additional cost to you, we will receive a small commission if you make a purchase using the links. This helps support the channel and allows us to continue to make videos like this. Thank you for your support!
    #excel

Komentáře • 245

  • @LeilaGharani
    @LeilaGharani  Před 6 měsíci

    Grab the file I used in the video from here 👉 pages.xelplus.com/top-values-file

  • @drsteele4749
    @drsteele4749 Před 4 lety +1

    The dynamic array functions are so terrific I sometimes just sit and marvel at their performance. Good vid, Leila.

  • @srvithal38
    @srvithal38 Před 2 lety

    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

  • @excelemployeeleavetracker1274

    Hi Leila... Just want to say after watching your channel and Mr Excel for over the past year (and sharing with former co-workers), I finally started my own business and channel during my state's "Stay-At-Home". Always love watching your videos and saving them on my phone to refer to them when not at home. Thanks for all the great work!! WJA

    • @LeilaGharani
      @LeilaGharani  Před 4 lety

      Wow, that's great. Good luck with your journey!

  • @Amirazagee
    @Amirazagee Před 4 lety +2

    Hi! Miss Leila Gharani, You will never forget a person who came to you with a torch in the dark.

  • @peteringvorsen890
    @peteringvorsen890 Před 4 lety +4

    Nice Excel lesson as always, Leila 👍
    You are still the best Excel teacher at the Internet. I hope you soon will visit Denmark for an exclusive Excel event. If this happened I will surely be there 😊

  • @AI-ec2qb
    @AI-ec2qb Před 4 lety

    Hello Mi Amor 💋🤣
    the other day I made an incredible excel project,
    It is a Credit Application that analyzes
    customer data and submits information through a custom internet tunnel in VB code,
    and I remembered you, so I just came to give you thumbs up again!
    You're a Queen 🖤

  • @cheesewedges9100
    @cheesewedges9100 Před rokem

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

  • @farzanmoha8935
    @farzanmoha8935 Před 4 lety +1

    It was great Leila, thank you. I like dashboards and graphs the most. I finished your dashboard course, and learned a lot from it.

  • @abbaslokhandwala8445
    @abbaslokhandwala8445 Před měsícem

    awesome tutorial, hats off

  • @chh8860
    @chh8860 Před 4 lety

    Perfect timing … I think I will be able to use this concept but in a different situation. Thank you … excellent presentation … no surprise (again).

  • @17aig
    @17aig Před 4 lety +1

    Thanks a lot, Leila for an amazing tutorial again!!!!

  • @amedeoonofri8701
    @amedeoonofri8701 Před rokem

    this was pure gold. Thank you.

  • @malikaouenza945
    @malikaouenza945 Před rokem

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

  • @excelisfun
    @excelisfun Před 4 lety +1

    Thanks for the cool formulas, Teammate Leila !!!!

    • @LeilaGharani
      @LeilaGharani  Před 4 lety +1

      Thanks Teammate 😄

    • @manadrama7705
      @manadrama7705 Před 2 lety

      @@LeilaGharani please alternative solution for those who not having Excel 365 mam

  • @marktheirl1842
    @marktheirl1842 Před 4 lety

    I really enjoyed your course on VBA! I also enjoyed your course on dynamic arrays! Oh, and I really enjoyed your course on dashboards!

    • @LeilaGharani
      @LeilaGharani  Před 4 lety

      Awesome! Thank you for the support of my courses! 😘

  • @misterwill3625
    @misterwill3625 Před rokem

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

  • @tha2irtalib343
    @tha2irtalib343 Před 4 lety

    That's so great , I like it .. amazing flexable filter .
    Thanks for sharing Leila .

  • @vida1719
    @vida1719 Před 4 lety

    Great example and great explanation! I liked how you used arrays {} in 2 arguments

  • @xaquison
    @xaquison Před 10 měsíci

    Excellent and powerful video!

  • @martinargimon730
    @martinargimon730 Před 4 lety

    excellent Leila ( as always ) many thanks

  • @ok4todd
    @ok4todd Před 4 lety

    Making the complex seem simple. Thanks!

  • @savioseona
    @savioseona Před 2 lety

    Great video!

  • @Innovlrnr
    @Innovlrnr Před rokem

    Very helpful thank you for making this video

  • @zanzibar6156
    @zanzibar6156 Před 3 lety +3

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

  • @darrylmorgan
    @darrylmorgan Před 4 lety

    Hi Leila!The New Dynamic Functions Certainly Make What Could Be Complex Formulas So Much Easier..Great Tutorial Thank You :)

  • @keishrich
    @keishrich Před 4 lety

    Another good one. Thanks Leila!

  • @OzduSoleilDATA
    @OzduSoleilDATA Před 4 lety

    Beautiful! Good addition to control the input to prevent wild stuff.

    • @LeilaGharani
      @LeilaGharani  Před 4 lety

      Thanks Oz! No wild stuff allowed :)

    • @farzanmoha8935
      @farzanmoha8935 Před 4 lety

      Excel On Fire, it’s all real OZ, look how finance person is the first in the top 5 😉

    • @excelisfun
      @excelisfun Před 4 lety

      @@LeilaGharani and Excel On Fire, no wild stuff allows ; )

  • @davidferrick
    @davidferrick Před rokem

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

  • @robertakwasiadjei8223
    @robertakwasiadjei8223 Před 4 lety

    Leila, indeed you're amazing. Stay Blessed

  • @subhashsemwal2000
    @subhashsemwal2000 Před 4 lety

    U r real gem mam.
    Amazing skills
    I also wanted to learn advance excel,word and PowerPoint

  • @krn14242
    @krn14242 Před 4 lety

    Thanks Leila. Great video

  • @matshahanajaktar959
    @matshahanajaktar959 Před 2 lety

    Excellent, amazing

  • @fernando5166
    @fernando5166 Před 17 dny

    Excellent

  • @maghazahmad3307
    @maghazahmad3307 Před 4 lety

    I already commented you’re absolutely amazing.

  • @sandeepm2980
    @sandeepm2980 Před 4 lety +1

    Thanks.the video was pretty helpful.
    Can you explain if we need top N based on more than one column.

  • @WaelGuirguis
    @WaelGuirguis Před 4 lety

    Laila, really amazing as usual from you

  • @sunilbs2455
    @sunilbs2455 Před 4 lety

    Wow you are awesome as always ❤️

  • @HusseinKorish
    @HusseinKorish Před 4 lety

    Amazing technique ... thanks Liela

  • @anushkaprabhath3591
    @anushkaprabhath3591 Před 4 lety

    Thank you... These are some amazing stuffs

  • @hassantaha3116
    @hassantaha3116 Před 2 lety

    Excellent !!!!

  • @florincopaci6821
    @florincopaci6821 Před 4 lety +1

    Hello Leila,
    First of all, thousands of thanks for what you do and for all the information you share with us.I learn i lot from you.
    I want to ask you-
    is there any possibility to manage to make those wonderful charts of your course on udmy without error bars? I have a newer version of excel that has no error bars and I don't know what to replace it with.
    Thank you Leila

  • @gokulakrishnan7148
    @gokulakrishnan7148 Před 4 lety

    Wow,that's great. Very useful one.

  • @garys2187
    @garys2187 Před 4 lety

    I am learning so much from your courses that I purchased my first course from you: Excel Dynamic Arrays: Beginner to Expert (Office 365). You are an incredible instructor!!

    • @LeilaGharani
      @LeilaGharani  Před 4 lety

      Great to hear Gary! I hope you'll enjoy the course.

  • @kangtai00
    @kangtai00 Před 2 lety

    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?

  • @ritvikkulkarni4922
    @ritvikkulkarni4922 Před 3 lety

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

  • @DougHExcel
    @DougHExcel Před 4 lety

    FILTER & SORT are such useful new functions!

  • @tonyboss5026
    @tonyboss5026 Před 4 lety

    Thanks Leila always very useful the knowledge you share!
    To the 7 people who clicked dislike... if you know a better way to do this, share it or be humble and learn!

  • @joesatriani2189
    @joesatriani2189 Před 4 lety

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

  • @chrism9037
    @chrism9037 Před 4 lety

    Very useful, thanks!

  • @mattschoular8844
    @mattschoular8844 Před 4 lety

    Very helpful. Thanks Leila....

  • @Road2Euphoria
    @Road2Euphoria Před 4 lety

    Wonderfully done! Informative

    • @LeilaGharani
      @LeilaGharani  Před 4 lety +1

      Thank you!

    • @Road2Euphoria
      @Road2Euphoria Před 4 lety

      Leila Gharani You are welcome. As a Chartered Accountant and Financial Reporting Professional your videos been life saver.
      Do you have a course for financial reporting professionals?

  • @ifemideoluwafemi4434
    @ifemideoluwafemi4434 Před 3 lety +1

    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...

  • @jhindson88
    @jhindson88 Před rokem

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

  • @antoniskouroupis5030
    @antoniskouroupis5030 Před 4 lety

    Excellent.

  • @alix743
    @alix743 Před 4 lety

    Thank you .

  • @peterkomives1993
    @peterkomives1993 Před rokem

    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 ?

  • @chillihi
    @chillihi Před 3 lety

    Oh my goodness, mind blown!😃

  • @cherubicchild5
    @cherubicchild5 Před 4 měsíci +1

    Why I need this for 2016...ughhh

  • @farazchughtai
    @farazchughtai Před 9 měsíci

    you are @Ms Leila simplly always brilant!

  • @farzanmoha8935
    @farzanmoha8935 Před 4 lety +1

    Oh, I kept my eyes on CZcams to be the first who hit the like but still I am late. I am 2nd it’s 2am 🙃
    Thank you Leila.

    • @LeilaGharani
      @LeilaGharani  Před 4 lety +2

      Wow, thank you for the like! Now, get some rest 😄

  • @ahmedelectric83
    @ahmedelectric83 Před 4 lety

    Thank you Leila for the clear and nice illustration.
    I have a question which you may help me and others to know how to do it in a simple way. My question is that how can I make an Interactive Dashboard related to the Status Report to facilitate easily our assigned tasks in a way that could save time and effort since we do this update in a frequent basis.

  • @enriquealtamirano9408
    @enriquealtamirano9408 Před 4 lety

    Thanks!

  • @eduardomunoz2764
    @eduardomunoz2764 Před 4 lety

    Wonderful.

  • @elhadoui
    @elhadoui Před 4 lety

    Good video and great excel skills...impressive

    • @LeilaGharani
      @LeilaGharani  Před 4 lety

      Glad you liked it!

    • @elhadoui
      @elhadoui Před 4 lety

      Leila Gharani based on your vids i can see that you’ve got an extended experience both financially as well as systems/ tools, so i want to ask you have you ever seen/ created a good tracker in excel in order to track dividends?

  • @sandipgumtya130
    @sandipgumtya130 Před 4 lety +2

    Hi Leila. Nice tools. Can you please explain how can it be done with other versions of excel?

  • @Excelambda
    @Excelambda Před 4 lety +1

    Great video, came out with a formula using RANK only, after all, RANK is supposed to rank 😊 and can do stuff that other funct. can not do , RANK.AVG can eliminate ties for example.
    =LET(tbl,TableSalary,sal,INDEX(tbl,,3),rnk,RANK(sal,sal),SORT(FILTER(tbl,rnk

    • @henryg5735
      @henryg5735 Před 4 lety

      Looks interesting; I'll have a play. Wish I could get my head around the LET() function :-{

  • @noushadaboobakar6492
    @noushadaboobakar6492 Před 10 měsíci

    Great 👍

  • @MuhammadAbdullah-el5wz
    @MuhammadAbdullah-el5wz Před 4 lety +1

    For search box, we can use data validation with max or count function, to prevent user entering large number

    • @indryfitriani
      @indryfitriani Před 4 lety

      I thought if we use validation in the cell that entering the formula, it only notif its cel but will still show error in the table below.

    • @MuhammadAbdullah-el5wz
      @MuhammadAbdullah-el5wz Před 4 lety

      @@indryfitriani I guess no, because validation will allow to enter specific number,else it will give you error

  • @Naseer.syed01
    @Naseer.syed01 Před 4 lety

    U changed a lot

  • @samuellux2962
    @samuellux2962 Před 3 lety

    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 ?

  • @TH3LMITA
    @TH3LMITA Před 2 lety

    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")

  • @TEKNISHA
    @TEKNISHA Před 4 lety

    Great video again as usual. I love the way you are always on point...
    Btw I am also passionate about excel and do have my own CZcams channel where I do try to make some videos that hopefully will help people..
    Cheers

    • @LeilaGharani
      @LeilaGharani  Před 4 lety +1

      That is awesome! Good luck with your channel!

    • @TEKNISHA
      @TEKNISHA Před 4 lety

      @@LeilaGharani Thank you

  • @mraln26
    @mraln26 Před 4 lety

    Thank you Leila! Are there any workarounds for excel 2010?

  • @ursvenky6394
    @ursvenky6394 Před 4 lety

    I always love your videos. How to get 5 selected columns out of 10 columns using dynamic arrays.

  • @hosseinhosseinpoor4845

    thanks

  • @lianduan9584
    @lianduan9584 Před 4 lety

    those six dislikes are for people who just dont get it!! master work Leila!!!!!

  • @vijaysahal4556
    @vijaysahal4556 Před 4 lety

    wow its so amazing 👍👍👍👍

    • @LeilaGharani
      @LeilaGharani  Před 4 lety

      Thank you! Cheers!

    • @vijaysahal4556
      @vijaysahal4556 Před 4 lety

      I want to learn excel vba with you bigners to advance label how mch complete course fee I saw unacademy yours cours fees rs 360 it is true ya not plz tell me about all plz

  • @sanjayaais8495
    @sanjayaais8495 Před 4 lety

    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

    • @deepaliambekar362
      @deepaliambekar362 Před 2 lety

      See this video of Leila: czcams.com/video/Onudkw9DMlU/video.html

  • @AjaySingh-ll5qw
    @AjaySingh-ll5qw Před 4 lety

    Nice

  • @guitari89
    @guitari89 Před 9 měsíci

    This is great. I have a question about summing values within the array. Example: The total sales value being summed over multiple transactions to put them into the Top N list. Would I need a helper cell to obtain this?

  • @indryfitriani
    @indryfitriani Před 4 lety

    Cool. Thanks Leila... In this pandemic COVID-19, would you share how to make sales assumption for, let's say 6-months? Thanks

  • @halloffame_y5369
    @halloffame_y5369 Před 4 lety

    I need to get this office 365

  • @mcd22630
    @mcd22630 Před 4 lety

    I'm not sure which I long for the most after watching this video. To sign up for your Excel Dynamic Arrays - Beginner to Advance. Or a return to videos that have more to the background than a white background. ;-)

    • @LeilaGharani
      @LeilaGharani  Před 4 lety +1

      Well, I'm looking forward to seeing you inside the course. Full disclosure: It only has white backgrounds though 😁

  • @ngegnoerick6303
    @ngegnoerick6303 Před 6 měsíci

    Hello Leila,
    A big thanks to you for this wonderful video.
    Am wondering. How can i return top N" values based on selection of a single date and 2,selection of date range?
    I have tried but would only get errors back.

  • @jeremykong1657
    @jeremykong1657 Před 2 lety

    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?

  • @focused313
    @focused313 Před 9 měsíci

    Thank you for this! I tried several formulas, but I couldn't figure out how to account for repeated values.

  • @hampshireoak
    @hampshireoak Před 2 lety

    Thanks

    • @LeilaGharani
      @LeilaGharani  Před 2 lety

      Thank you!

    • @hampshireoak
      @hampshireoak Před 2 lety

      Your videos are always my first go to place, for I find that you help me though some quite complex functions. Thank You.

  • @flossybum
    @flossybum Před 4 lety

    Once again, great video. My problem is, when I did it I sent it to someone (to show off) and it didn't work on their system when they changed the the reference number (like the [top] 5 to a 6).

    • @LeilaGharani
      @LeilaGharani  Před 4 lety

      Do they have 365 with dynamic arrays too? If not, it will not work because they do not have the new functions.

  • @englishizxtreme
    @englishizxtreme Před 4 lety

    just wow .....

  • @lhsdline
    @lhsdline Před 3 lety

    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?

  • @mageshkannashanmuganathan594

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

  • @garyjack1960
    @garyjack1960 Před 3 lety

    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!!

  • @stevenplimmer5115
    @stevenplimmer5115 Před 4 lety

    Great Vid! BTW, it's now called Microsoft 365. :)

    • @LeilaGharani
      @LeilaGharani  Před 4 lety +1

      Oops. Still getting used to the new names 😊

  • @senb6735
    @senb6735 Před 4 lety

    Perfect for my requirements
    But as a 365 corporate account holder, not sure when we will be getting these functions.

    • @LeilaGharani
      @LeilaGharani  Před 4 lety

      According to Microsoft it should be in July. So, just 2 more months.

  • @mshi5826
    @mshi5826 Před 2 lety

    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?

  • @SF-bm8ns
    @SF-bm8ns Před 3 lety

    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.

    • @LeilaGharani
      @LeilaGharani  Před 3 lety

      It's not easily done with Excel. If you're in Google Sheets, you can use the filter function or VLOOKUP to get pictures as well. For Excel you currently need to use a method like this: czcams.com/video/wlW2UKml9CY/video.html

    • @SF-bm8ns
      @SF-bm8ns Před 3 lety

      You are rite it is not easily done. I could not get yet. I will be trying again but it will be helpful to all HR professional if you kindly do a small video.

  • @muhammedmm1407
    @muhammedmm1407 Před 4 lety

    In filter function how can i get headings of each columns

  • @RiddhishDesai
    @RiddhishDesai Před 4 lety

    Does this function can work with pivot tabel or excubed?

  • @petersmith8891
    @petersmith8891 Před rokem +1

    Hello,
    Is it possible to filter the table so it pulls the top 5 for the selected filter? For example. At 1:10s in on this video there is the "Department" Column (A:5). If you clicked on the arrow and filtered it down to only show say "sales", is it then possible to show the top 5 salaries for the Sales Department? and then if you changed the filter to "Finance" it would show the top 5 salaries in finance. Then if you removed the filter it would show the top 5 salaries for all departments?
    I cannot get it to work. Every time i try it just filters the top 5 even more so there might be 1 or 2 in each department that all add up to 5.
    I cant seem to find the solution anywhere and this is the closet I can find. Any help would be much appreciated