{"id":9984,"date":"2019-06-17T10:20:38","date_gmt":"2019-06-17T08:20:38","guid":{"rendered":"https:\/\/www.myexcelonline.com\/?p=9984"},"modified":"2023-11-30T17:40:12","modified_gmt":"2023-11-30T16:40:12","slug":"or-formula-in-excel","status":"publish","type":"post","link":"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/or-formula-in-excel\/","title":{"rendered":"OR Formula in Excel"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><em><strong>What does it do?<\/strong><\/em><\/p>\n<p>Checks if any one of the conditions is satisfied or not<\/p>\n<p><em><strong>Formula breakdown:<\/strong><\/em><\/p>\n<p>=OR(<span style=\"color: #0000ff;\">logical1<\/span>, <span style=\"color: #ff6600;\">[logical2], &#8230;<\/span>)<\/p>\n<p><em><strong>What it means:<\/strong><\/em><\/p>\n<p>=OR(<span style=\"color: #0000ff;\">first condition<\/span>, <span style=\"color: #ff6600;\">[additional conditions], &#8230;<\/span>)<\/p>\n<hr \/>\n<p>Have a couple of conditions that you need to check for and ensure <strong>at least one is met<\/strong>? The\u00a0<strong>OR Formula\u00a0<\/strong>of Excel enforces this and will return TRUE if any one of your required conditions is met!<\/p>\n<p>Let us give this a try in our examples below, we want to <strong>check if the date is in the month of January OR the sales amount is greater than $1000.<\/strong><\/p>\n<p>I explain how you can do this below:<\/p>\n<div class=\"after-post-box\">\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/Z41YUqxpn3I?rel=0 \" width=\"800\" height=\"400\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span><\/iframe><a href=\"https:\/\/www.youtube.com\/c\/MyExcelOnlinecomtutorials?sub_confirmation=1\" target=\"_blank\" rel=\"noopener noreferrer nofollow\"><img loading=\"lazy\" decoding=\"async\" class=\"alignmiddle wp-image-111468 size-full\" style=\"vertical-align: middle;\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/04\/1.yt_.png\" alt=\"\" title=\"\"><\/a><\/p>\n<p class=\"line-two\"><a class=\"IRPP_minimalist icon-download button small\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/OR-FORMULA.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/OR-FORMULA.xlsx\" data-leadbox-id=\"147284833f72a2:12f08263ab46dc\"><span class=\"ctaText px-3 text-capitalize\">Download excel workbook<i class=\"fa fa-download\"><\/i><\/span><span class=\"postTitle px-3\">OR-FORMULA.xlsx<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1:<\/strong><\/span> We need to <strong>enter the <i>OR\u00a0<\/i>function in a blank cell<\/strong>:<\/p>\n<h2 style=\"text-align: center;\"><span style=\"color: #0000ff;\">=OR(<\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"OR Formula in Excel\"  class=\"aligncenter size-full wp-image-10317\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/OR-FORMULA-01.jpg\" alt=\"OR Formula in Excel\" width=\"506\" height=\"186\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/OR-FORMULA-01.jpg 506w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/OR-FORMULA-01-300x110.jpg 300w\" sizes=\"(max-width: 506px) 100vw, 506px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 2:<\/strong><\/span>\u00a0The <b>OR\u00a0<\/b>arguments:<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_57_1 counter-flat ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li><a href=\"#\" class=\"scroll-to-download\">Free Practice Workbook<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/or-formula-in-excel\/#logical1\" title=\"logical1\">logical1<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/or-formula-in-excel\/#logical2\" title=\"[logical2]\">[logical2]<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"logical1\"><\/span><span style=\"color: #0000ff;\"><em><strong>logical1<\/strong><\/em><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>What is the first condition?<\/strong><\/p>\n<p><em>Let us create the condition to get the month of the date and check if it is January:<\/em><\/p>\n<h2 style=\"text-align: center;\">=OR(<span style=\"color: #0000ff;\">MONTH(C9)=1,<\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"OR Formula in Excel\"  class=\"aligncenter size-full wp-image-10318\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/OR-FORMULA-02.jpg\" alt=\"OR Formula in Excel\" width=\"520\" height=\"192\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/OR-FORMULA-02.jpg 520w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/OR-FORMULA-02-300x111.jpg 300w\" sizes=\"(max-width: 520px) 100vw, 520px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"logical2\"><\/span><span style=\"color: #0000ff;\"><em><strong>[logical2]<\/strong><\/em><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>What is the second condition?<\/strong><\/p>\n<p><em>Let us create the condition to check if sales is greater than 1000:<\/em><\/p>\n<h2 style=\"text-align: center;\">=OR(MONTH(C9)=1, <span style=\"color: #0000ff;\">D9 &gt; 1000)<\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"OR Formula in Excel\"  class=\"aligncenter size-full wp-image-10319\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/OR-FORMULA-03.jpg\" alt=\"OR Formula in Excel\" width=\"504\" height=\"185\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/OR-FORMULA-03.jpg 504w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/OR-FORMULA-03-300x110.jpg 300w\" sizes=\"(max-width: 504px) 100vw, 504px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Apply the same formula to the rest of the cells by dragging the lower right corner downwards.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"OR Formula in Excel\"  class=\"aligncenter size-full wp-image-10320\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/OR-FORMULA-04.jpg\" alt=\"OR Formula in Excel\" width=\"437\" height=\"194\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/OR-FORMULA-04.jpg 437w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/OR-FORMULA-04-300x133.jpg 300w\" sizes=\"(max-width: 437px) 100vw, 437px\" \/><\/p>\n<p>You now have your results!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"OR Formula in Excel\"  class=\"aligncenter size-full wp-image-10321\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/OR-FORMULA-05.jpg\" alt=\"OR Formula in Excel\" width=\"452\" height=\"206\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/OR-FORMULA-05.jpg 452w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/11\/OR-FORMULA-05-300x137.jpg 300w\" sizes=\"(max-width: 452px) 100vw, 452px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #0000ff;\"><strong>How to Use the OR Formula in Excel<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/ebooks.myexcelonline.com\/products\/101-most-popular-excel-formulas-e-book\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-10741\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/12\/MyExcelOnline.com-Formulas-E-Book.png\" alt=\"\" width=\"1200\" height=\"628\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/12\/MyExcelOnline.com-Formulas-E-Book.png 1200w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/12\/MyExcelOnline.com-Formulas-E-Book-300x157.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/12\/MyExcelOnline.com-Formulas-E-Book-1024x536.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/12\/MyExcelOnline.com-Formulas-E-Book-768x402.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" title=\"\"><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; What does it do? Checks if any one of the conditions is satisfied or not Formula breakdown: =OR(logical1, [logical2], &#8230;) What it means: =OR(first condition, [additional conditions], &#8230;) Have a couple of conditions that you need to check for and ensure at least one is met? The\u00a0OR Formula\u00a0of Excel enforces this and will return [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":17956,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cos_headline_score":0,"cos_seo_score":0,"cos_headline_text":"","cos_headline_has_been_analyzed":false,"cos_last_analyzed_headline":[],"om_disable_all_campaigns":false},"categories":[12,3,513],"tags":[142,512,514],"acf":[],"_links":{"self":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/9984"}],"collection":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/comments?post=9984"}],"version-history":[{"count":0,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/9984\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media\/17956"}],"wp:attachment":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media?parent=9984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/categories?post=9984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/tags?post=9984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}