{"id":42197,"date":"2023-04-18T15:17:20","date_gmt":"2023-04-18T13:17:20","guid":{"rendered":"https:\/\/blog.sheetgo.com\/?p=42197"},"modified":"2026-11-11T15:36:16","modified_gmt":"2026-11-11T14:36:16","slug":"o-chatgpt-e-as-planilhas-geram-formulas-que-sao-coisa-do-passado","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/pt\/blog\/spreadsheets-tips\/chatgpt-and-spreadsheets-is-generating-formulas-a-thing-of-the-past\/","title":{"rendered":"ChatGPT e planilhas: a gera\u00e7\u00e3o de f\u00f3rmulas \u00e9 coisa do passado?"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.20.2&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;0px||||false|false&#8221; custom_padding=&#8221;20px||||false|false&#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.20.2&#8243; _module_preset=&#8221;default&#8221; width_tablet=&#8221;&#8221; width_phone=&#8221;90%&#8221; width_last_edited=&#8221;on|phone&#8221; custom_margin=&#8221;0px||||false|false&#8221; global_colors_info=&#8221;{}&#8221; width__hover_enabled=&#8221;on|desktop&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.20.2&#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.20.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><a href=\"https:\/\/chat.openai.com\/\" target=\"_blank\" rel=\"noopener\">ChatGPT<\/a> has taken the world by storm and has become the fastest-growing web platform of all time. Within two months, this AI-powered chatbot developed by <a href=\"https:\/\/openai.com\/\" target=\"_blank\" rel=\"noopener\">OpenAI<\/a> reached 100 million users all over the world.<\/p>\n<p>Hundreds of millions of users are using ChatGPT to write essays, translate texts, solve math problems and even write code.\u00a0<\/p>\n<p>Since everybody is jumping on the ChatGPT bandwagon, we\u2019ve decided to test this artificial-intelligence tool to understand if it can help us manipulate data and create formulas in <a href=\"https:\/\/www.google.com\/sheets\/about\/\" target=\"_blank\" rel=\"noopener\">Google Sheets<\/a>.<\/p>\n<p>Can ChatGPT help spreadsheet users create formulas effortlessly?<\/p>\n<p>Read on and find out how ChatGPT can assist spreadsheet users with their daily tasks.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;how-good-is-chatgpt&#8221; _builder_version=&#8221;4.20.2&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;50px||||false|false&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>How good is ChatGPT at creating Google Sheet formulas?<\/h3>\n<p>In order to answer this question, we decided to ask ChatGTP \u201chow good is ChatGTP at generating Google Sheet formulas?\u201d. Here&#8217;s the answer:<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2023\/04\/ChatGPT-1.png&#8221; title_text=&#8221;ChatGPT-1&#8243; _builder_version=&#8221;4.20.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;70%&#8221; width_tablet=&#8221;65%&#8221; width_phone=&#8221;65%&#8221; width_last_edited=&#8221;on|phone&#8221; module_alignment=&#8221;center&#8221; custom_margin=&#8221;||30px||false|false&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.20.2&#8243; _module_preset=&#8221;default&#8221; text_font=&#8221;|300|||||||&#8221; text_text_color=&#8221;#071623&#8243; background_color=&#8221;#F6F8F9&#8243; width_tablet=&#8221;&#8221; width_phone=&#8221;100%&#8221; width_last_edited=&#8221;on|phone&#8221; custom_margin_tablet=&#8221;&#8221; custom_margin_phone=&#8221;|5px||5px|false|true&#8221; custom_margin_last_edited=&#8221;on|phone&#8221; custom_padding=&#8221;20px|20px|20px|20px|true|true&#8221; custom_padding_tablet=&#8221;20px|20px|20px|20px|true|true&#8221; custom_padding_phone=&#8221;|10px||10px|true|true&#8221; custom_padding_last_edited=&#8221;on|phone&#8221; border_radii=&#8221;on|12px|12px|12px|12px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><i><span style=\"font-weight: 400;\">ChatGPT can generate Google Sheet formulas to a certain extent, but its ability to generate accurate and complex formulas may be limited.<\/span><\/i><\/p>\n<p><i><span style=\"font-weight: 400;\">As a language model, ChatGPT has been trained on a large corpus of text, but it has not been specifically trained to generate Google Sheet formulas. Therefore, its ability to generate formulas will largely depend on the quality and quantity of formula-related data it has been exposed to.<\/span><\/i><\/p>\n<p><i><span style=\"font-weight: 400;\">That being said, ChatGPT may be able to generate simple formulas such as basic arithmetic operations, SUM, AVERAGE, MAX, MIN, and other common functions. However, it may struggle with more complex formulas that require advanced functions, nested formulas, or conditional statements.<\/span><\/i><\/p>\n<p><i><span style=\"font-weight: 400;\">In summary, while ChatGPT may be able to generate simple Google Sheet formulas, it may not be the best tool for generating complex or highly specialized formulas. It is always recommended to verify any formula generated by ChatGPT with a spreadsheet expert or reference materials to ensure its accuracy.<\/span><\/i><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.20.2&#8243; _module_preset=&#8221;default&#8221; text_font=&#8221;|300|||||||&#8221; text_text_color=&#8221;#3B4344&#8243; background_color=&#8221;RGBA(255,255,255,0)&#8221; custom_padding=&#8221;0px|0px|0px|0px|true|true&#8221; border_radii=&#8221;on|12px|12px|12px|12px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span style=\"font-weight: 400;\">It seems that ChatGPT can create simple formulas but it may struggle to generate more complex formulas. However, we&#8217;re not going to take ChatGPT&#8217;s word for it.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Let&#8217;s put ChatGPT to the test and find out how well it can generate formulas in Google Sheets.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;first-challenge&#8221; _builder_version=&#8221;4.20.2&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;50px||||false|false&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>First challenge: creating an array formula with an if function<\/h3>\n<p><i>Generate a formula that calculates the difference between a date in column B and today in days, unless column D is filled, in which case it should calculate the difference between the date in column B and the date in column D. Use it inside an ARRAYFORMULA().<\/i><\/p>\n<p>Here&#8217;s ChatGPT&#8217;s answer:<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2023\/04\/ChatGPT-2.png&#8221; title_text=&#8221;ChatGPT-2&#8243; _builder_version=&#8221;4.20.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;70%&#8221; width_tablet=&#8221;65%&#8221; width_phone=&#8221;65%&#8221; width_last_edited=&#8221;on|phone&#8221; module_alignment=&#8221;center&#8221; custom_margin=&#8221;30px||30px||true|false&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.20.2&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;#F6F8F9&#8243; custom_margin=&#8221;0px|0px|0px|0px|true|true&#8221; custom_padding=&#8221;20px|20px|10px|20px|false|true&#8221; border_radii=&#8221;off|12px|12px||&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><i>Here&#8217;s the formula that calculates the difference between a date in column B and today&#8217;s date in days, unless column D is filled, in which case it calculates the difference between the date in column B and the date in column D. The formula is enclosed in an ARRAYFORMULA to apply it to the entire column:<\/i><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.20.2&#8243; _module_preset=&#8221;default&#8221; text_font=&#8221;|300|||||||&#8221; text_text_color=&#8221;#F6F8F9&#8243; text_font_size=&#8221;18px&#8221; background_color=&#8221;#838C93&#8243; custom_margin=&#8221;0px||0px||true|false&#8221; custom_padding=&#8221;10px|20px|10px|20px|true|true&#8221; border_width_all=&#8221;8px&#8221; border_color_all=&#8221;#F6F8F9&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><i>=ArrayFormula(IF(D:D&lt;&gt;&#8221;&#8221;,DATEDIF(D:D,B:B,&#8221;D&#8221;),DATEDIF(TODAY(),B:B,&#8221;D&#8221;)))<\/i><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.20.2&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;#F6F8F9&#8243; custom_margin=&#8221;0px||20px|0px|false|false&#8221; custom_padding=&#8221;10px|20px|20px|20px|false|true&#8221; border_radii=&#8221;off||2px|12px|12px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><i>The formula starts with an IF statement that checks if column D is filled. If it is, the formula uses the DATEDIF function to calculate the difference in days between the dates in columns D and B. If column D is empty, the formula calculates the difference between today&#8217;s date and the date in column B using the DATEDIF function.<\/i><\/p>\n<p><i>The DATEDIF function calculates the difference between two dates in days, months, or years. In this case, we use &#8220;D&#8221; as the third argument to calculate the difference in days.<\/i><\/p>\n<p><i>The ArrayFormula function allows the formula to be applied to the entire column B, so it calculates the difference for each row in the column.<\/i><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.20.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>Although ChatGPT managed to generate a formula from the prompt, the result wasn&#8217;t correct. As you can see, when we apply the formula, it returns an error.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2023\/04\/ChatGPT-4.png&#8221; title_text=&#8221;ChatGPT-4&#8243; _builder_version=&#8221;4.20.2&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;||50px||false|false&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text module_id=&#8221;second-challenge&#8221; _builder_version=&#8221;4.20.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>Second challenge: using an array formula with sum<\/h3>\n<p><i>Generate a formula that calculates the difference between a date in column B and today in days. Use it inside an ARRAYFORMULA().<\/i><\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2023\/04\/ChatGPT-3.png&#8221; title_text=&#8221;ChatGPT-3&#8243; align=&#8221;center&#8221; _builder_version=&#8221;4.20.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;70%&#8221; width_tablet=&#8221;65%&#8221; width_phone=&#8221;65%&#8221; width_last_edited=&#8221;on|tablet&#8221; custom_margin=&#8221;30px||30px||true|false&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.20.2&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;#F6F8F9&#8243; width_tablet=&#8221;&#8221; width_phone=&#8221;&#8221; width_last_edited=&#8221;on|phone&#8221; custom_margin=&#8221;||0px||false|false&#8221; custom_padding=&#8221;20px|20px||20px|false|true&#8221; border_radii=&#8221;off|12px|12px||&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><i>Here&#8217;s the formula that calculates the difference between a date in column B and today&#8217;s date in days. The formula is enclosed in an ARRAYFORMULA to apply it to the entire column:<\/i><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.20.2&#8243; _module_preset=&#8221;default&#8221; text_text_color=&#8221;#F6F8F9&#8243; background_color=&#8221;#838C93&#8243; custom_margin=&#8221;0px|0px|0px|0px|true|true&#8221; custom_padding=&#8221;10px|20px|10px|20px|true|true&#8221; border_width_all=&#8221;8px&#8221; border_color_all=&#8221;#F6F8F9&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><i>=ArrayFormula(DATEDIF(B:B,TODAY(),&#8221;D&#8221;))<\/i><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.20.2&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;#F6F8F9&#8243; custom_margin=&#8221;||20px||false|false&#8221; custom_padding=&#8221;|20px|20px|20px|false|true&#8221; border_radii=&#8221;off|||12px|12px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><i>The <strong>DATEDIF<\/strong> function calculates the difference between two dates in days, months, or years. In this case, we use &#8220;D&#8221; as the third argument to calculate the difference in days between the dates in column B and today&#8217;s date.<\/i><\/p>\n<p><i>The <strong>ArrayFormula<\/strong> function allows the formula to be applied to the entire column B, so it calculates the difference for each row in the column.<\/i><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.20.2&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;RGBA(255,255,255,0)&#8221; custom_padding=&#8221;|0px||0px|false|true&#8221; border_radii=&#8221;on|12px|12px|12px|12px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>Now ChatGPT has created the right formula to calculate the difference between a date in a column and today&#8217;s date.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2023\/04\/ChatGPT-5.png&#8221; title_text=&#8221;ChatGPT-5&#8243; _builder_version=&#8221;4.20.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text module_id=&#8221;conclusion&#8221; _builder_version=&#8221;4.20.2&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;50px||||false|false&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>Conclusion<\/h3>\n<p>Apparently, ChatGPT&#8217;s answer to the question &#8220;how good is ChatGTP at generating Google Sheet formulas?\u201d has summed it all up in a few words.<\/p>\n<p><i>In summary, while ChatGPT may be able to generate simple Google Sheet formulas, it may not be the best tool for generating complex or highly specialized formulas.<\/i><\/p>\n<p>If you don&#8217;t know how to create simple formulas in Google Sheets, ChatGPT can come in handy. Not only does it generate basic formulas, but it also gives us a brief explanation of how it works.<\/p>\n<p>However, if you need to create more advanced formulas, you may have to wait a little longer. Although ChatGPT has evolved very fast, it is still not ready to alleviate the workload of spreadsheet users who need to generate complex formulas in Google Sheets.<\/p>\n<p>It&#8217;s hard to know what the future holds for artificial intelligence. Things are changing, and they are changing very fast. <a href=\"https:\/\/edition.cnn.com\/2023\/03\/16\/tech\/openai-gpt-microsoft-365\/index.html\" target=\"_blank\" rel=\"noopener\">Microsoft has recently announced that it is bringing ChatGPT technology to Word, Excel and Outlook<\/a>.<\/p>\n<p>At this pace, spreadsheet formulas may soon become a thing of the past.<\/p>\n<p>If you want to leverage the power of AI, check out these <a href=\"https:\/\/www.sheetgo.com\/blog\/spreadsheets-tips\/awesome-chatgpt-prompts-for-spreadsheet-users\/\" target=\"_blank\" rel=\"noopener\">awesome ChatGPT prompts for spreadsheet users<\/a>.<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.20.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>If you\u2019re struggling with formulas in your spreadsheets, we have a team of specialists that can help you. <\/p>\n<p>[\/et_pb_text][et_pb_button button_url=&#8221;https:\/\/www.sheetgo.com\/contact-sales\/?product=workflows&#8221; url_new_window=&#8221;on&#8221; button_text=&#8221;Talk to us&#8221; button_alignment=&#8221;center&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; custom_button=&#8221;on&#8221; button_text_size=&#8221;16px&#8221; button_bg_color=&#8221;#2979ff&#8221; button_border_width=&#8221;1px&#8221; button_border_radius=&#8221;6px&#8221; button_font=&#8221;|700||on|||||&#8221; button_use_icon=&#8221;off&#8221; background_layout=&#8221;dark&#8221; custom_padding=&#8221;15px|20px|15px|20px|true|true&#8221; hover_enabled=&#8221;0&#8243; saved_tabs=&#8221;all&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;][\/et_pb_button][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ChatGPT has taken the world by storm and has become the fastest-growing web platform of all time. Within two months, this AI-powered chatbot developed by OpenAI reached 100 million users all over the world. Hundreds of millions of users are using ChatGPT to write essays, translate texts, solve math problems and even write code.\u00a0 Since [&hellip;]<\/p>\n","protected":false},"author":42,"featured_media":42173,"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":[29],"tags":[],"class_list":["post-42197","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-spreadsheets-tips"],"acf":[],"permalink_manager":null,"_links":{"self":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts\/42197","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\/42"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/comments?post=42197"}],"version-history":[{"count":1,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts\/42197\/revisions"}],"predecessor-version":[{"id":266758,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts\/42197\/revisions\/266758"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/media\/42173"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/media?parent=42197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/categories?post=42197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/tags?post=42197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}