{"id":51146,"date":"2026-01-13T20:51:16","date_gmt":"2026-01-13T20:51:16","guid":{"rendered":"https:\/\/www.oracletutoring.ca\/blog\/?p=51146"},"modified":"2026-01-13T20:51:18","modified_gmt":"2026-01-13T20:51:18","slug":"spreadsheets-google-sheets-intrate-function","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/spreadsheets-google-sheets-intrate-function\/","title":{"rendered":"Spreadsheets: Google Sheets: intrate function"},"content":{"rendered":"\n<h2>Self-tutoring about spreadsheet functions: the tutor mentions intrate() in Google Sheets.<\/h2>\n<p>\nThe following is according to my understanding.<\/p>\n<p>\nThe function intrate() calculates the effective interest rate for a buy-then-sell event. Its entry format is =intrate(date1,date2,value1,value2,[optional: day_count_convention]). The idea is that if property is purchased at value1 on date1, then sold for value2 on date2, an equivalent interest rate is implied.<\/p>\n<p>\nIn my experience, =intrate(&#8220;01\/13\/2026&#8243;,&#8221;06\/01\/2026&#8221;,100,130,1) gives the result 0.7878, rounded to 4 decimal places. One can see this makes sense, since the profit is 30% but over a duration less than half a year.<?p>\n<p>Note that 1, the fifth parameter in brackets, means the time between date1 and date2, in years, will be calculated as (actual days held)\/(actual days in the year): it&#8217;s the day count convention. While one might expect (actual\/actual) to be the normal choice, it isn&#8217;t necessarily so.<\/p>\n<p>In connection with the dates themselves, as I mention in <a href=\"https:\/\/www.oracletutoring.ca\/blog\/spreadsheets-google-sheets-date-format-part-1\/\">my post from Dec 18, 2025,<\/a> Google Sheets seems to use mm\/dd\/yyyy in North America. Since I&#8217;m in Canada, &#8220;06\/01\/2026&#8221; means June 1, 2026.<\/p>\n<p>\nI hope to mention more about the day count convention as well as other Google Sheets functions in future posts.<\/p>\n<p>\nSource:<\/p>\n<p><a href=\"https:\/\/support.google.com\/docs\/answer\/3093174?hl=en\">support.google.com<\/a><\/p>\nJack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.\n","protected":false},"excerpt":{"rendered":"<p>Self-tutoring about spreadsheet functions: the tutor mentions intrate() in Google Sheets. The following is according to my understanding. The function intrate() calculates the effective interest rate for a buy-then-sell event. Its entry format is =intrate(date1,date2,value1,value2,[optional: day_count_convention]). The idea is that &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/spreadsheets-google-sheets-intrate-function\/\"> <span class=\"screen-reader-text\">Spreadsheets: Google Sheets: intrate function<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1065],"tags":[3956,3955,529,3934],"class_list":["post-51146","post","type-post","status-publish","format-standard","hentry","category-spreadsheets","tag-date-format","tag-day-count-convention","tag-effective-interest-rate","tag-google-sheets"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/51146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=51146"}],"version-history":[{"count":11,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/51146\/revisions"}],"predecessor-version":[{"id":51157,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/51146\/revisions\/51157"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=51146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=51146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=51146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}