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

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ม.ค. 2025

ความคิดเห็น • 279

  • @LeilaGharani
    @LeilaGharani  11 หลายเดือนก่อน +2

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

  • @MangJuArnz
    @MangJuArnz 2 ปีที่แล้ว +4

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

  • @brianbean4882
    @brianbean4882 4 ปีที่แล้ว +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.

  • @excelisfun
    @excelisfun 5 ปีที่แล้ว +10

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

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

      Thanks Teammate :)

    • @nonbinarybastard
      @nonbinarybastard 4 ปีที่แล้ว +1

      @@LeilaGharani cringe BOOOOOMERS XD XD XD jsjsjjsjsjsjsjsjsjsjsjjsjsjsjsjjsjsjsjsjsjjsjsjsjs ANNNA OOP

  • @JimFikes
    @JimFikes 5 ปีที่แล้ว +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  5 ปีที่แล้ว

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

  • @VenkiDas
    @VenkiDas 3 ปีที่แล้ว

    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.

  • @ronvds4713
    @ronvds4713 5 ปีที่แล้ว +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.

  • @carpevinum9537
    @carpevinum9537 3 ปีที่แล้ว +1

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

  • @kamelgameel1250
    @kamelgameel1250 5 ปีที่แล้ว +3

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

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว +1

      Thank you for the kind feedback 😊

  • @bn_ln
    @bn_ln 5 ปีที่แล้ว +2

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

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

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

  • @Oprimaita
    @Oprimaita 5 ปีที่แล้ว

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

  • @mostafa4321
    @mostafa4321 5 ปีที่แล้ว

    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  5 ปีที่แล้ว

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

  • @abdallah.kandiel
    @abdallah.kandiel 5 ปีที่แล้ว

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

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว +1

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

    • @abdallah.kandiel
      @abdallah.kandiel 5 ปีที่แล้ว

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

  • @ExcelWithChris
    @ExcelWithChris 5 ปีที่แล้ว

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

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

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

  • @IvanBeles
    @IvanBeles 3 ปีที่แล้ว

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

  • @fajrieyulio6492
    @fajrieyulio6492 3 ปีที่แล้ว

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

  • @salehmohammad5170
    @salehmohammad5170 3 ปีที่แล้ว

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

  • @yashsomaiya8141
    @yashsomaiya8141 4 ปีที่แล้ว

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

  • @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

  • @super_cute_jung
    @super_cute_jung 3 ปีที่แล้ว

    really want to say thank you for these amazing tutorials

    • @LeilaGharani
      @LeilaGharani  3 ปีที่แล้ว

      You're very welcome, Amy!

  • @anillpatel
    @anillpatel 5 ปีที่แล้ว

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

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว +1

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

  • @salvadoriniguez1156
    @salvadoriniguez1156 4 ปีที่แล้ว

    Thanks, all you videos has helped me a lot.

  • @sundaramnarayanan6776
    @sundaramnarayanan6776 5 ปีที่แล้ว

    Thanks for your training Learning new things every Thursday

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

      Thanks for supporting my happy Excel Thursday :)

  • @roselsimpson858
    @roselsimpson858 5 ปีที่แล้ว +1

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

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

      Me too :) Glad you like it.

  • @sazzadhossain4136
    @sazzadhossain4136 2 ปีที่แล้ว

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

  • @jayaxe79
    @jayaxe79 5 ปีที่แล้ว

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

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว +1

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

  • @DougHExcel
    @DougHExcel 5 ปีที่แล้ว

    Great tips on the newer functions!

  • @alexkim7270
    @alexkim7270 5 ปีที่แล้ว

    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  5 ปีที่แล้ว

      True Alex. The IFS are much easier to use.

  • @euniceesinam2573
    @euniceesinam2573 4 ปีที่แล้ว

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

  • @davidsouza2844
    @davidsouza2844 3 ปีที่แล้ว

    Always saving me, love from Brazil!!!!

  • @vida1719
    @vida1719 5 ปีที่แล้ว

    Great explanation of every single element in formula

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

      Glad you like the tutorial.

  • @msoc69
    @msoc69 5 ปีที่แล้ว

    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.

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

      Very true. Thanks Michael.

  • @sarfarajkureshi6569
    @sarfarajkureshi6569 5 ปีที่แล้ว +3

    Mam you are always brilliant...

  • @leoncornelius5062
    @leoncornelius5062 4 ปีที่แล้ว

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

    • @leoncornelius5062
      @leoncornelius5062 4 ปีที่แล้ว

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

  • @aftabhameedkhan9213
    @aftabhameedkhan9213 5 ปีที่แล้ว

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

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

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

    • @ricos1497
      @ricos1497 5 ปีที่แล้ว

      @@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  5 ปีที่แล้ว +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.

  • @qualitysnaps680
    @qualitysnaps680 5 ปีที่แล้ว

    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  5 ปีที่แล้ว

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

    • @qualitysnaps680
      @qualitysnaps680 5 ปีที่แล้ว

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

  • @salehmohammad5170
    @salehmohammad5170 4 ปีที่แล้ว

    Greatly I took advantage from this tutorial.. Thanks Dear

  • @vijaygusain119
    @vijaygusain119 5 ปีที่แล้ว

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

  • @enriquedominguez9709
    @enriquedominguez9709 5 ปีที่แล้ว

    Great detailed explanation Leila.

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

      Glad you like the tutorial Enrique.

  • @lephterisp
    @lephterisp 5 ปีที่แล้ว +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!!!

  • @Uriel_Soberanes
    @Uriel_Soberanes 10 หลายเดือนก่อน

    Very useful!!! Thanks!

  • @jannah.destinny
    @jannah.destinny 2 ปีที่แล้ว +1

    how can i use max and min function in live moving data?

  • @wayneedmondson1065
    @wayneedmondson1065 5 ปีที่แล้ว

    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  5 ปีที่แล้ว +1

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

  • @shayanalamian4743
    @shayanalamian4743 5 ปีที่แล้ว

    Thanks for providing practical education

  • @ckokse
    @ckokse 5 ปีที่แล้ว +1

    Never used these before. Great video as always!

  • @gabriellaprievara7379
    @gabriellaprievara7379 5 ปีที่แล้ว +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  5 ปีที่แล้ว

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

  • @SholaDsdg
    @SholaDsdg 5 ปีที่แล้ว

    A resourceful solution for my work! Thanks Leila!

  • @pemayeshi4694
    @pemayeshi4694 3 หลายเดือนก่อน

    Appreciate your video. I want to know why we could not find the Maxifs and Minifs values of positive and negative numbers together in one column.

  • @lencsezoltan
    @lencsezoltan 4 ปีที่แล้ว

    Thank you! This just made my spreadsheet working!

  • @appliedelearning8651
    @appliedelearning8651 5 ปีที่แล้ว

    Great Leila Gharani. Many many Thanks From Bangladesh.

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว +1

      Glad you like it. Greetings to Bangladesh.

  • @NeerajPareek1975
    @NeerajPareek1975 5 ปีที่แล้ว

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

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

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

  • @moisestatis5418
    @moisestatis5418 ปีที่แล้ว

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

  • @ravimistry777
    @ravimistry777 4 ปีที่แล้ว

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

  • @lillkidsgame3842
    @lillkidsgame3842 2 ปีที่แล้ว

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

  • @ajexcel
    @ajexcel 5 ปีที่แล้ว

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

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

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

  • @tha2irtalib343
    @tha2irtalib343 5 ปีที่แล้ว

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

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

      And I'm glad to have you here :)

  • @Luciano_mp
    @Luciano_mp 5 ปีที่แล้ว

    Good solutions Leila, thanks.

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

      My pleasure Luciano. Hope it's useful.

  • @marclim6968
    @marclim6968 ปีที่แล้ว

    can you do a video to further discuss the different functions of the AGGREGATE function i.e. count or counta. I am trying to do a formula using the COUNTIF/S function to count specific values i.e. answers in a survey with answers ranging from 1 to 5. i wish to count how many people answered 1, 2, 3 and so on but excluding any hidden rows. and since the AGGREGATE function is the only one that seem to have a function for ignoring hidden rows, i am trying to combine both to make it a bit more dynamic? hope you could help me with this. Thank you.

  • @katerina6495
    @katerina6495 5 ปีที่แล้ว

    Vielen Dank Liebe Leila 🤗

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

      Danke dir liebe Katerina 😘

  • @rajal8787
    @rajal8787 10 หลายเดือนก่อน

    Thank you so much, Leila! I was so excited to try this because it but it gives me an error. I believe the error stems from criteria name selection. I simply typed the criteria names (i.e., Price, Year), on side of dataset, selected the data range and applied the formula. Did I miss something?

  • @harshababu8321
    @harshababu8321 3 ปีที่แล้ว +1

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

  • @Prachigavali10
    @Prachigavali10 4 ปีที่แล้ว

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

  • @SamMolinero
    @SamMolinero 5 ปีที่แล้ว

    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  5 ปีที่แล้ว +1

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

  • @CallipygianMoose
    @CallipygianMoose 2 ปีที่แล้ว

    why cant i do for example >A1 as one of the criteria? It supports > if its for example ">0" but what if i want a dynamic cell reference for my > criteria?

  • @vlogging-nk
    @vlogging-nk 5 ปีที่แล้ว

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

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

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

  • @narindersharma2087
    @narindersharma2087 2 ปีที่แล้ว

    can you please suggest a way to get min/max value with row cell value in non adjacent cells and also the header value.

  • @jonalazarre6200
    @jonalazarre6200 ปีที่แล้ว

    Thank You so much your videos have been very helpful!
    I am the cofounder of a small nonprofit organization, we are using Google Form and Google Sheets for our database to document our actions. I do have a question, if I'm trying to Maxifs to figure out the latest did something was done; however I am using data that are responses from a Google Form. So some may have multiple answers in the same cell that divided by a coma. I am looking for a way to record the lastest date for a specific action among multiple answers. For example on 01/03/23 the following types of donations were made during one visit (school kit, clothes kit, food kit), if I would like to get the latest date a food kit was given, how would I go about it? Thanks for your help.

  • @mosesmukambojr8707
    @mosesmukambojr8707 2 ปีที่แล้ว

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

  • @kshitijshinde8592
    @kshitijshinde8592 4 ปีที่แล้ว

    Grate help to automate my schedule. Thank a ton

  • @alihasan7067
    @alihasan7067 5 ปีที่แล้ว +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

  • @pavel2k
    @pavel2k 2 ปีที่แล้ว

    Great video, thanks!

  • @7elche
    @7elche 4 ปีที่แล้ว

    Quick question. What if I need the highest value based on a list that is changing, but its looking to a vlookup on another tab? For example, I have a list with all my items and lead times on one tab, and on the other tab I will create my orders addint the items. I need a cell to look at all the items on the order and return the highest lead time. Not sure how to make it happen.

  • @yurd563
    @yurd563 5 ปีที่แล้ว

    A lof of thanks for video lesson!

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

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

  • @ExcelHubPro
    @ExcelHubPro ปีที่แล้ว

    Hi leila, Thanks very useful vedio. Can we get results based on time like between i want max value criteria will time between 15:00 to 23:59

  • @cons37
    @cons37 2 ปีที่แล้ว

    Hi Leila. Thank you so much. How about if we have a table with minimum to maximum ranges, column 1 is minimum value, column2 is maximum value, the column 3 is a corresponding value for col1 to col2 range, and so on for row 2 onward. If say,I have a value within a min/max and I want to lookup the col3 value, what function can I use? Thank you.

  • @ScottAnders62
    @ScottAnders62 5 ปีที่แล้ว

    More great value from you, Leila! Thanks!

  • @aizidoros
    @aizidoros 2 ปีที่แล้ว

    You are AMAZING!

  • @wofdigy
    @wofdigy 5 ปีที่แล้ว

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

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

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

  • @chrisbishop5568
    @chrisbishop5568 2 ปีที่แล้ว

    Thank you for all your helpful Videos, you've helped me a ton I do have one question. I cannot find this anywhere and it seems that it would be easy. How can i find the middle value? say i have 20 Games I can get the Highest price and lowest price game but how can i get the middle priced one? everything i see online shows me how to average the numbers but i just want the formula to grab the middle price so i have a list of High, Medium, and low price. Thank you

  • @juniorsalman
    @juniorsalman 5 ปีที่แล้ว

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

  • @stanTrX
    @stanTrX ปีที่แล้ว

    Thanks. How can i get the 'region' value of the max value with maxifs

  • @yulinliu850
    @yulinliu850 5 ปีที่แล้ว

    Excellent! Thanks Leila!

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

      You're very welcome. Glad you like it.

  • @towfeek1338
    @towfeek1338 5 ปีที่แล้ว

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

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

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

  • @bryannntan
    @bryannntan 4 ปีที่แล้ว

    Amazing stuff. Thanks a lot for sharing :)

  • @MianAteeq
    @MianAteeq 4 ปีที่แล้ว

    I have very large data of Entries in parking GLs (8 GLs) in 150 branches and the O/S balance appears daily if its not NIL. i need to calculate start and end date of single balance subject to each branch and each GL and in graph form have to show which balance Br wise OR GLwise remained unsettled for how many days (start - End)

  • @Chiswick-Edward
    @Chiswick-Edward 5 ปีที่แล้ว +1

    your vids are vey usefull

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

      I'm glad to hear that Edward.

  • @lpanebr
    @lpanebr 5 ปีที่แล้ว

    Great content as always! Thank you.

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว +1

      Glad you like the tutorial Luciano!

  • @Otisawide
    @Otisawide 3 ปีที่แล้ว

    Thank you Leila!

  • @chrism9037
    @chrism9037 5 ปีที่แล้ว

    Great video!

  • @maheshcherukuri8404
    @maheshcherukuri8404 3 ปีที่แล้ว

    Hi,
    Please provide an equation to display the "Country" having the max and min revenue values, keeping the other criteria same

  • @shipingli7590
    @shipingli7590 5 ปีที่แล้ว

    Thanks for your video very much.

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

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

  • @chistenator
    @chistenator 2 ปีที่แล้ว +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?

  • @Amin_BADAR
    @Amin_BADAR 3 ปีที่แล้ว

    How to capture a Max and Min value if the data is running live?
    Thanks in advance

  • @09shirish
    @09shirish 5 ปีที่แล้ว

    Mam, Thanks for your vaulable guidance !

    • @LeilaGharani
      @LeilaGharani  5 ปีที่แล้ว

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

  • @reviewchannel9674
    @reviewchannel9674 3 ปีที่แล้ว

    Can you make a video which will highlight max of dates but of a fix cell value. For e.g. I have an ID in a cell and has mutiple dates for it. Similarly i have multiple ids, so i want to highlight max date for ids.

  • @dunnobe
    @dunnobe 4 ปีที่แล้ว +2

    Yep, she solved my problem (again).

  • @wojwojT
    @wojwojT 4 ปีที่แล้ว

    Thank You VERY MUCH !

  • @joujoumilor2898
    @joujoumilor2898 4 ปีที่แล้ว

    Hi Leila thanks a lot for this video, besides this I realy wonder how can I get the row number of the result returned by max if ??

  • @zaighamuddinfarooqui1705
    @zaighamuddinfarooqui1705 5 ปีที่แล้ว

    Wonderful.👍

  • @julieannrlee
    @julieannrlee 2 ปีที่แล้ว

    What if the revenue have a 0 value, what should I add to the formula of min so I can find the next min value