{"id":1042,"date":"2025-08-26T18:00:00","date_gmt":"2025-08-26T16:00:00","guid":{"rendered":"https:\/\/jebtec.de\/blog\/?p=1042"},"modified":"2025-08-26T12:24:32","modified_gmt":"2025-08-26T10:24:32","slug":"monat-als-text-nicht-als-zahl","status":"publish","type":"post","link":"http:\/\/jebtec.de\/blog\/2025\/08\/26\/monat-als-text-nicht-als-zahl\/","title":{"rendered":"Monat als Text &#8211; nicht als Zahl !"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Wer mit Excel arbeitet, kennt das Problem: Man hat eine Liste mit Monatswerten oder als Datum und m\u00f6chte f\u00fcr eine bessere Lesbarkeit in den Auswertungen (Diagramme, Reports, Dashboards, etc.) den Monat nicht als Zahl, sondern in ausgeschriebener Form haben. Wie geht das? Das zeigt dieser Blogbeitrag.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In der Zelle B4 steht ein Datum, welches umgewandelt werden soll.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"149\" height=\"93\" src=\"http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2025\/08\/Monats_als_Text_1.jpg\" alt=\"Datum als Text\" class=\"wp-image-1044\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Mit der Funktion <strong>monat()<\/strong> errreicht man die Umwandlung lediglich als Zahl. Jetzt kann man sich eine weitere Zuordnungstabelle erstellen und jeder Zahl den Monat als Text zuordnen. Anschlie\u00dfend wird diese Tabelle mittels <strong>sverweis()<\/strong> abgefragt. Geht auch. Die Erstellung dauert aber ein wenig und kann fehleranf\u00e4llig sein.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Einfacher ist die L\u00f6sung mit der Funktion <strong>text()<\/strong>, dargestellt in Spalte D.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"394\" height=\"120\" src=\"http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2025\/08\/Monats_als_Text_2.jpg\" alt=\"Datum als Text mit Formeln\" class=\"wp-image-1045\" srcset=\"http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2025\/08\/Monats_als_Text_2.jpg 394w, http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2025\/08\/Monats_als_Text_2-300x91.jpg 300w\" sizes=\"auto, (max-width: 394px) 100vw, 394px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Dabei wird bei der Angabe &#8222;<strong>MMM<\/strong>&#8220; der Monat als Kurzform und bei &#8222;<strong>MMMM<\/strong>&#8220; vollst\u00e4ndig ausgeschrieben, wie im obigen Beispiel.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Zur Erweiterung um das Jahr wird der Monat mit <strong>&#8222;JJJJ&#8220;<\/strong> erweitert. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"537\" height=\"113\" src=\"http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2025\/08\/Monats_als_Text_3.jpg\" alt=\"Datum als Text mit Formeln und Jahr\" class=\"wp-image-1046\" srcset=\"http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2025\/08\/Monats_als_Text_3.jpg 537w, http:\/\/jebtec.de\/blog\/wp-content\/uploads\/2025\/08\/Monats_als_Text_3-300x63.jpg 300w\" sizes=\"auto, (max-width: 537px) 100vw, 537px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Auch gilt &#8222;<strong>JJ<\/strong>&#8220; schreibt das Jahr mit 2 Ziffern, die Angabe &#8222;<strong>JJJJ<\/strong>&#8220; als komplettes Jahr mit 4 Ziffern.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wer mit Excel arbeitet, kennt das Problem: Man hat eine Liste mit Monatswerten oder als Datum und m\u00f6chte f\u00fcr eine bessere Lesbarkeit in den Auswertungen &#8230;<\/p>\n","protected":false},"author":2,"featured_media":1045,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[128,127,125,129,106,126],"class_list":["post-1042","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kurzerklaert","tag-jjjj","tag-mmmm","tag-funktion-text","tag-monat-als-text","tag-monat","tag-text"],"_links":{"self":[{"href":"http:\/\/jebtec.de\/blog\/wp-json\/wp\/v2\/posts\/1042","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/jebtec.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/jebtec.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/jebtec.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/jebtec.de\/blog\/wp-json\/wp\/v2\/comments?post=1042"}],"version-history":[{"count":1,"href":"http:\/\/jebtec.de\/blog\/wp-json\/wp\/v2\/posts\/1042\/revisions"}],"predecessor-version":[{"id":1047,"href":"http:\/\/jebtec.de\/blog\/wp-json\/wp\/v2\/posts\/1042\/revisions\/1047"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/jebtec.de\/blog\/wp-json\/wp\/v2\/media\/1045"}],"wp:attachment":[{"href":"http:\/\/jebtec.de\/blog\/wp-json\/wp\/v2\/media?parent=1042"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/jebtec.de\/blog\/wp-json\/wp\/v2\/categories?post=1042"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/jebtec.de\/blog\/wp-json\/wp\/v2\/tags?post=1042"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}