{"id":2995,"date":"2017-03-17T11:57:45","date_gmt":"2017-03-17T14:57:45","guid":{"rendered":"https:\/\/www.sheetgo.com\/?p=2995"},"modified":"2017-03-17T11:57:45","modified_gmt":"2017-03-17T14:57:45","slug":"or-formula-google-sheets","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/es\/blog\/google-sheets-formulas\/or-formula-google-sheets\/","title":{"rendered":"C\u00f3mo utilizar la f\u00f3rmula OR en Google Sheets"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221; module_class=&#8221;sheetgo-post&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_row admin_label=&#8221;row&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>The<span>\u00a0<\/span><a href=\"https:\/\/support.google.com\/docs\/answer\/3093306?hl=en&amp;ref_topic=3105413\" target=\"_blank\" rel=\"noopener noreferrer\">OR<\/a><span>\u00a0<\/span>formula in Google Sheets accepts\u00a0logical expressions as input arguments,\u00a0evaluates them to either a logical <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/true-formula-google-sheets\/\" target=\"_blank\" rel=\"noopener\">TRUE<\/a> or <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/false-formula-google-sheets\/\" target=\"_blank\" rel=\"noopener\">FALSE<\/a>. If all of the input arguments evaluate to FALSE, then the formula returns FALSE as the end result. However, if any of the input arguments evaluate to TRUE, the formula returns TRUE as an output.<\/p>\n<h3>Syntax<\/h3>\n<p><span><strong>OR(logical_expression1, [logical_expression2, \u2026])<\/strong><\/span><\/p>\n<p><span><strong>logical_expression1<\/strong><\/span><span>\u00a0<\/span>\u2013 is an expression that evaluates to a logical TRUE or FALSE. This can be a direct expression or a reference to the cell that represents a logical expression.<\/p>\n<p><span><strong>[logical_expression2, \u2026]<\/strong><\/span><span>\u00a0<\/span>\u2013 these are optional and additional expressions that return a logical TRUE or FALSE.<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>Usage: OR Formula in Google Sheets<\/h3>\n<p>Let us try<span>\u00a0<\/span>various combinations<span>\u00a0<\/span>of input arguments within the OR formula and examine the results. You may have already guessed that the first two variations of the formula with a single input argument, aren\u2019t that useful to us.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/10\/OR-formula-in-google-sheets-1.png&#8221; alt=&#8221;OR formula google sheets 1&#8243; title_text=&#8221;OR formula in google sheets 1&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span>It is interesting to note that the OR formula works even when we provide\u00a0<\/span>numbers as the input arguments<span>. What happens when the Google Sheets application encounters a number when it is expecting a logical TRUE or FALSE? It simply converts them to a logical TRUE or FALSE. A zero is converted to FALSE and a non-zero to TRUE. Doesn\u2019t really matter if the numbers contain decimals. Please see the examples in the snapshot below.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/10\/OR-formula-in-google-sheets-2-1.png&#8221; alt=&#8221;OR formula in google sheets 2&#8243; title_text=&#8221;OR formula in google sheets 2&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span>The OR formula also takes\u00a0<\/span>a range of cells as an input argument<span>, as illustrated in the image below.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/10\/OR-formula-in-google-sheets-3.png&#8221; alt=&#8221;OR formula in google sheets 3&#8243; title_text=&#8221;OR formula in google sheets 3&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span>While it is hard to deny the utility of the OR formula in the real world, probably it has a limited application as a standalone formula. However, when it is used\u00a0<\/span>in conjunction with other formulas<span>\u00a0like\u00a0<\/span><a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/if-formula-google-sheets\/\" target=\"_blank\" rel=\"noopener noreferrer\">IF<\/a><span>, we can see its magic coming to life. In the snapshot below, consider the first and third formulas. The second and fourth formulas are their alternatives. Notice how simple it gets when we use OR instead of multi-level IF formula nesting.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/10\/OR-formula-in-google-sheets-4.png&#8221; alt=&#8221;OR formula in google sheets 4&#8243; title_text=&#8221;OR formula in google sheets 4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>OR formula<\/h3>\n<p>And there you go! Use the OR formula in Google Sheets <span>to evaluate logical expressions.<\/span><\/p>\n<p>If you\u2019d like to learn more about the various formulas of Google Sheets, why not take a look at our blog post on the<span><a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/and-formula-google-sheets\/\" target=\"_blank\" rel=\"noopener\"> AND formula in Google Sheets<\/a>.<\/span><\/p>\n<p>Alternatively, check out related blog posts below!<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The\u00a0OR\u00a0formula in Google Sheets accepts\u00a0logical expressions as input arguments,\u00a0evaluates them to either a logical TRUE or FALSE. If all of the input arguments evaluate to FALSE, then the formula returns FALSE as the end result. However, if any of the input arguments evaluate to TRUE, the formula returns TRUE as an output. Syntax OR(logical_expression1, [logical_expression2, [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":254715,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"The <a href=\"https:\/\/support.google.com\/docs\/answer\/3093306?hl=en&ref_topic=3105413\">OR<\/a> formula in Google Sheets accepts logical expressions as input arguments, evaluates them to either a logical TRUE or FALSE. If all of the input arguments evaluate to FALSE, then the formula returns FALSE as the end result. However, if any of the input arguments evaluate to TRUE, the formula returns TRUE as an output.\n<h3>Syntax<\/h3>\n<span style=\"font-family: courier new,courier,monospace; font-size: 14pt;\"><strong>OR(logical_expression1, [logical_expression2, ...])<\/strong><\/span>\n\n<span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>logical_expression1<\/strong><\/span> - is an expression that evaluates to a logical TRUE or FALSE. This can be a direct expression or a reference to the cell that represents a logical expression.\n\n<span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>[logical_expression2, ...]<\/strong><\/span> - these are optional and additional expressions that return a logical TRUE or FALSE.\n<h3>Usage: OR Formula<\/h3>\nLet us try various combinations of input arguments within the OR formula and examine the results. You may have already guessed that the first two variations of the formula with single input argument, aren't that useful to us.\n\n<img class=\"aligncenter size-full wp-image-2997\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/11\/OR1.png\" alt=\"OR Formula - Illustration 1\" width=\"384\" height=\"219\" \/>\n\nIt is interesting to note that the OR formula works even when we provide numbers as the input arguments. What happens when the Google Sheets application encounters a number when it is expecting a logical TRUE or FALSE? It simply converts them to a logical TRUE or FALSE. A zero is converted to FALSE and a non-zero to TRUE. Doesn't really matter if the numbers contain decimals. Please see the examples in the snapshot below.\n\n<img class=\"aligncenter size-full wp-image-2998\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/11\/OR2.png\" alt=\"OR Formula - Illustration 2\" width=\"277\" height=\"172\" \/>\n\nThe OR formula also takes a range of cells as an input argument, as illustrated in the image below.\n\n<img class=\"aligncenter size-full wp-image-3002\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/11\/or3.png\" alt=\"OR Formula - Illustration 4\" width=\"375\" height=\"178\" \/>\n\nWhile it is hard to deny the utility of the OR formula in the real world, probably it has a limited application as a standalone formula. However, when it is used in conjunction with other formulas like IF, we can see its magic coming to life. In the snapshot below, consider the first and third formulas. The second and fourth formulas are their alternatives. Notice how simple it gets when we use OR instead of multi-level IF formula nesting.\n\n<img class=\"aligncenter size-full wp-image-3006\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/11\/or4.png\" alt=\"OR Formula - Illustration 3\" width=\"620\" height=\"173\" \/>\n\n\u00a0\n\n\u00a0","_et_gb_content_width":"","footnotes":""},"categories":[54],"tags":[39,28],"class_list":["post-2995","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-sheets-formulas","tag-connections-t","tag-spreadsheets"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/posts\/2995","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/comments?post=2995"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/posts\/2995\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/media\/254715"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/media?parent=2995"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/categories?post=2995"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/tags?post=2995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}