{"id":50116,"date":"2024-06-28T19:53:08","date_gmt":"2024-06-28T17:53:08","guid":{"rendered":"https:\/\/blog.sheetgo.com\/?p=50116"},"modified":"2025-10-08T23:03:35","modified_gmt":"2025-10-08T21:03:35","slug":"funciones-if-de-google-sheets","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/es\/blog\/google-sheets-formulas\/google-sheets-if-functions\/","title":{"rendered":"Todas las funciones IF de Google Sheets"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; da_is_popup=&#8221;off&#8221; da_exit_intent=&#8221;off&#8221; da_has_close=&#8221;on&#8221; da_alt_close=&#8221;off&#8221; da_dark_close=&#8221;off&#8221; da_not_modal=&#8221;on&#8221; da_is_singular=&#8221;off&#8221; da_with_loader=&#8221;off&#8221; da_has_shadow=&#8221;on&#8221; da_disable_devices=&#8221;off|off|off&#8221;][et_pb_row _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#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.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>Google Sheet IF functions allow you to include condition-based formulas in your spreadsheets.\u00a0<\/p>\n<p>Think of them like flow charts. These charts have a set of questions at each juncture and your answer defines how you move forward. Likewise, IF functions return one result or another based on a certain condition.<\/p>\n<p>If you are looking to move past basic formulas these are great functions to have in your toolbox. There are quite a few of them and in this article we will cover them all.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2>IF<\/h2>\n<p>This is the most basic function in this category. Basically, it evaluates a single condition and outputs different results if it\u2019s TRUE or FALSE.[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>=IF(condition, value_if_true, value_if_false)<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>IF is great to make simple logical comparisons. For example, you can evaluate whether students &#8220;Pass&#8221; a test if their score is over 50.<\/p>\n<p>Note: given the formula below students who got exactly 50 will also be assigned a \u201cFail\u201d.<\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>=IF(A1 &gt; 50, &#8220;Pass&#8221;, &#8220;Fail&#8221;)<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/if-formula-google-sheets\/\">Read our post on IF<\/a> for advanced uses like nested IF statements and to combine it with other functions.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2>IFS<\/h2>\n<p>This function has a number of conditions and values. The first condition to be TRUE will return its corresponding value.[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>=IFS(condition1, value1, condition2, value2, &#8230;)<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>The IFS function is useful to evaluate multiple conditions against a set of values. For example, we could use it to translate grades from percentages to letters.<\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>=IFS(A1 &gt; 90, &#8220;A&#8221;, A1 &gt; 80, &#8220;B&#8221;, A1 &gt; 70, &#8220;C&#8221;, A1 &gt; 60, &#8220;D&#8221;, TRUE, &#8220;F&#8221;)<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>For a more detailed overview, check out the full article on the<a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/ifs-formula-google-sheets\/\"> IFS formula in Google Sheets<\/a>.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2>AVERAGEIF<\/h2>\n<p>Calculates the average of a range of cells that meet a specified condition.[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>=AVERAGEIF(range, criterion, [average_range])<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>The AVERAGEIF function is useful to limit the values you want to average. Continuing with the test example, we could use it to find the average test score for students who passed.<\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>=AVERAGEIF(A1:A10, \u201c&gt; 50\u201d)<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>For a detailed overview of its syntax, check out the full article on the<a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/averageif-formula-google-sheets\/\"> AVERAGEIF formula in Google Sheets<\/a>.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2>AVERAGEIFS<\/h2>\n<p>Calculates the average of a range of cells that meet multiple specified conditions.[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>=AVERAGEIFS(average_range, criteria_range1, criterion1, criteria_range2, criterion2, &#8230;)<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>AVERAGEIFS lets you set multiple conditions to narrow down the values to include in your average. For example, you could average the test scores for students who passed and are right handed.<\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>=AVERAGEIFS(B1:B10, A1:A10, &#8220;Pass&#8221;, C1:C10, \u201cRight\u201d)<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>For more an in-depth explanation, read the complete post on <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/averageifs-formula-google-sheets\/\">AVERAGEIFS formula in Google Sheets<\/a>.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2>COUNTIF<\/h2>\n<p>Counts the number of cells in a range that meet a specified condition.[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>=COUNTIF(range, criterion)<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>This function is great to know how many students passed the test.<\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>=COUNTIF(A1:A10, &#8220;&gt;50&#8221;)<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>For many applications of this formula, check out <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/countif-greater-than-0\/\">Countif greater than 0 Google Sheets<\/a>.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2>COUNTIFS<\/h2>\n<p>Counts the number of cells in a range that meet multiple specified conditions.[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>=COUNTIFS(criteria_range1, criterion1, criteria_range2, criterion2, &#8230;)<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>Again, say you are fixated on your right handed students. COUNTIFS will let you know how many of them passed the test.<\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>=COUNTIFS(B55:B65, <span class=\" string \">&#8220;&gt; 50&#8221;<\/span>, C55:C65, <span class=\" string \">&#8220;Right&#8221;<\/span>)<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>For more detailed information, check out the full article on the <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/countifs-in-google-sheets\/\">COUNTIFS formula in Google Sheets<\/a>.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2>SUMIF<\/h2>\n<p>Adds certain values based on a single condition.[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>=SUMIF(range, criterion, [sum_range])<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>The SUMIF function is useful to single out certain values you want to add. It can calculate total sales for a\u00a0 product, sum expenses for a category, or add scores above a threshold.<\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>=SUMIF(A1:A10, &#8220;Product A&#8221;, B1:B10)<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>For more practical examples, and advanced use cases, check out the full article on the\u00a0<a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/sumif-google-sheets\/\">SUMIF formula in Google Sheets<\/a>.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2>SUMIFS<\/h2>\n<p>Adds the cells in a range that meet multiple conditions.[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>=SUMIFS(sum_range, criteria_range1, criterion1, criteria_range2, criterion2, &#8230;)<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>The SUMIFS function is perfect for adding up values that meet multiple criteria, such as summing sales only for a specific region and product.<\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>=SUMIFS(B1:B10, A1:A10, &#8220;North&#8221;, C1:C10, &#8220;Product A&#8221;)<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>For more detailed information, check out the full article on the\u00a0<a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/sumifs-with-multiple-criteria\/\">SUMIFS formula in Google Sheets<\/a>.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2>SWITCH<\/h2>\n<p>Tests an expression against a list of cases and returns the corresponding value of the first match. It\u2019s a great alternative to nested IF statements because of its increased simplicity and readability.[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>=SWITCH(expression, case1, value1, case2, value2, &#8230;, [default])<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>The SWITCH function is useful when you have multiple conditions to evaluate and want to return a specific value for the first true condition.<\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>=SWITCH(A1, &#8220;Red&#8221;, 1, &#8220;Green&#8221;, 2, &#8220;Blue&#8221;, 3, &#8220;Unknown&#8221;)<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>To explore this function in full check out our post <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/switch-formula-google-sheets\/\">SWITCH formula in Google Sheets<\/a>.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2>IFERROR<\/h2>\n<p>Returns a value if there is no error, otherwise it returns a specified value if there is an error.[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>=IFERROR(value, [value_if_error])<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>The IFERROR function is useful to handle errors in formulas. It helps ensure that your spreadsheet doesn&#8217;t show errors and displays user-friendly messages instead.<\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>=IFERROR(100\/0, &#8220;Divide by zero error&#8221;)<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>For a full guide on implementing this formula for error handling check out <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/iferror-formula-google-sheets\/\">IFERROR formula in Google Sheets<\/a>.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2>IFNA<\/h2>\n<p>Returns a specified value if the formula evaluates to #N\/A; otherwise, it returns the result of the formula.[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>=IFNA(value, value_if_na)<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>The IFNA function is great for handling the #N\/A error specifically, ensuring that your spreadsheet can display a custom message or alternative value when this error occurs.<\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>=IFNA(VLOOKUP(A1, B1:B10, 2, FALSE), &#8220;Not Found&#8221;)<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>To explore this function in depth, check out <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/ifna-in-google-sheets\/\">How to use IFNA in Google Sheets to handle errors<\/a>.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;if&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2>Conclusion<\/h2>\n<p>Google Sheets&#8217; IF functions allow you to include condition-based formulas in your spreadsheets. They act like flow charts that guide your data processing based on specific conditions.<\/p>\n<p>From the basic IF function to more advanced ones like IFS, SUMIFS, and SWITCH, these functions perform complex logical operations.<\/p>\n<p>Mastering these functions will enhance your spreadsheet capabilities.[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google Sheet IF functions allow you to include condition-based formulas in your spreadsheets.\u00a0 Think of them like flow charts. These charts have a set of questions at each juncture and your answer defines how you move forward. Likewise, IF functions return one result or another based on a certain condition. If you are looking to [&hellip;]<\/p>\n","protected":false},"author":33,"featured_media":44470,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[54],"tags":[39,28],"class_list":["post-50116","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-sheets-formulas","tag-connections-t","tag-spreadsheets"],"acf":[],"permalink_manager":null,"_links":{"self":[{"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/posts\/50116","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\/33"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/comments?post=50116"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/posts\/50116\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/media\/44470"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/media?parent=50116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/categories?post=50116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/tags?post=50116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}