Calculate the earliest or latest date in Excel based on criteria by Chris Menard

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.พ. 2019
  • If you have dates in Excel, and you want to find the earlies or lastest date based on a criteria, use the MAX or MIN function with the IF function. The formula will need to be entered as an array function
    And make sure you subscribe to my channel!
    - EQUIPMENT USED --------------------------------
    ○ My camera - amzn.to/3vdgF5E
    ○ Microphone - amzn.to/3gphDXh
    ○ Camera tripod - amzn.to/3veN6Rg
    ○ Studio lights - amzn.to/3vaxyy5
    ○ Dual monitor mount stand - amzn.to/3vbZSjJ
    ○ Web camera - amzn.to/2Tg75Sn
    ○ Shock mount - amzn.to/3g96FGj
    ○ Boom Arm - amzn.to/3g8cNi6
    - SOFTWARE USED --------------------------------
    ○ Screen recording - Camtasia - chrismenardtraining.com/camtasia
    ○ Screenshots - Snagit - chrismenardtraining.com/snagit
    ○ TH-cam keyword search - TubeBuddy - www.tubebuddy.com/chrismenard
    DISCLAIMER: Links included in this description might be affiliate links. If you purchase a product or service with the links I provide, I may receive a small commission. There is no additional charge to you! Thank you for supporting my channel, so I can continue to provide you with free content each week!
  • แนวปฏิบัติและการใช้ชีวิต

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

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

    This is way simpler than everything I was trying, thank you for posting@😁

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

    Greetings frm Malaysia.!!
    Thank you so much Chris!, easy to understand and ease my works

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

    I was looking for exactly this! Thanks so much Chris.

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

    Very useful formula👍🏻, helped me saving lot of time.

  • @AidanSkoyles
    @AidanSkoyles 3 ปีที่แล้ว +2

    you're a hero. this is awesome. saved me hours and hours of work. Thanks

  • @dinog.8606
    @dinog.8606 3 ปีที่แล้ว +1

    Yeee it worked precisely to my working projects. This particular lesson has made my project looked genius 🙏 🤙 😁 👏

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

    Thank you Sir.
    You have saved my week. Now I can complete week task in an hour.

  • @rfrost8551
    @rfrost8551 4 ปีที่แล้ว +6

    Thanks for the video. I would like to expand on it a little to solve a problem. Is it possible to return the last value if meeting 2 criteria?

  • @Chirag73
    @Chirag73 9 หลายเดือนก่อน

    Thank so much for this simple way to share this.. I have subscribed you for more these types of videos to improve my skill.

  • @dinabianco2606
    @dinabianco2606 4 หลายเดือนก่อน

    This is just what i needed thank you. But i did realize thta you must be the $ in your formula otherwise when you drag the formula it will not populate the correct date. Just wanted to share because you don't always need that and i don't usually use the Max formula so i didn't know.

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

    Awesome video and great use of formulae and array function!

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

    Wow, Chris Menard you are awesome!

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

    Thank you, this is exactly what I needed!

  • @Abdulrahman.Alnahari
    @Abdulrahman.Alnahari ปีที่แล้ว

    Thank you for your great explanation. I think it's easier if we use MAXIFS function right?

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

    What if the key word is not there how do i avoid the result being 00/01/1900?

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

    thank you this is really helpful

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

    Thanks, this saved my day in the office today.

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

    It was very helpful..thank u

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

    Thanks a ton, it really helps me to find the latest date in 100000 rows of database

  • @trexarsgo4479
    @trexarsgo4479 4 ปีที่แล้ว +3

    For anyone has problem about their date format, ex : 1/0/1900, press "Shift+Enter" when entering the formula instead just "Enter". It's because we are using the array function

    • @mangalansp5494
      @mangalansp5494 2 ปีที่แล้ว +1

      Hi, I have pressed, just enter, shift+enter and ctrl+shift+enter nothing is helping it's giving result as 1/0/1900. Could you please help me

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

    This is great. Thank you so much!

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

    Thanks! You get a LIKE from me!

  • @anne-marieolivier8318
    @anne-marieolivier8318 3 ปีที่แล้ว +1

    The amount of times this video has saved my next!!

  • @rohithsh007
    @rohithsh007 2 ปีที่แล้ว +1

    Hi Chris, thank you for this video. This was really helpful... :-)

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

    Super helpful, thanks!

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

    Thank you so much!!

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

    Thanks, great explanation :)

  • @jaswanthpatnaik125
    @jaswanthpatnaik125 2 ปีที่แล้ว +1

    Thank you Sir. It worked

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

    Great tip! Thank you!

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

    THANK YOU SO MUCH!!!!
    subscribed!

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

    Thanks

  • @joaopedroportugal
    @joaopedroportugal 2 ปีที่แล้ว +1

    Exactly what I needed for my manager!

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

    was a big help THANK YOU

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

    Beautifull Solution!

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

    Thanks from India 🇮🇳

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

    Thank you so much

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

    Thank you so much, this is what i am exactly looking for , you save my time

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

    Thank you

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

    Hi this is great but i have a query..
    If we wish to find the 2nd highest value for a specific company then how do we calculate?

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

    you're the mannnnnnnnn. thank you.

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

    This is awesome! thank you very much!!!

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

      You're very welcome!

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

      @@ChrisMenardTraining hi, do you have a video of finding the value with more than and less than. To be specific, to find the value of more than 25% but less than 50%, appreciate if you can direct me to this please, thank you very much!

  • @ravilifestylevlogs8496
    @ravilifestylevlogs8496 2 ปีที่แล้ว +1

    much needed this, ,thanks for the help... 🤗

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

    Great explanation thanks a lot :)

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

    Hello Chris,
    Let say there few columns before the invoice date column, which quantity, item, etc and the end invoice date What is the formula to return the last date.

  • @user-il1bz7mk9z
    @user-il1bz7mk9z ปีที่แล้ว

    thank you

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

    Thanku❤❤❤

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

    Super helpful!

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

    Thank you. Can we find the latest date with filled cells? I'm battling with and need help. Thanks in adance.

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

    thank you so much!

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

    this has helped me, thank you.

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

    Thanks for the video

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

    Excellent

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

    Thank you!!!

  • @JoelOchoa
    @JoelOchoa 2 ปีที่แล้ว +1

    thank you!

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

    Thanks for the trick,But Why are the cells showing zero after closing the file and open it again until re enter control shift enter in each cells? Please advise

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

    Chris how can i obtain a formula for the date of last appointment. love your tutorials

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

    Thank you, can we get output based on the latest date plus time criteria

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

    This is helpful, but could you please explain if I have more than 10L rows, how to do it?

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

    Good Day Sir. I want you to assist me with something, please.
    I have a spreadsheet for my products, those products change costs from the manufacturers on a regular basis and if it happened I will have to change my sales price as well, please how can I make it dynamic so that the new price will not override the old sales already recorded?
    I want if any of my product prices changed it should only be effective on the current sales, not the formal.

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

    Greaaaat sir thank you but can it possible to find second last date of invoice with formulas

  • @jobber1984
    @jobber1984 3 ปีที่แล้ว +2

    Thanks for the video!
    Edit - just figured out my solution - Using MAXIFS
    does this work with with AND? I'm having trouble getting it to work
    ie MAX(IF(AND(Logic 1, Logic 2),Date Range)

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

    This helped and one more query on this , the latest date is there - i need the corresponding rates for the dates returned

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

    Hlo Chris, thanks for this video. It was just what I was looking for. How do I return a different item rather the item. in the If statement? For example if there were ticket prices and you want to return the ticket price rather than the date to another table where the airline is displayed but no ticket price. I want to insert the latest ticket price for the airline. II tried using offset but could not get it to work.

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

    Chris, if you had a list of data like this date person reading
    1-May-20 George Kline 560
    15-May-20 car radio 1043
    13-Jun-19 firm lawyer 890
    30-Jun-19 bill debasher 356
    1-Jan-21 Denton voles 87
    15-Jan-21 Mitch mcdere 900
    16-Jan-21 car radio 235
    6-May-20 George Kline 764
    28-Jun-19 firm lawyer 809
    11-Jun-20 bill debasher 445
    14-Jan-21 Denton voles 434
    24-Jan-21 Mitch mcdere 876
    How do I use a formula to output the difference in dates for a specific person with the readings on a separate tab in excel. Such as these columns:
    may readings June readings July readings
    Any help would be appreciated.

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

      Use a Pivot table and it will do the months for you.

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

    Legend!!! if i said it once I said a million times!

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

    Hi Chris, please help me....how to plug into daily the start and end dates example product Mango start season is May 1 until Aug 31....the Mango season should be reflected on an excel dates from May 1, May 2 until the end date ....pls help thank you so much 😊

  • @rustysheriffsbadge1077
    @rustysheriffsbadge1077 2 ปีที่แล้ว +1

    Hi Chris - If you had Invoice dates for mulltiple years and you wanted to find the earliest date based on multiple Clients, how would you do that using Aggregate,15,3?

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

      I would make a PivotTable and use the Min for the date. One Screenshot drive.google.com/file/d/1j-2kQa_4TBQl-Li9VW4OupbuvFsIlefw/view?usp=drivesdk

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

    Thanks😍😍😍😍😍😍😍

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

    Sir I want that two different batches should hold the same date for the same month atleast a one date gap among them would be enough. I tried hard but could not get the result. Please help me

  • @nikithamini9670
    @nikithamini9670 9 หลายเดือนก่อน

    Chris
    i tried your formula but it gives zero or the date formant 1/0/1900 , Can you please help

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

    What to do if there is product column with different products?

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

    Does this work when referencing an excel query? I keep obtaining a zero value as the answer. Please advise.

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

      U can do first b4 formula
      Ctrl+shift+enter

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

    Good Sir

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

    What if date changed to Time (HH:mm)? Can we get earliest and latest time?

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

    I have an excel sheet that shows multiple clients and multiple dates each client had a transaction
    I want to find the first date for each client and then how many days passed between each of multiple transactions since the first transaction for the particular client. How do I do this?

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

      you would sort by client A to Z and then by Date. in the next columns add your calculation. This solution works, but if you have a lot of customers it may not be the best solution. drive.google.com/file/d/1kNF3mK7P-a9eM6ZR9D1Ei1SKZhW7qzAF/view?usp=drivesdk

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

    hello , i applied the formula but got an error as result , i think the cell type is wrong , can somene help me please i will be thankful

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

    Hi, I can't get my data to become the min, it only shows up as 00/01/1900. MinIFS doesn't work either

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

    What is the significance of CTRL+SHIFT+ENTER?

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

    On my report, if there are no dates entered in my group of cells, how can I show a blank, or a “n/a”

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

      =if(cell="",n/a,cell)

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

    SIR MAX FORMULA IS WORKING PROPERLY BUT MIN IS NOT.................

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

    Keep getting "0" or default short date "1/0/1900". Any tips on how to overcome this?

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

      Can you send me your file? chrisamenard@gmail.com

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

      I have the same issue using min and max - any advice???

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

      @@ChrisMenardTraining I keep getting the same result, any ideas?

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

      Use MAXIFS

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

      @@ChrisMenardTraining i also facing same problem.

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

    what happens if you don't use the parentheses?

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

    Hi Chris Thank you , question i have pms file i want to know is there any way to excel calculate by own and find 3rd date between start and finish date with formula and gives best match date between 2 start and finish date , it's example that can expand for 1000 tasks
    Imagine i have 3 tasks with 5 days duration start is 1/1/22 and finish is 1/12/22 so first task start 1 day and 3rd task start 1/7/22 now I want excel calculate and find best date between in 2 tasks that must be 1/4/22
    For 3 task i used sumerized 3 task days then or 2nd task i did finished 3rd task mines sum of 3 task divide by 1.3 and get closet date but it hard for 1000 task to start calculate from last task came up to 2nd task
    Now is there anyway excel calculate and find this date, this is can use for 1000 tasks more or less that I need to find it
    1000000 tnx if you help me 🌹🌹🌹🌹
    Thank you 🌹🌹

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

    how do you do it with 2 criteria?

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

    I also getting "0" or default short date "1/0/1900". Any tips on how to overcome this?

  • @RohitKumar-cc7zi
    @RohitKumar-cc7zi ปีที่แล้ว

    Good he

  • @marksibert305
    @marksibert305 8 หลายเดือนก่อน

    to be slightly technical, the MAX is a search, not calculating, function.

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

    Helpful but I keep getting "0" or 1/0/1900. Help!!!

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

      Nevermind... figured out it was because the data I recieved, the dates had spaces before them. Jesus christ.

  • @manuthareja6090
    @manuthareja6090 7 วันที่ผ่านมา +1

    Is this formula still working in 2024? Windows 11

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

    How to find last to last transaction?

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

    how to do in google sheet??

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

      I'm not sure if this is possible in Google Sheets. If it were, it would probably be the same functions.

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

    Use MAXIFS! or MINIFS

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

    how to get Reminder date before 3 months of validity date in excel

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

      Are you wanting to know 90 days before the invoice date?

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

    Thanks that's was good one, we can also sort the date and use VLOOKUP/XLOOKUP right?

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

    Didne work..

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

      Doesnt work when u take another workbook

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

    Can someone do this same exercise using Excel Power Query? I have millions of rows.
    Found the answer: excelgorilla.com/power-query/using-table-max/

  • @benazirinamdar4424
    @benazirinamdar4424 11 หลายเดือนก่อน

    not working, it gives result 0

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

    Thank you Sir.
    You have saved my week. Now I can complete week task in an hour.

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

      Don't tell you boss. :-)

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

      @@ChrisMenardTraining 🤣🤣 of course I won’t tell. If I do so then I will get more work. 👍🏻

  • @FunWithKids-dr2of
    @FunWithKids-dr2of 8 หลายเดือนก่อน

    Thanks