{"id":2414,"date":"2022-04-01T09:17:30","date_gmt":"2022-04-01T09:17:30","guid":{"rendered":"https:\/\/blog.integrately.com\/?p=2414"},"modified":"2023-07-07T09:05:52","modified_gmt":"2023-07-07T09:05:52","slug":"google-sheets-if-then-formula","status":"publish","type":"post","link":"https:\/\/blog.integrately.com\/google-sheets-if-then-formula","title":{"rendered":"Google Sheets IF-THEN Formula"},"content":{"rendered":"\n<p>If you are like me,&nbsp; you probably use google sheets for everything. Right from tracking your expenses to managing a project, a google sheet is a versatile tool that serves varied purposes.<\/p>\n\n\n\n<p>One of the things I love about google sheets is the <strong>IF-THEN<\/strong> formula. This formula allows you to automate certain tasks in your spreadsheet based on conditions that you set.<\/p>\n\n\n\n<p>For example, you can use the IF-THEN formula to automatically calculate the days until a project is due based on the current date.<\/p>\n\n\n\n<p>In this quick guide, I will show you how to use the Google Sheets IF-THEN formula so that you can get started with automating your tasks.<\/p>\n\n\n\n<p>Let&#8217;s get started!<\/p>\n\n\n\n<div id=\"understanding-functions-in-google-sheets\" class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<h2>Understanding Functions in Google Sheets<\/h2>\n<p><span style=\"font-weight: 400;\">Functions are an inevitable part of working with spreadsheets.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">A function is a predefined formula that performs calculations using specific values, called arguments, in a particular order. They can be used to perform various operations such as summing up cells, counting the number of characters in a cell, or finding the average of a range of cells.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Google Sheets support 2 types of functions: built-in and custom functions.<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Built-in functions<\/b> <span style=\"font-weight: 400;\">are the most commonly used type of function. They&#8217;re already programmed into Google Sheets and ready to use.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Custom function<i>s <\/i><\/b><span style=\"font-weight: 400;\">are created by users (like you and me!) using Google Apps Script, a scripting language based on JavaScript.<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">The most important thing to know about functions is how to use them. In general, you&#8217;ll use a function by typing = (equal sign) followed by the function name and its arguments.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The function name is the name of the action you want to perform. The arguments are the values or cell references that tell the function what to work on.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For example,&nbsp; the sum function adds up a range of cells. The syntax for the sum function is <\/span><b>=sum(range).<\/b><\/p>\n<p><span style=\"font-weight: 400;\">In this example, &#8220;range&#8221; is the argument that tells the function of the cells to add up.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You can also use more than one argument in a function.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Out of all the functions, the <\/span><b>IF-THEN<\/b><span style=\"font-weight: 400;\"> function is probably the most versatile. It allows you to automate tasks based on certain conditions.<\/span><\/p>\n<\/div><\/div>\n\n\n\n<div id=\"what-is-the-google-sheets-if-then-formula\" class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<h2>What is the Google Sheets IF-THEN formula<\/h2>\n<p><span style=\"font-weight: 400;\">The<\/span><b> IF-THEN<\/b><span style=\"font-weight: 400;\"> function is also known as the <\/span><b>conditional formatting<\/b><span style=\"font-weight: 400;\"> function or <\/span><b>IF-THEN formula<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">It is like a decision tree where the result will be one of the two outcomes, based on the conditions you set.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Here&#8217;s the syntax for it<\/span><\/p>\n<p><b>=if(condition, value if true, value if false)<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Here,<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>condition<\/b> <span style=\"font-weight: 400;\">is the criteria that you want to test.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>value if true<\/b> <span style=\"font-weight: 400;\">is the value returned if the condition is satisfied<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>value if false<\/b><span style=\"font-weight: 400;\"> is the value returned if the condition is not satisfied. The <\/span><b>value_if_false<\/b><span style=\"font-weight: 400;\"> argument is optional, but I recommend always including it. That way, you can control what happens when the condition is met and when it&#8217;s not.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">For example, we can set the role to Developer\/ Tester based on a condition that checks whether the department of the employee is \u2018Testing\u2019 as shown below.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2415\" src=\"https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-if-then-formula.png\" alt=\"\" width=\"567\" height=\"269\" srcset=\"https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-if-then-formula.png 567w, https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-if-then-formula-300x142.png 300w\" sizes=\"auto, (max-width: 567px) 100vw, 567px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2416\" src=\"https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-if-then-formula-diagram.png\" alt=\"\" width=\"476\" height=\"399\" srcset=\"https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-if-then-formula-diagram.png 476w, https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-if-then-formula-diagram-300x251.png 300w\" sizes=\"auto, (max-width: 476px) 100vw, 476px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Now that we&#8217;ve gone over the basics of how the <\/span><b>IF-THEN<\/b><span style=\"font-weight: 400;\"> formula works, let&#8217;s look at some more examples of how you can use it.<\/span><\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-columns ctaApps has-white-color has-text-color has-background is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\" style=\"background-color:#011240\">\n<div class=\"wp-block-column ctaAppContent is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<p class=\"has-text-align-center ctaAppsHeading\"><mark style=\"background-color:rgba(0, 0, 0, 0);color:#f35a38\" class=\"has-inline-color\">8 Million+<\/mark> Ready Automations<br>For <mark style=\"background-color:rgba(0, 0, 0, 0);color:#f35a38\" class=\"has-inline-color itlAppCount\">750+<\/mark> Apps<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button ctaBtn\"><a class=\"wp-block-button__link has-white-color has-text-color has-background wp-element-button\" href=\"https:\/\/app.integrately.com\/signup\" style=\"background-color:#f35a38\" target=\"_blank\" rel=\"noreferrer noopener\">Try Integrately For FREE<\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<div id=\"examples-of-how-to-use-google-sheets-if-then-formula\" class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<h2>Examples of How to Use Google Sheets IF-THEN Formula<\/h2>\n<p><span style=\"font-weight: 400;\">Here are some examples of how you can use the <\/span><b>IF-THEN<\/b><span style=\"font-weight: 400;\"> function in Google Sheets.<\/span><\/p>\n<h3><b>Format Numbers as Currency:<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">You can use the <\/span><b>IF-THEN<\/b><span style=\"font-weight: 400;\"> function to automatically format numbers as currency. To do this, you&#8217;ll need to use the condition of whether or not a cell contains a number. And if it does then use the &#8220;$&#8221; symbol to format the cell as currency. And in case it\u2019s not a number then leave the cell as it is.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Here&#8217;s what the final formula looks like:<\/span><\/p>\n<p><b>=if(isnumber(A), &#8220;$&#8221;&amp;A, A)<\/b><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2417\" src=\"https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-format-number-as-currency.png\" alt=\"\" width=\"682\" height=\"400\" srcset=\"https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-format-number-as-currency.png 682w, https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-format-number-as-currency-300x176.png 300w\" sizes=\"auto, (max-width: 682px) 100vw, 682px\" \/><\/p>\n<h3><b>Find out the Expired Dates:<\/b> <span style=\"font-weight: 400;\">&nbsp;<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">You can use the <\/span><b>IF-THEN<\/b><span style=\"font-weight: 400;\"> function to find out the expired dates. To do so, use the condition: whether or not a date has expired and set the status to \u2018Expired\u2019 or \u2018Not Expired\u2019 accordingly Here&#8217;s what the final formula looks like:<\/span><\/p>\n<p><b>=if(A &lt;= today(), &#8220;Expired&#8221;, &#8220;Not Expired&#8221;)<\/b><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2418\" src=\"https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-find-out-the-expired-dates.png\" alt=\"\" width=\"700\" height=\"311\" srcset=\"https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-find-out-the-expired-dates.png 700w, https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-find-out-the-expired-dates-300x133.png 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<h3><b>Perform calculations:<\/b><b>&nbsp; <\/b><\/h3>\n<p><span style=\"font-weight: 400;\">In scenarios where you need to perform calculations based on some decisions, you can again opt for IF-THEN formula. For example, if you want to offer discounts to your customers based on the amount of purchase, you can use <\/span><b>IF-THEN <\/b><span style=\"font-weight: 400;\">to calculate the discount amount and show it in a separate column. For example, assume that you own a store and offer discounts to customers based on the amount of their purchase as:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">If a customer spends less than $100, they get a 15% discount.&nbsp;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">If a customer spends between $100 and $199, they get a 20% discount, and<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">If a customer spends $200 or more, they get a 25% discount.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Then you can use a formula like:<\/span><\/p>\n<p><b>=if(A &lt;= 100, 15%, if(A &lt;= 199, 20%, 25%))<\/b><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2419\" src=\"https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-perform-calculations.png\" alt=\"\" width=\"805\" height=\"330\" srcset=\"https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-perform-calculations.png 805w, https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-perform-calculations-300x123.png 300w, https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-perform-calculations-768x315.png 768w\" sizes=\"auto, (max-width: 805px) 100vw, 805px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">The format of IF used in the above formula is a <\/span><b>NESTED IF<\/b><span style=\"font-weight: 400;\">.&nbsp; Continue reading to understand what it is.<\/span><\/p>\n<\/div><\/div>\n\n\n\n<div id=\"nested-if-then\" class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<h2>Nested IF-THEN<\/h2>\n<p><span style=\"font-weight: 400;\">A nested <\/span><b>IF-THEN<\/b><span style=\"font-weight: 400;\"> statement is an &#8220;IF-THEN&#8221; statement that contains another &#8220;IF-THEN&#8221; statement.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The syntax for it is as follows:&nbsp;<\/span><\/p>\n<p><b>=if(condition, value if true, if(condition, value if true, value if false))<\/b><\/p>\n<p><span style=\"font-weight: 400;\">In the above formula, the first &#8220;IF-THEN&#8221; statement has a condition and two values: one for when the condition is met and one for when it&#8217;s not.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The second &#8220;IF-THEN&#8221; statement also has a condition and two values. However, the second &#8220;IF-THEN&#8221; statement is only executed if the first &#8220;IF-THEN&#8221; statement&#8217;s condition is not met.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For example,&nbsp; let&#8217;s say you want to grade students based on the following criteria:&nbsp;<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">A score of 90 or above,&nbsp; Grade = &#8220;A&#8221;.&nbsp;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Score between 80 and 89, Grade = &#8220;B&#8221;.&nbsp;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Score between 70 and 79, Grade = &#8220;C&#8221;.&nbsp;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Score below 70, Grade = &#8220;F&#8221;.&nbsp;<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">This can be shown as<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2420\" src=\"https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-nested-if-then.png\" alt=\"\" width=\"900\" height=\"646\" srcset=\"https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-nested-if-then.png 900w, https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-nested-if-then-300x215.png 300w, https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-nested-if-then-768x551.png 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">You can use the following nested &#8220;IF-THEN&#8221; statement to calculate the grade:&nbsp;<\/span><\/p>\n<p><b>=if(A &gt;= 90, &#8220;A&#8221;, if(A &gt;= 80, &#8220;B&#8221;, if(A &gt;= 70, &#8220;C&#8221;, if(A &lt;= 69, &#8220;F&#8221;))))<\/b><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2421\" src=\"https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-nested-formula-diagram.png\" alt=\"\" width=\"540\" height=\"667\" srcset=\"https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-nested-formula-diagram.png 540w, https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-nested-formula-diagram-243x300.png 243w\" sizes=\"auto, (max-width: 540px) 100vw, 540px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Using nested if can sometimes be very cumbersome as your conditions increase, IFS comes to your rescue at this point.<\/span><\/p>\n<\/div><\/div>\n\n\n\n<div id=\"ifs-function-in-google-sheets\" class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<h2><b>IFS function in Google Sheets<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">The IFS function is a newer way to do nested ifs, it was introduced in google sheets in 2018. IFS can take multiple conditions and return multiple results. Its syntax is as follows:<\/span><\/p>\n<p><b>=IFS(condition_a, result_a, condition_b, result_b, &#8230;)<\/b><\/p>\n<p><span style=\"font-weight: 400;\">So for the above example, we can modify the condition to get the same result as:<\/span><\/p>\n<p><b>&nbsp;=IFS(A &gt;= 90, &#8220;A&#8221;, A &gt;= 80, &#8220;B&#8221;, A &gt;= 70, &#8220;C&#8221;, A &lt;= 69, &#8220;F&#8221;)<\/b><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2422\" src=\"https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-ifs-function.png\" alt=\"\" width=\"814\" height=\"652\" srcset=\"https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-ifs-function.png 814w, https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-ifs-function-300x240.png 300w, https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-ifs-function-768x615.png 768w\" sizes=\"auto, (max-width: 814px) 100vw, 814px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">As you can see, the IFS function is much cleaner and easier to read than a nested IF statement.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">That&#8217;s it for this tutorial! You should now have a good understanding of how to use the IF function in Google Sheets. So, automate all the tasks that you can and get relieved!<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Don&#8217;t stop here, continue learning about all the different ways you can use Google Sheets by checking out our other tutorials.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Also, to further automate your workflow process, we have Integrately at your service!<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Integrately is&nbsp; an automation tool that lets you automate your apps like Google Sheets in just 1 click. That too with more than 700+ other apps.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Spend only a few minutes initially and be carefree afterward. No technical skills are required!<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Save yourself lots of time &amp; money.&nbsp;<\/span><\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>If you are like me,&nbsp; you probably use google sheets for everything. Right from tracking your expenses to managing a project, a google sheet is a versatile tool that serves varied purposes. One of the things I love about google sheets is the IF-THEN formula. This formula allows you to automate certain tasks in your<a class=\"moretag\" \n href=\"https:\/\/blog.integrately.com\/google-sheets-if-then-formula\">Continue Reading&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":2424,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[134],"class_list":["post-2414","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-app-tips","tag-google-sheets"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Google Sheets IF-THEN Formula<\/title>\n<meta name=\"description\" content=\"A guide on how to use google sheets IF-THEN formula for those who want to get started with google sheets and learn the basics.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.integrately.com\/google-sheets-if-then-formula\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Google Sheets IF-THEN Formula\" \/>\n<meta property=\"og:description\" content=\"A guide on how to use google sheets IF-THEN formula for those who want to get started with google sheets and learn the basics.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.integrately.com\/google-sheets-if-then-formula\" \/>\n<meta property=\"og:site_name\" content=\"Integrately Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/integrately\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/abhipreneur\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-01T09:17:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-07T09:05:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-if-then-formula-thumb.png\" \/>\n\t<meta property=\"og:image:width\" content=\"610\" \/>\n\t<meta property=\"og:image:height\" content=\"343\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Abhishek A Agrawal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@abhipreneur\" \/>\n<meta name=\"twitter:site\" content=\"@IntegratelyApp\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abhishek A Agrawal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.integrately.com\\\/google-sheets-if-then-formula#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.integrately.com\\\/google-sheets-if-then-formula\"},\"author\":{\"name\":\"Abhishek A Agrawal\",\"@id\":\"https:\\\/\\\/blog.integrately.com\\\/#\\\/schema\\\/person\\\/d7d4f96bf7ffb4d5c8b418138647cef9\"},\"headline\":\"Google Sheets IF-THEN Formula\",\"datePublished\":\"2022-04-01T09:17:30+00:00\",\"dateModified\":\"2023-07-07T09:05:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.integrately.com\\\/google-sheets-if-then-formula\"},\"wordCount\":1241,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/blog.integrately.com\\\/google-sheets-if-then-formula#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.integrately.com\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/google-sheets-if-then-formula-thumb.png\",\"keywords\":[\"Google Sheets\"],\"articleSection\":[\"App Tips\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blog.integrately.com\\\/google-sheets-if-then-formula#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.integrately.com\\\/google-sheets-if-then-formula\",\"url\":\"https:\\\/\\\/blog.integrately.com\\\/google-sheets-if-then-formula\",\"name\":\"Google Sheets IF-THEN Formula\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.integrately.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.integrately.com\\\/google-sheets-if-then-formula#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.integrately.com\\\/google-sheets-if-then-formula#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.integrately.com\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/google-sheets-if-then-formula-thumb.png\",\"datePublished\":\"2022-04-01T09:17:30+00:00\",\"dateModified\":\"2023-07-07T09:05:52+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/blog.integrately.com\\\/#\\\/schema\\\/person\\\/d7d4f96bf7ffb4d5c8b418138647cef9\"},\"description\":\"A guide on how to use google sheets IF-THEN formula for those who want to get started with google sheets and learn the basics.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.integrately.com\\\/google-sheets-if-then-formula#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.integrately.com\\\/google-sheets-if-then-formula\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/blog.integrately.com\\\/google-sheets-if-then-formula#primaryimage\",\"url\":\"https:\\\/\\\/blog.integrately.com\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/google-sheets-if-then-formula-thumb.png\",\"contentUrl\":\"https:\\\/\\\/blog.integrately.com\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/google-sheets-if-then-formula-thumb.png\",\"width\":610,\"height\":343},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.integrately.com\\\/google-sheets-if-then-formula#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/blog.integrately.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"App Tips\",\"item\":\"https:\\\/\\\/blog.integrately.com\\\/category\\\/app-tips\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Google Sheets IF-THEN Formula\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.integrately.com\\\/#website\",\"url\":\"https:\\\/\\\/blog.integrately.com\\\/\",\"name\":\"Integrately Blog\",\"description\":\"Integrate in 1 click\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blog.integrately.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.integrately.com\\\/#\\\/schema\\\/person\\\/d7d4f96bf7ffb4d5c8b418138647cef9\",\"name\":\"Abhishek A Agrawal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cf325a3e61528b90d7a921cf2e695892d356efd94ac5d366facdc7cb1ea7d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cf325a3e61528b90d7a921cf2e695892d356efd94ac5d366facdc7cb1ea7d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cf325a3e61528b90d7a921cf2e695892d356efd94ac5d366facdc7cb1ea7d?s=96&d=mm&r=g\",\"caption\":\"Abhishek A Agrawal\"},\"description\":\"Abhishek is the founder of Integrately, CompanyHub, and Dreamwares. He is passionate about technology and entrepreneurship. He is always looking to leverage technology for the growth of the business. He has a deep understanding of how businesses work and uses this knowledge to build products that help entrepreneurs grow their businesses.\",\"sameAs\":[\"http:\\\/\\\/localhost:9002\",\"https:\\\/\\\/www.facebook.com\\\/abhipreneur\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/abhipreneur\",\"https:\\\/\\\/x.com\\\/abhipreneur\"],\"url\":\"https:\\\/\\\/blog.integrately.com\\\/author\\\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Google Sheets IF-THEN Formula","description":"A guide on how to use google sheets IF-THEN formula for those who want to get started with google sheets and learn the basics.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.integrately.com\/google-sheets-if-then-formula","og_locale":"en_US","og_type":"article","og_title":"Google Sheets IF-THEN Formula","og_description":"A guide on how to use google sheets IF-THEN formula for those who want to get started with google sheets and learn the basics.","og_url":"https:\/\/blog.integrately.com\/google-sheets-if-then-formula","og_site_name":"Integrately Blog","article_publisher":"https:\/\/www.facebook.com\/integrately","article_author":"https:\/\/www.facebook.com\/abhipreneur","article_published_time":"2022-04-01T09:17:30+00:00","article_modified_time":"2023-07-07T09:05:52+00:00","og_image":[{"width":610,"height":343,"url":"https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-if-then-formula-thumb.png","type":"image\/png"}],"author":"Abhishek A Agrawal","twitter_card":"summary_large_image","twitter_creator":"@abhipreneur","twitter_site":"@IntegratelyApp","twitter_misc":{"Written by":"Abhishek A Agrawal","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.integrately.com\/google-sheets-if-then-formula#article","isPartOf":{"@id":"https:\/\/blog.integrately.com\/google-sheets-if-then-formula"},"author":{"name":"Abhishek A Agrawal","@id":"https:\/\/blog.integrately.com\/#\/schema\/person\/d7d4f96bf7ffb4d5c8b418138647cef9"},"headline":"Google Sheets IF-THEN Formula","datePublished":"2022-04-01T09:17:30+00:00","dateModified":"2023-07-07T09:05:52+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.integrately.com\/google-sheets-if-then-formula"},"wordCount":1241,"commentCount":0,"image":{"@id":"https:\/\/blog.integrately.com\/google-sheets-if-then-formula#primaryimage"},"thumbnailUrl":"https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-if-then-formula-thumb.png","keywords":["Google Sheets"],"articleSection":["App Tips"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.integrately.com\/google-sheets-if-then-formula#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.integrately.com\/google-sheets-if-then-formula","url":"https:\/\/blog.integrately.com\/google-sheets-if-then-formula","name":"Google Sheets IF-THEN Formula","isPartOf":{"@id":"https:\/\/blog.integrately.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.integrately.com\/google-sheets-if-then-formula#primaryimage"},"image":{"@id":"https:\/\/blog.integrately.com\/google-sheets-if-then-formula#primaryimage"},"thumbnailUrl":"https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-if-then-formula-thumb.png","datePublished":"2022-04-01T09:17:30+00:00","dateModified":"2023-07-07T09:05:52+00:00","author":{"@id":"https:\/\/blog.integrately.com\/#\/schema\/person\/d7d4f96bf7ffb4d5c8b418138647cef9"},"description":"A guide on how to use google sheets IF-THEN formula for those who want to get started with google sheets and learn the basics.","breadcrumb":{"@id":"https:\/\/blog.integrately.com\/google-sheets-if-then-formula#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.integrately.com\/google-sheets-if-then-formula"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.integrately.com\/google-sheets-if-then-formula#primaryimage","url":"https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-if-then-formula-thumb.png","contentUrl":"https:\/\/blog.integrately.com\/wp-content\/uploads\/2022\/03\/google-sheets-if-then-formula-thumb.png","width":610,"height":343},{"@type":"BreadcrumbList","@id":"https:\/\/blog.integrately.com\/google-sheets-if-then-formula#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/blog.integrately.com\/"},{"@type":"ListItem","position":2,"name":"App Tips","item":"https:\/\/blog.integrately.com\/category\/app-tips"},{"@type":"ListItem","position":3,"name":"Google Sheets IF-THEN Formula"}]},{"@type":"WebSite","@id":"https:\/\/blog.integrately.com\/#website","url":"https:\/\/blog.integrately.com\/","name":"Integrately Blog","description":"Integrate in 1 click","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.integrately.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.integrately.com\/#\/schema\/person\/d7d4f96bf7ffb4d5c8b418138647cef9","name":"Abhishek A Agrawal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/285cf325a3e61528b90d7a921cf2e695892d356efd94ac5d366facdc7cb1ea7d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/285cf325a3e61528b90d7a921cf2e695892d356efd94ac5d366facdc7cb1ea7d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/285cf325a3e61528b90d7a921cf2e695892d356efd94ac5d366facdc7cb1ea7d?s=96&d=mm&r=g","caption":"Abhishek A Agrawal"},"description":"Abhishek is the founder of Integrately, CompanyHub, and Dreamwares. He is passionate about technology and entrepreneurship. He is always looking to leverage technology for the growth of the business. He has a deep understanding of how businesses work and uses this knowledge to build products that help entrepreneurs grow their businesses.","sameAs":["http:\/\/localhost:9002","https:\/\/www.facebook.com\/abhipreneur","https:\/\/www.linkedin.com\/in\/abhipreneur","https:\/\/x.com\/abhipreneur"],"url":"https:\/\/blog.integrately.com\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/blog.integrately.com\/wp-json\/wp\/v2\/posts\/2414","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.integrately.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.integrately.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.integrately.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.integrately.com\/wp-json\/wp\/v2\/comments?post=2414"}],"version-history":[{"count":8,"href":"https:\/\/blog.integrately.com\/wp-json\/wp\/v2\/posts\/2414\/revisions"}],"predecessor-version":[{"id":14921,"href":"https:\/\/blog.integrately.com\/wp-json\/wp\/v2\/posts\/2414\/revisions\/14921"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.integrately.com\/wp-json\/wp\/v2\/media\/2424"}],"wp:attachment":[{"href":"https:\/\/blog.integrately.com\/wp-json\/wp\/v2\/media?parent=2414"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.integrately.com\/wp-json\/wp\/v2\/categories?post=2414"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.integrately.com\/wp-json\/wp\/v2\/tags?post=2414"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}