{"id":10084,"date":"2017-05-28T12:04:37","date_gmt":"2017-05-28T10:04:37","guid":{"rendered":"https:\/\/daniel.haxx.se\/blog\/?p=10084"},"modified":"2017-05-28T12:04:38","modified_gmt":"2017-05-28T10:04:38","slug":"number-of-semicolon-separated-words-in-libreoffice-calc","status":"publish","type":"post","link":"https:\/\/daniel.haxx.se\/blog\/2017\/05\/28\/number-of-semicolon-separated-words-in-libreoffice-calc\/","title":{"rendered":"Number of semicolon separated words in libreoffice calc"},"content":{"rendered":"<pre>=LEN(TRIM(A1))-LEN(SUBSTITUTE(TRIM(A1),\";\",\"\"))+1<\/pre>\n<p>The length of the entire A1 field (white space trimmed) minus the length of the A1 field with all the semicolons removed, plus one.<\/p>\n<p>A string in A1 that looks like &#8220;A;B;C&#8221; will give the number 3.<\/p>\n<p>I had to figure this out and I thought I&#8217;d store it here for later retrieval. Maybe someone else will enjoy it as well. The same formula works in Excel too I think.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>=LEN(TRIM(A1))-LEN(SUBSTITUTE(TRIM(A1),&#8221;;&#8221;,&#8221;&#8221;))+1 The length of the entire A1 field (white space trimmed) minus the length of the A1 field with all the semicolons removed, plus one. A string in A1 that looks like &#8220;A;B;C&#8221; will give the number 3. I had to figure this out and I thought I&#8217;d store it here for later retrieval. Maybe &hellip; <a href=\"https:\/\/daniel.haxx.se\/blog\/2017\/05\/28\/number-of-semicolon-separated-words-in-libreoffice-calc\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Number of semicolon separated words in libreoffice calc<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[464],"class_list":["post-10084","post","type-post","status-publish","format-standard","hentry","category-floss","tag-libreoffice"],"_links":{"self":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/10084","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/comments?post=10084"}],"version-history":[{"count":2,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/10084\/revisions"}],"predecessor-version":[{"id":10086,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/10084\/revisions\/10086"}],"wp:attachment":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/media?parent=10084"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/categories?post=10084"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/tags?post=10084"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}