Excel MAX or MIN with CONDITIONS (MAXIFS & AGGREGATE Method)

Поделиться
HTML-код
  • Опубликовано: 15 июл 2024
  • Join 400,000+ professionals in our courses here 👉 link.xelplus.com/yt-d-all-cou...
    Uncover the power of MINIFS and MAXIFS Excel functions. These tools are essential for extracting minimum or maximum values based on specific criteria. Suitable for Excel 2019 and Office 365 users, with alternatives for those on older versions.
    ⬇️ DOWNLOAD the workbook here: pages.xelplus.com/max-min-file
    ▪️ MAXIFS and MINIFS Functions:
    Purpose: Easily calculate maximum and minimum values based on one or more criteria.
    Example: Find the highest and lowest revenue for a specific year and division.
    Procedure: Select your data range and criteria in the MAXIFS/MINIFS function.
    ▪️ Using AGGREGATE for Older Excel Versions:
    Alternative: AGGREGATE function is a versatile substitute for those without access to the latest Excel versions.
    Approach: Combine logical tests within the AGGREGATE function, using LARGE (for MAXIFS) and SMALL (for MINIFS) arguments.
    Key Benefit: No need for Ctrl+Shift+Enter to execute array formulas, thanks to AGGREGATE's inherent handling of arrays.
    ▪️ Efficient Data Analysis:
    Flexibility: Whether using the latest Excel functions or older versions, you can efficiently analyze data to extract meaningful insights.
    Customization: Adapt formulas to fit various datasets and criteria, ensuring versatile application across different scenarios.
    Is there an Excel Max IF or MIN IF function? If you have Excel for Office 365 or Excel 2019, you can use MAXIFS and MINIFS functions which allow us to find the maximum or minimum value in a data set based on multiple conditions. For example if you wanted to find the MIN value but exclude zero values, you can use the MINIFS function to do that.
    If you have an older version of Excel, you can use an alternate method. The common solution is {=Max(If (array) )} but you need to press Control Shift Enter (CSE).
    Another method to get the maximum or minimum value based on criteria is to use the AGGREGATE function. The advantage of AGGREGATE is you don't need to press control shift enter. Just enter. You need a little trick to get to work. We cover that in this video.
    More IFS functions - like SUMIFS: • How to Use SUMIFS, COU...
    ★ 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

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

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

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

  • @MangJuArnz
    @MangJuArnz Год назад +2

    whenever I search for some answer on RUclips, you were the only one who got it done! Kudos Ms. Leila!

  • @brianbean4882
    @brianbean4882 3 года назад +3

    Honestly, I've watched a few of your videos. It amazes me how easily you explain EXACTLY what I need after getting frustrated with Google searches and Reddit. I'm going to stop messing around and come to your channel in the first instance.

  • @ronvds4713
    @ronvds4713 4 года назад +4

    I've used AGGREGATE the way you show but I think I should get serious in getting an upgrade. Great presentation and as always easy to follow.

  • @JimFikes
    @JimFikes 4 года назад +2

    A great example of why we should all be thankful for the new functions -- and why users of older versions of Excel should consider upgrading!

    • @LeilaGharani
      @LeilaGharani  4 года назад

      True. There really have been great improvements in recent years.

  • @excelisfun
    @excelisfun 4 года назад +10

    Thanks for the AGGREGATE and MAXIFS and MINIFS fun , Teammate : )

    • @LeilaGharani
      @LeilaGharani  4 года назад

      Thanks Teammate :)

    • @nonbinarybastard
      @nonbinarybastard 4 года назад +1

      @@LeilaGharani cringe BOOOOOMERS XD XD XD jsjsjjsjsjsjsjsjsjsjsjjsjsjsjsjjsjsjsjsjsjjsjsjsjs ANNNA OOP

  • @ScottAnders62
    @ScottAnders62 4 года назад

    More great value from you, Leila! Thanks!

  • @ckokse
    @ckokse 4 года назад +1

    Never used these before. Great video as always!

  • @VenkiDas
    @VenkiDas 2 года назад

    this is awesome. thanks for this. i have been breaking my head for an 2 hours to solve a problem. Thanks to you Leila thats now solved in a minute.

  • @IvanBeles
    @IvanBeles 3 года назад

    Thank you for your Videos. Few minutes watching, and I can save hours of work. Great job.

  • @SholaDsdg
    @SholaDsdg 4 года назад

    A resourceful solution for my work! Thanks Leila!

  • @Oprimaita
    @Oprimaita 4 года назад

    Each time I watch one of your video, I learn something great. Thanks a lot Leila

  • @bn_ln
    @bn_ln 4 года назад +2

    The divide by 0 trick is genius! Thanks for your videos, I continue to learn a lot from them.

    • @LeilaGharani
      @LeilaGharani  4 года назад

      My pleasure Benjamin. Glad you like my little trick :)

  • @anillpatel
    @anillpatel 4 года назад

    Your videos are so educational. They can be applied easily to real business situations. Thanks Leila.

    • @LeilaGharani
      @LeilaGharani  4 года назад +1

      I'm happy the content can be applied in real life. That's the goal.

  • @saracrosby5237
    @saracrosby5237 4 года назад

    Thank you for making these videos, you've explained this in a very easy way to understand. I've been trying to figure this out for hours until I found your video

  • @gabriellaprievara7379
    @gabriellaprievara7379 4 года назад +1

    I was really looking forward to see your new video, thank you, it is excellent as always. :) It helps me a lot in my work!

    • @LeilaGharani
      @LeilaGharani  4 года назад

      It's great you can apply it at work. Thanks for your support Gabriella.

  • @ravimistry777
    @ravimistry777 3 года назад

    thank you so much! Aggregate is helpful for dates as well. Helped me to solve a long pending analysis!

  • @roselsimpson858
    @roselsimpson858 4 года назад +1

    Glad i caught this video early. Good content, love the new intro

  • @carpevinum9537
    @carpevinum9537 3 года назад +1

    Whenever I have problem at school or work..I know one of Leila's video can always help me out

  • @yashsomaiya8141
    @yashsomaiya8141 4 года назад

    Hi Leila, today this video proved to be of a great help. Nice idea Leila.

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

    Very useful!!! Thanks!

  • @mostafa4321
    @mostafa4321 4 года назад

    Great Video. I never used the Maxif function before. It was an eye-opening. Thank you Leila you hit it out of the park again. Thank you for the awesome work you put in these videos.

    • @LeilaGharani
      @LeilaGharani  4 года назад

      You're very welcome. Glad you found something new here.

  • @davidsouza2844
    @davidsouza2844 2 года назад

    Always saving me, love from Brazil!!!!

  • @salvadoriniguez1156
    @salvadoriniguez1156 3 года назад

    Thanks, all you videos has helped me a lot.

  • @fajrieyulio6492
    @fajrieyulio6492 3 года назад

    Thanks a lot! Very easy to understand. Love from Indonesia

  • @vijaygusain119
    @vijaygusain119 4 года назад

    Its always great to start my day with your videos...Love them!

  • @sundaramnarayanan6776
    @sundaramnarayanan6776 4 года назад

    Thanks for your training Learning new things every Thursday

    • @LeilaGharani
      @LeilaGharani  4 года назад

      Thanks for supporting my happy Excel Thursday :)

  • @kamelgameel1250
    @kamelgameel1250 4 года назад +3

    First half is great information second half brilliant turn around solution, you rock Leila as usual :)

    • @LeilaGharani
      @LeilaGharani  4 года назад +1

      Thank you for the kind feedback 😊

  • @ExcelWithChris
    @ExcelWithChris 4 года назад

    Congrats on hitting 200000! You rock. One day Ill get there. Best inspiration.

    • @LeilaGharani
      @LeilaGharani  4 года назад

      Thank you very much! It's so great, never thought I'd ever reach that. You'll get there too!

  • @sazzadhossain4136
    @sazzadhossain4136 2 года назад

    Very useful and time saving formula. I am benefited. Thanks a lot.

  • @rishabhmehta3364
    @rishabhmehta3364 4 года назад

    Thanks a lot for another great video. We could also use 4 and 5 for Max and min respectively.

  • @euniceesinam2573
    @euniceesinam2573 3 года назад

    I use the Excel 2016 so thanks very much for providing the alternative solution.

  • @salehmohammad5170
    @salehmohammad5170 2 года назад

    Learnt it & show Magic to my boss at office.. Thanks cute leila 😍

  • @kshitijshinde8592
    @kshitijshinde8592 4 года назад

    Grate help to automate my schedule. Thank a ton

  • @jayaxe79
    @jayaxe79 4 года назад

    Never fail to be amazed by how much I learn in this channel even though I'm quite a seasoned macro user :)

    • @LeilaGharani
      @LeilaGharani  4 года назад +1

      It's good to hear you are able to learn some new things here :)

  • @super_cute_jung
    @super_cute_jung 3 года назад

    really want to say thank you for these amazing tutorials

  • @pavel2k
    @pavel2k 2 года назад

    Great video, thanks!

  • @erick-moreira
    @erick-moreira 2 года назад

    Muito bom, me ajudou muito. Obrigado por compartilhar! 🇧🇷
    Very good, it helped me a lot. Thanks for sharing!

  • @sarfarajkureshi6569
    @sarfarajkureshi6569 4 года назад +3

    Mam you are always brilliant...

  • @juniorsalman
    @juniorsalman 4 года назад

    Thank you, I always stuck at min value with zero🙂. Now I know 👍♥️

  • @tha2irtalib343
    @tha2irtalib343 4 года назад

    Great and thanks .
    You always in the front ... some kind of " smooth operator " .
    I'm glad following your channel .

    • @LeilaGharani
      @LeilaGharani  4 года назад

      And I'm glad to have you here :)

  • @dunnobe
    @dunnobe 4 года назад +2

    Yep, she solved my problem (again).

  • @DougHExcel
    @DougHExcel 4 года назад

    Great tips on the newer functions!

  • @lencsezoltan
    @lencsezoltan 3 года назад

    Thank you! This just made my spreadsheet working!

  • @wojwojT
    @wojwojT 4 года назад

    Thank You VERY MUCH !

  • @leoncornelius5062
    @leoncornelius5062 3 года назад

    Thanks!! This has really helped, and prevented me from transposing data!! 👍🏽

    • @leoncornelius5062
      @leoncornelius5062 3 года назад

      Is there a limit to the size of data that aggregate will work with?

  • @lpanebr
    @lpanebr 4 года назад

    Great content as always! Thank you.

    • @LeilaGharani
      @LeilaGharani  4 года назад +1

      Glad you like the tutorial Luciano!

  • @thevloglife105
    @thevloglife105 4 года назад

    You are really very genius! Thank you for sharing this tutorial.

    • @LeilaGharani
      @LeilaGharani  4 года назад

      You're very welcome. Glad you like the video.

  • @shayanalamian4743
    @shayanalamian4743 4 года назад

    Thanks for providing practical education

  • @vida1719
    @vida1719 4 года назад

    Great explanation of every single element in formula

  • @Otisawide
    @Otisawide 3 года назад

    Thank you Leila!

  • @SamMolinero
    @SamMolinero 4 года назад

    Thanks!
    I would've loved to see this video 2 years ago, that would've helped me a lot with a sales report Excel sheet. I updated that Excel file 2 months ago, using the new Filter function to solve a similar situation than in the video.

    • @LeilaGharani
      @LeilaGharani  4 года назад +1

      Well, at least you now have it in your tool box :)

  • @salehmohammad5170
    @salehmohammad5170 3 года назад

    Greatly I took advantage from this tutorial.. Thanks Dear

  • @aizidoros
    @aizidoros 2 года назад

    You are AMAZING!

  • @wayneedmondson1065
    @wayneedmondson1065 4 года назад

    Hi Leila.. thanks for the refresher on these useful MAX and MIN techniques using multiple criteria. Love that divide by 1 trick to force the #DIV /0! errors inside the array in AGGREGATE using the SMALL function_num. Keep them coming. Thumbs up!!

    • @LeilaGharani
      @LeilaGharani  4 года назад +1

      Thanks for the thumbs up Wayne. Glad you like my little trick :)

  • @ajexcel
    @ajexcel 4 года назад

    Wow! Thanks ! Leila I was searching this type of formula...👍

    • @LeilaGharani
      @LeilaGharani  4 года назад

      Great! I'm glad I could help with that.

  • @prashantgavali888
    @prashantgavali888 4 года назад

    Really great video.
    Appreciate your efforts.
    Thanks a lot. Keep it up

  • @Luciano_mp
    @Luciano_mp 4 года назад

    Good solutions Leila, thanks.

    • @LeilaGharani
      @LeilaGharani  4 года назад

      My pleasure Luciano. Hope it's useful.

  • @yurd563
    @yurd563 4 года назад

    A lof of thanks for video lesson!

    • @LeilaGharani
      @LeilaGharani  4 года назад

      You're very welcome. I'm glad it's useful.

  • @aftabhameedkhan9213
    @aftabhameedkhan9213 4 года назад

    Brilliant! As always, you are spot on and informative.
    Looking forward to meeting you at the Excel Olympics 2019 Slovenia!

    • @LeilaGharani
      @LeilaGharani  4 года назад

      Glad you like the tutorial. It's great you'll be joining us in Slovenia!

    • @ricos1497
      @ricos1497 4 года назад

      @@LeilaGharani There's an Excel olympics? I can't work out if that's cool or not cool. Is it cool that I think that it is cool?
      Also, is it pronounced MINIFS, or MIN-IF-S? I thought the "IFS" part of the word was just the plural of "IF", as in multiple IF statements?

    • @LeilaGharani
      @LeilaGharani  4 года назад +1

      Of course it's cool :) Where else can you see us nerds competing in an Excel decathlon 😁
      For me IF-S is easier so that's what I go with.

  • @towfeek1338
    @towfeek1338 4 года назад

    Thank you very much for your informative video... keep your efforts...

    • @LeilaGharani
      @LeilaGharani  4 года назад

      My pleasure. I'm glad you find the video useful.

  • @yulinliu850
    @yulinliu850 4 года назад

    Excellent! Thanks Leila!

    • @LeilaGharani
      @LeilaGharani  4 года назад

      You're very welcome. Glad you like it.

  • @shipingli7590
    @shipingli7590 4 года назад

    Thanks for your video very much.

    • @LeilaGharani
      @LeilaGharani  4 года назад

      You're very welcome. Hope it's useful.

  • @wofdigy
    @wofdigy 4 года назад

    Great Video... as always.. thank you Leila

    • @LeilaGharani
      @LeilaGharani  4 года назад

      My pleasure. I'm glad you like the video.

  • @appliedelearning8651
    @appliedelearning8651 4 года назад

    Great Leila Gharani. Many many Thanks From Bangladesh.

    • @LeilaGharani
      @LeilaGharani  4 года назад +1

      Glad you like it. Greetings to Bangladesh.

  • @alihasan7067
    @alihasan7067 4 года назад +1

    Thanks Leila, can you do a video showing how to import data from word forms ? specially if you have more than one form in same word document

  • @khalidapututa8409
    @khalidapututa8409 4 года назад

    tnx ,,u r the best

  • @ProgramadorExcelVBA
    @ProgramadorExcelVBA 4 года назад

    Muito bom
    Att, Gledson Programador Excel VBA

  • @moisestatis5418
    @moisestatis5418 Год назад

    as usual great video Leila, thanks. I'd like to apply this to summing with criterias, but do not how.

  • @enriquedominguez9709
    @enriquedominguez9709 4 года назад

    Great detailed explanation Leila.

    • @LeilaGharani
      @LeilaGharani  4 года назад

      Glad you like the tutorial Enrique.

  • @09shirish
    @09shirish 4 года назад

    Mam, Thanks for your vaulable guidance !

    • @LeilaGharani
      @LeilaGharani  4 года назад

      My pleasure. I'm glad if the tutorials are helpful.

  • @bryannntan
    @bryannntan 4 года назад

    Amazing stuff. Thanks a lot for sharing :)

  • @mosesmukambojr8707
    @mosesmukambojr8707 Год назад

    Thanks.
    Been trying to do this with vlookup and min max.
    Now to find medianifs

  • @chistenator
    @chistenator Год назад +1

    Hi Leila, Thanks for your lessons. Do you have way to find the next higher number of a fixed value in an array with 2 or more conditions?

  • @aamerganapurkar2682
    @aamerganapurkar2682 Год назад

    Thanks a lot

  • @ThuThu-br6hf
    @ThuThu-br6hf Год назад

    so great, giọng hát quá hay

  • @lephterisp
    @lephterisp 4 года назад +1

    I am using Office 2019 so maxif and minif are available for me.Thanks a lot anyway..Please please please for future video idea checked products in different rows (with check box maybe)with quantity in next column copied in other sheet without empty rows ..very usefull for many people ..order form for example...By the way .Very nice dress in this video!!!

  • @abdallah.kandiel
    @abdallah.kandiel 4 года назад

    It's about the attitude
    Someone just deliver information directly to the brains
    Thank you your highness

    • @LeilaGharani
      @LeilaGharani  4 года назад +1

      Then let's just hope I don't mess up any brains :)

    • @abdallah.kandiel
      @abdallah.kandiel 4 года назад

      @@LeilaGharani
      I don't think so
      You're wonderful instructor
      Thank you

  • @lillkidsgame3842
    @lillkidsgame3842 Год назад

    THHHAAANNNNKKKKK YYYOOOOUUUU!!!!!! I actually understood it, thank you : )

  • @brahmmamb24
    @brahmmamb24 4 года назад

    It's great option for us... thanks

    • @LeilaGharani
      @LeilaGharani  4 года назад

      My pleasure. I'm glad the video is useful for you.

  • @moatazyounis2535
    @moatazyounis2535 4 года назад

    Great 👍👍👍👍👍

  • @alexkim7270
    @alexkim7270 4 года назад

    To be honest, I never used AGGREGATE function before as I think it was a little daunting at first. But as I slowly understand the use of it, I think I should apply it elsewhere. Anyhow I'm glad having E365 that I am able to use MAXIFS and MINIFS instead of writing complex functions already! Thanks for sharing. I'll definitely check that out in my next project.

    • @LeilaGharani
      @LeilaGharani  4 года назад

      True Alex. The IFS are much easier to use.

  • @katerina6495
    @katerina6495 4 года назад

    Vielen Dank Liebe Leila 🤗

  • @mirasforaccounting570
    @mirasforaccounting570 4 года назад

    thanks

  • @banwarifageriaexcelclasses1447
    @banwarifageriaexcelclasses1447 4 года назад

    nice lesson ..Leila please can you explain difference between LOOKUP & VLOOKUP

  • @msoc69
    @msoc69 4 года назад

    I like the use of the AGGREGATE function. Works like SUMPRODUCT. Usually do MAXIFS with array formulas. Though I use 2019, I need to share with other users who have earlier versions so MAXIFS is out of the question.

  • @harshababu8321
    @harshababu8321 3 года назад +1

    As usual that was great!!!!!. Is there any other way than using aggregate ?

  • @chrism9037
    @chrism9037 4 года назад

    Great video!

  • @kinanpervaiz2936
    @kinanpervaiz2936 4 года назад

    how extraordinary

  • @qualitysnaps680
    @qualitysnaps680 4 года назад

    Hello from New Zealand ...like the style of teaching and have already brought dashboard pack from you. ( haven’t seen all the videos yet )

    • @LeilaGharani
      @LeilaGharani  4 года назад

      That's great to hear! Wow, New Zealand ... are you braving the winter?

    • @qualitysnaps680
      @qualitysnaps680 4 года назад

      Leila Gharani yeah ...we are week away from going into spring ....but has been an ok winter . 😀

  • @samkumar8211
    @samkumar8211 4 года назад

    Thank you so much

  • @eprzepiora
    @eprzepiora 4 года назад +1

    your vids are vey usefull

  • @NeerajPareek1975
    @NeerajPareek1975 4 года назад

    Need a little bit more on *Aggregate Function*... Though understood it. Thanks! As always it was wonderful..👍👍

    • @LeilaGharani
      @LeilaGharani  4 года назад

      Took a while for me too. Glad you like the tutorial.

  • @michaelkan01
    @michaelkan01 4 года назад

    Very helpful thks

    • @LeilaGharani
      @LeilaGharani  4 года назад

      My pleasure. Glad the video is useful.

  • @zaighamuddinfarooqui1705
    @zaighamuddinfarooqui1705 4 года назад

    Wonderful.👍

  • @hosseinhosseinpoor4845
    @hosseinhosseinpoor4845 3 года назад

    thanks...

  • @merbouni
    @merbouni 4 года назад

    Thank you

    • @LeilaGharani
      @LeilaGharani  4 года назад +1

      You're very welcome. Always nice to see your comments.

  • @ExcelWithChris
    @ExcelWithChris 4 года назад

    What can I say.... brilliant as always.

  • @carltagbor
    @carltagbor 3 года назад

    This was very helpful. I want to use the same approach to compute the average of the data set whilst ignoring zeros. Kindly assist.

  • @simfinso858
    @simfinso858 4 года назад

    Very Nice video.