{"id":3204,"date":"2021-04-11T09:43:03","date_gmt":"2021-04-11T16:43:03","guid":{"rendered":"https:\/\/SUMMALAI.COM\/?p=3204"},"modified":"2021-04-11T09:43:04","modified_gmt":"2021-04-11T16:43:04","slug":"how-to-find-the-earliest-and-latest-date-in-excel","status":"publish","type":"post","link":"https:\/\/SUMMALAI.COM\/?p=3204","title":{"rendered":"How to Find the Earliest and Latest Date in Excel"},"content":{"rendered":"\n<p>We have a range of dates and we want to look up the earliest and the latest date based on certain criteria like the earliest date for a showing movie, we can use MIN and&nbsp;MAX functions with&nbsp;IF function&nbsp;or&nbsp;INDEX function&nbsp;together to find the matched date based on some criteria. Except using formula, we can also use PivotTable to find the min or max date.<\/p>\n\n\n\n<p>See the table below. We have a list of entertainments in recent days. And we want to know the earliest date and latest date for certain entertainments.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excelhow.net\/wp-content\/uploads\/2020\/06\/Find-the-Earliest-and-Latest-Date-1.png\" alt=\"Find the Earliest and Latest Date 1\" class=\"wp-image-9961\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Find the Earliest Date Based on Criteria with Functions MIN &amp; IF<\/strong><\/h3>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p><strong>Step 1:<\/strong>&nbsp;In E2 cell enter the formula&nbsp;<strong>=MIN(IF($A$2:$A$13=D2,$B$2:$B$13)).<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excelhow.net\/wp-content\/uploads\/2020\/06\/Find-the-Earliest-and-Latest-Date-2.png\" alt=\"Find the Earliest and Latest Date 2\" class=\"wp-image-9962\"\/><\/figure>\n\n\n\n<p><strong>Comment:<\/strong><\/p>\n\n\n\n<p>In above formula&nbsp;<strong>IF<\/strong>&nbsp;function returns the data satisfied the criteria $A$2:$A$13=D2, then&nbsp;<strong>MIN<\/strong>&nbsp;function returns the earliest date among the filtered dates.<\/p>\n\n\n\n<p>Also check with <strong>MINIFS <\/strong>and <strong>MAXIFS<\/strong>, both are useful to if you could like put more than one condition.<\/p>\n\n\n\n<p><strong>Step 2:<\/strong>&nbsp;Press&nbsp;<strong>Ctrl+Shift+Enter<\/strong>&nbsp;to get the result. Verify that it returns a five digits number, so we need to convert it to date format.https:\/\/41295b62efc69e79ec772bead2899389.safeframe.googlesyndication.com\/safeframe\/1-0-38\/html\/container.html<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excelhow.net\/wp-content\/uploads\/2020\/06\/Find-the-Earliest-and-Latest-Date-3.png\" alt=\"Find the Earliest and Latest Date 3\" class=\"wp-image-9963\"\/><\/figure>\n\n\n\n<p><strong>Step 3:<\/strong>&nbsp;Click&nbsp;<strong>Home<\/strong>, in&nbsp;<strong>Number<\/strong>&nbsp;group, click&nbsp;<strong>General<\/strong>&nbsp;dropdown list and select&nbsp;<strong>Short Date<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excelhow.net\/wp-content\/uploads\/2020\/06\/Find-the-Earliest-and-Latest-Date-4.png\" alt=\"Find the Earliest and Latest Date 4\" class=\"wp-image-9964\"\/><\/figure>\n\n\n\n<p><strong>Step 4:<\/strong>&nbsp;Verify that the five digits number is converted to date format properly.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excelhow.net\/wp-content\/uploads\/2020\/06\/Find-the-Earliest-and-Latest-Date-5.png\" alt=\"Find the Earliest and Latest Date 5\" class=\"wp-image-9965\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Find the Latest Date Based on Criteria with Functions MAX &amp; IF<\/strong><\/h3>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p><strong>Step 1:<\/strong>&nbsp;In E6 cell enter the formula&nbsp;<strong>=MAX(IF(A2:A13=D6, B2:B13)).<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excelhow.net\/wp-content\/uploads\/2020\/06\/Find-the-Earliest-and-Latest-Date-6.png\" alt=\"Find the Earliest and Latest Date 6\" class=\"wp-image-9966\"\/><\/figure>\n\n\n\n<p><strong>Step 2:<\/strong>&nbsp;Press&nbsp;<strong>Ctrl+Shift+Enter<\/strong>&nbsp;to get the result. Verify that it returns a five digits number, so we need to convert it to date format.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excelhow.net\/wp-content\/uploads\/2020\/06\/Find-the-Earliest-and-Latest-Date-7.png\" alt=\"Find the Earliest and Latest Date 7\" class=\"wp-image-9967\"\/><\/figure>\n\n\n\n<p><strong>Step 3:<\/strong>&nbsp;Click&nbsp;<strong>Home<\/strong>, in&nbsp;<strong>Number<\/strong>&nbsp;group, click&nbsp;<strong>General<\/strong>&nbsp;dropdown list and select&nbsp;<strong>Short Date<\/strong>. Verify that number is converted to date format properly.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excelhow.net\/wp-content\/uploads\/2020\/06\/Find-the-Earliest-and-Latest-Date-8.png\" alt=\"Find the Earliest and Latest Date 8\" class=\"wp-image-9968\"\/><\/figure>\n\n\n\n<p>There is another way to find the latest date by functions MIN and INDEX. See method below.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Find the Latest Date Based on Criteria with Functions MIN &amp; INDEX<\/strong><\/h3>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p><strong>Step 1:<\/strong>&nbsp;In E6 cell enter the formula =<a href=\"https:\/\/www.excelhow.net\/excel-max-function.html\">MAX<\/a>(<a href=\"https:\/\/www.excelhow.net\/excel-index-function.html\">INDEX<\/a>((D6=A2:A13)*B2:B13,)).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excelhow.net\/wp-content\/uploads\/2020\/06\/Find-the-Earliest-and-Latest-Date-9.png\" alt=\"Find the Earliest and Latest Date 9\" class=\"wp-image-9969\"\/><\/figure>\n\n\n\n<p><strong>Step 2:<\/strong>&nbsp;Press&nbsp;<strong>Ctrl+Shift+Enter<\/strong>&nbsp;to get the result. We get the same 5 digits number in above method step#2. The we can follow previous steps#3-#4 to convert it to date format.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excelhow.net\/wp-content\/uploads\/2020\/06\/Find-the-Earliest-and-Latest-Date-10.png\" alt=\"Find the Earliest and Latest Date 10\" class=\"wp-image-9970\"\/><\/figure>\n\n\n\n<p>Ref: https:\/\/www.excelhow.net\/how-to-find-the-earliest-and-latest-date-in-excel.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have a range of dates and we want to look up the earliest and the latest date based on certain criteria like the earliest date for a showing movie, we can use MIN and&nbsp;MAX functions with&nbsp;IF function&nbsp;or&nbsp;INDEX function&nbsp;together to find the matched date based on some criteria. Except using formula, we can also use <a class=\"read-more\" href=\"https:\/\/SUMMALAI.COM\/?p=3204\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[10,18],"tags":[670,669],"class_list":["post-3204","post","type-post","status-publish","format-standard","hentry","category-microsoft","category-microsoft-office","tag-find-latest-date","tag-find-the-earliest-date"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/3204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3204"}],"version-history":[{"count":2,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/3204\/revisions"}],"predecessor-version":[{"id":3206,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/3204\/revisions\/3206"}],"wp:attachment":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3204"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}