{"id":1020,"date":"2017-03-03T05:28:01","date_gmt":"2017-03-02T23:28:01","guid":{"rendered":"http:\/\/xlfxs.com\/?p=1020"},"modified":"2017-03-03T05:28:01","modified_gmt":"2017-03-02T23:28:01","slug":"count-how-many-times-letter-found","status":"publish","type":"post","link":"https:\/\/xlfxs.com\/?p=1020","title":{"rendered":"Count how many times letter found"},"content":{"rendered":"<p>Found this in an old file while doing some digital cleaning<\/p>\n<p>This will show you how you can easily count how many times a letter (or any string) into a cell.<br \/>\nSo the main formula doing that is &#8230;<\/p>\n<pre>=LEN(I12)-LEN(SUBSTITUTE(I12,\"o\",\"\"))<\/pre>\n<p>Of course, this assumes you are looking to find how many the letter &#8220;O&#8221; is found. one letter<\/p>\n<p>&nbsp;<\/p>\n<p>If you are looking to count how many times a word (more than 1 letter) you need to adjust that<\/p>\n<pre>=LEN(I12)-(LEN(SUBSTITUTE(I12,\"om\",\"\")\/2))<\/pre>\n<p>Too count for &#8220;OM&#8221;, notice that the 2 at end is the number of characters you are looking to count for<\/p>\n<p>You may sure adjust that to cover more options, or dynamic, the idea is as below&#8230;<\/p>\n<p>We count the length of the string, then we subtract it from the length of it after we replace all strings found<\/p>\n<p>&nbsp;<\/p>\n<p>Does that make sense?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Found this in an old file while doing some digital cleaning This will show you how you can easily count how many times a letter (or any string) into a cell. So the main formula doing that is &#8230; =LEN(I12)-LEN(SUBSTITUTE(I12,&#8221;o&#8221;,&#8221;&#8221;)) Of course, this assumes you are looking to find how many the letter &#8220;O&#8221; is&#8230;<\/p>\n<p class=\"more-link-wrap\"><a href=\"https:\/\/xlfxs.com\/?p=1020\" class=\"more-link\">Read More<span class=\"screen-reader-text\"> &ldquo;Count how many times letter found&rdquo;<\/span> &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":1021,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,34,6,55,8],"tags":[],"class_list":["post-1020","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-formulas","category-len","category-standard_functions","category-substitute","category-texts-and-strings"],"_links":{"self":[{"href":"https:\/\/xlfxs.com\/index.php?rest_route=\/wp\/v2\/posts\/1020","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xlfxs.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xlfxs.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xlfxs.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xlfxs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1020"}],"version-history":[{"count":0,"href":"https:\/\/xlfxs.com\/index.php?rest_route=\/wp\/v2\/posts\/1020\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xlfxs.com\/index.php?rest_route=\/wp\/v2\/media\/1021"}],"wp:attachment":[{"href":"https:\/\/xlfxs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1020"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xlfxs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1020"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xlfxs.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1020"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}