{"id":873,"date":"2019-04-22T13:55:56","date_gmt":"2019-04-22T10:55:56","guid":{"rendered":"https:\/\/www.test4u.eu\/excelpedia\/?p=873"},"modified":"2019-04-22T13:56:00","modified_gmt":"2019-04-22T10:56:00","slug":"the-rept-function","status":"publish","type":"post","link":"https:\/\/www.test4u.eu\/excelpedia\/the-rept-function\/","title":{"rendered":"The REPT Function"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">It repeats a specific text a given number of times.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The syntax of the function is the following: <\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-style-large is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>REPT<\/strong><em>(<strong>text<\/strong><span><b>, number_times<\/b><\/span><\/em>) <\/p><cite><span><b><strong>text<\/strong><\/b><\/span><strong>: <\/strong>The text you want to repeat.<br><strong>number_times<\/strong>: The number of times you want to repeat the <strong>text<\/strong>.  <br><\/cite><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">If <strong>number_times <\/strong>is 0 it returns an empty string (&#8220;&#8221;)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Its result cannot be longer than 32,767 characters. If it is longer it will return a #VALUE! error.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Click on the button to practice using this function, with the help of our <strong>Online Assessment Tool<\/strong>:<\/p>\n\n\n<p class=\"button-practice-container\" ><a class=\"button button-primary button-practice\" style=\"height:auto\"  href=\"https:\/\/www.test4u.eu\/excelpedia\/wp-content\/plugins\/unlimited-integration\/run.php?id=TGhMMTQ4UTVXU3RydHJhdWVKdkcrbDFvbDlSMDMybFlkdHZZYThiWDlFL2g3SXdobWpPTzhHRkR2UElxbHBNUA==&b=ZWZ1QXc0dG1TcDJ3dCtRK01PUXBmTnFzNzV3Zm1GaU13Zk9ieUR0TU9laE95RDZGaVNwY0RiNFl1aHJMR0ZGTElScDV6SFlVYzBabTZwcWxNK1QxWXNoRzcrdVhaWGtjSmZjL3Y4Z0RvQXc9\">Practice<\/a><\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Here is an example of how to use the REPT function:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the cell range C2:C7 repeat the character * as many times as the rating of the corresponding movie indicates. <\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Use the REPT function to repeat a character a specific number of times (good for ratings)\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/PpDrpC3XGUs?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>It repeats a specific text a given number of times.<\/p>\n","protected":false},"author":2,"featured_media":874,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[106,94],"class_list":["post-873","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-functions","tag-rept","tag-text-functions"],"_links":{"self":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts\/873","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/comments?post=873"}],"version-history":[{"count":0,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts\/873\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/media\/874"}],"wp:attachment":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/media?parent=873"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/categories?post=873"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/tags?post=873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}