{"id":8668,"date":"2018-06-15T16:00:09","date_gmt":"2018-06-15T14:00:09","guid":{"rendered":"https:\/\/blog.sheetgo.com\/?p=8668"},"modified":"2018-06-15T16:00:09","modified_gmt":"2018-06-15T14:00:09","slug":"formula-de-tempo-no-google-sheets","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/pt\/blog\/google-sheets-formulas\/time-formula-in-google-sheets\/","title":{"rendered":"Como usar a f\u00f3rmula TIME no Planilhas Google"},"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\/3093056\" target=\"_blank\" rel=\"noopener noreferrer\">TIME<\/a><span>\u00a0<\/span>formula in Google Sheets accepts a given time through the hour, minute, and second component values, and returns a time type value.<\/p>\n<h3>Syntax<\/h3>\n<p><strong>TIME(hour, minute, second)<\/strong><\/p>\n<p>The<span>\u00a0<\/span><strong>hour<\/strong>,<span>\u00a0<\/span><strong>minute<\/strong><span>\u00a0<\/span>and<span>\u00a0<\/span><strong>second<\/strong><span>\u00a0<\/span>are self-explanatory parameters that accept corresponding components of a time. These can be direct numeric values or references to cells that have corresponding numeric values. Also, the respective parameter inputs can be outputs that the formulas such as<span>\u00a0<\/span><a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/hour-formula-in-google-sheets\/\" target=\"_blank\" rel=\"noopener noreferrer\">HOUR<\/a>,<span>\u00a0<\/span><a href=\"https:\/\/support.google.com\/docs\/answer\/3093048\" target=\"_blank\" rel=\"noopener noreferrer\">MINUTE<\/a><span>\u00a0<\/span>and<span>\u00a0<\/span><a href=\"https:\/\/support.google.com\/docs\/answer\/3093054\" target=\"_blank\" rel=\"noopener noreferrer\">SECOND<\/a>\u00a0returns.<\/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: TIME formula in Google Sheets<\/h3>\n<p>Using this formula is a pretty straightforward process. Let us understand the formula using a few examples.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/11\/TIME-formula-in-Google-Sheets-1.png&#8221; alt=&#8221;TIME formula in Google Sheets 1&#8243; title_text=&#8221;TIME 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>Please notice that all the outputs are \u2018time\u2019 formatted, except the third, which \u2018number\u2019 formatted. This is done deliberately, just to illustrate that a time is a number after all. You may recall that a date is a natural number. However, the time is a decimal number.<\/p>\n<p>The first example accepts\u00a0direct numbers and returns a corresponding time value.\u00a0The parameters for the second and third examples are references to cells that contain hour, minute and second values. Accordingly, we get the output times.<\/p>\n<p>The final example shows that the TIME formula in Google Sheets can also accept other appropriate formulas for its parameters. And, it returns yet another time as expected.<\/p>\n<h4>Note<\/h4>\n<p>What happens if we try and input a value that is not valid in reality? Please have a look at the following image.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/11\/TIME-formula-in-Google-Sheets-2.png&#8221; alt=&#8221;TIME formula in Google Sheets 2&#8243; title_text=&#8221;TIME 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>In each of these examples, you will notice we have tried to input invalid hour, minute and second values respectively. Yet, we don\u2019t see any errors in the output values. That is because the TIME formula is capable of appropriately offsetting the excess values from the hour, minute or second parameters.<\/p>\n<p>For instance, in the first example, 26 hours correspond to 1 day + 2 hours, wherein it disregards the day component and considers only 2 hours for its<span>\u00a0<\/span><strong>hour<\/strong>component.\u00a0Similarly, 81 minutes in the second example is equivalent to 1 hour + 21 minutes. So, it adds the extra 1 hour is to the<span>\u00a0<\/span><strong>hour<\/strong><span>\u00a0<\/span>component and considers 21 minutes for the<span>\u00a0<\/span><strong>minute<\/strong><span>\u00a0<\/span>component. On the similar lines, 115 seconds in the third example is equal to 1 minute + 55 seconds. Accordingly, the TIME formula increments the\u00a0<strong>minute<\/strong><span>\u00a0<\/span>component by 1 minute, while it picks up 55 seconds for the\u00a0<strong>second<\/strong><span>\u00a0<\/span>component.<\/p>\n<p>[\/et_pb_text][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>TIME formula<\/h3>\n<p>And there you go! Use the TIME formula in Google Sheets to return a time type value.<\/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<a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-features\/location-and-timezone-affect-your-google-sheets\/\" target=\"_blank\" rel=\"noopener\"> <span>How location and timezone can affect your Google Sheets.<\/span><\/a><\/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\u00a0TIME\u00a0formula in Google Sheets accepts a given time through the hour, minute, and second component values, and returns a time type value. Syntax TIME(hour, minute, second) The\u00a0hour,\u00a0minute\u00a0and\u00a0second\u00a0are self-explanatory parameters that accept corresponding components of a time. These can be direct numeric values or references to cells that have corresponding numeric values. Also, the respective parameter [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":8669,"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\/3093056\" target=\"_blank\" rel=\"noopener\">TIME<\/a> formula in Google Sheets accepts a given time through the hour, minute, and second component values, and returns a time type value.\n<h3>Syntax<\/h3>\n<strong>TIME(hour, minute, second)<\/strong>\n\nThe <strong>hour<\/strong>, <strong>minute<\/strong> and <strong>second<\/strong> are self-explanatory parameters that accept corresponding components of a time. These can be direct numeric values or references to cells that have corresponding numeric values. Also, the respective parameter inputs can be outputs that the formulas such as <a href=\"https:\/\/support.google.com\/docs\/answer\/3093045\" target=\"_blank\" rel=\"noopener\">HOUR<\/a>, <a href=\"https:\/\/support.google.com\/docs\/answer\/3093048\" target=\"_blank\" rel=\"noopener\">MINUTE<\/a> and <a href=\"https:\/\/support.google.com\/docs\/answer\/3093054\" target=\"_blank\" rel=\"noopener\">SECOND<\/a>\u00a0returns.\n<h3>Usage: TIME formula in Google Sheets<\/h3>\nUsing this formula is a pretty straightforward process. Let us understand the formula using a few examples.\n\n<img class=\"aligncenter size-full wp-image-8697\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2018\/06\/TIME-formula-Illustration-Frame-1.png\" alt=\"TIME formula in Google Sheets\" width=\"814\" height=\"513\" \/>\n\nPlease notice that all the outputs are \u2018time\u2019 formatted, except the third, which \u2018number\u2019 formatted. This is done deliberately, just to illustrate that a time is a number after all. You may recall that a date is a natural number. However, the time is a decimal number.\n\nThe first example accepts\u00a0direct numbers and returns a corresponding time value.\u00a0The parameters for the second and third examples are references to cells that contain hour, minute and second values. Accordingly, we get the output times.\n\nThe final example shows that the TIME formula in Google Sheets can also accept other appropriate formulas for its parameters. And, it returns yet another time as expected.\n<h4>Note<\/h4>\nWhat happens if we try and input a value that is not valid in reality? Please have a look at the following image.\n\n<img class=\"aligncenter size-full wp-image-8699\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2018\/06\/TIME-formula-Illustration-Frame-2.png\" alt=\"TIME formula in Google Sheets\" width=\"814\" height=\"513\" \/>\n\nIn each of these examples, you will notice we have tried to input invalid hour, minute and second values respectively. Yet, we don't see any errors in the output values. That is because the TIME formula is capable of appropriately offsetting the excess values from the hour, minute or second parameters.\n\nFor instance, in the first example, 26 hours correspond to 1 day + 2 hours, wherein it disregards the day component and considers only 2 hours for its <strong>hour<\/strong> component.\u00a0Similarly, 81 minutes in the second example is equivalent to 1 hour + 21 minutes. So, it adds the extra 1 hour is to the <strong>hour<\/strong> component and considers 21 minutes for the <strong>minute<\/strong> component. On the similar lines, 115 seconds in the third example is equal to 1 minute + 55 seconds. Accordingly, the TIME formula increments the\u00a0<strong>minute<\/strong> component by 1 minute, while it picks up 55 seconds for the\u00a0<strong>second<\/strong> component.","_et_gb_content_width":"","footnotes":""},"categories":[54],"tags":[39,28],"class_list":["post-8668","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\/pt\/wp-json\/wp\/v2\/posts\/8668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/comments?post=8668"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts\/8668\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/media\/8669"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/media?parent=8668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/categories?post=8668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/tags?post=8668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}