{"id":3676,"date":"2015-12-17T19:48:04","date_gmt":"2015-12-17T17:48:04","guid":{"rendered":"http:\/\/www.ramses.de\/?p=3676"},"modified":"2015-12-18T07:17:54","modified_gmt":"2015-12-18T05:17:54","slug":"faq-excel-name-als-feld-oder-matrix","status":"publish","type":"post","link":"https:\/\/www.ramses.de\/?p=3676","title":{"rendered":"FAQ Excel &#8211; Name als Feld oder Matrix"},"content":{"rendered":"<h2><strong>Problem <\/strong><\/h2>\n<p>Namen werden genutzt, um Formeln schnell und \u00fcbersichtlicher zu machen. Werden mehrere Werte unter einem Namen geb\u00fcndelt, so ist die Frage wie dieser Bereich verwendet wird, als Feld oder als Bereich \/ Matrix.<\/p>\n<p>In der Berechnung des Kindergeldes wird Kinder als Wert verwendet, das bedeutet es wird<\/p>\n<ul>\n<li>2 x 188<\/li>\n<li>6 x 188<\/li>\n<li>1 x 188<\/li>\n<\/ul>\n<p>gerechnet. Missverst\u00e4ndlich ist hier lediglich der blaue Rahmen um die Kinder, der ja die Matrix und nicht den Wert zeigt.<\/p>\n<p><a href=\"https:\/\/www.ramses.de\/wp-content\/uploads\/Namen01.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3677\" src=\"https:\/\/www.ramses.de\/wp-content\/uploads\/Namen01-300x72.jpg\" alt=\"Namen01\" width=\"300\" height=\"72\" srcset=\"https:\/\/www.ramses.de\/wp-content\/uploads\/Namen01-300x72.jpg 300w, https:\/\/www.ramses.de\/wp-content\/uploads\/Namen01-619x150.jpg 619w, https:\/\/www.ramses.de\/wp-content\/uploads\/Namen01.jpg 629w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Sobald der Begriff Kinder nicht im Rahmen von Grundrechenarten verwendet wird, sondern im Rahmen einer Funktion wird immer die Gesamtheit der Werte, also die Matrix verwendet.<\/p>\n<p><a href=\"https:\/\/www.ramses.de\/wp-content\/uploads\/Namen02.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3678\" src=\"https:\/\/www.ramses.de\/wp-content\/uploads\/Namen02-300x59.jpg\" alt=\"Namen02\" width=\"300\" height=\"59\" srcset=\"https:\/\/www.ramses.de\/wp-content\/uploads\/Namen02-300x59.jpg 300w, https:\/\/www.ramses.de\/wp-content\/uploads\/Namen02.jpg 798w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Schwierig wird es nun, wenn der Name Kinder in einer Funktion als Wert und nicht als Matrix verwendet werden soll<\/p>\n<h2><strong>L\u00f6sung <\/strong><\/h2>\n<p>Nutzen wir nun eine benutzerdefinierte Funktion Kindergeld, so klappt die Parameter\u00fcbergabe solange ich den Wert als Zellbezug und nicht als Name \u00fcbergebe.<\/p>\n<p><a href=\"https:\/\/www.ramses.de\/wp-content\/uploads\/Namen03.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3679\" src=\"https:\/\/www.ramses.de\/wp-content\/uploads\/Namen03-300x70.jpg\" alt=\"Namen03\" width=\"300\" height=\"70\" srcset=\"https:\/\/www.ramses.de\/wp-content\/uploads\/Namen03-300x70.jpg 300w, https:\/\/www.ramses.de\/wp-content\/uploads\/Namen03-649x152.jpg 649w, https:\/\/www.ramses.de\/wp-content\/uploads\/Namen03-639x152.jpg 639w, https:\/\/www.ramses.de\/wp-content\/uploads\/Namen03.jpg 650w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Verwenden wir aber nun den Namen Kinder in der benutzerdefinierten Funktion, so bekommen wir einen Fehler, da die Funktion einen Wert erwartet, Namen aber in der Funktion immer als Matrix verstanden werden.<\/p>\n<p><a href=\"https:\/\/www.ramses.de\/wp-content\/uploads\/Namen04.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3680\" src=\"https:\/\/www.ramses.de\/wp-content\/uploads\/Namen04-300x69.jpg\" alt=\"Namen04\" width=\"300\" height=\"69\" srcset=\"https:\/\/www.ramses.de\/wp-content\/uploads\/Namen04-300x69.jpg 300w, https:\/\/www.ramses.de\/wp-content\/uploads\/Namen04.jpg 726w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Die L\u00f6sung beseht darin, vor den Namen ein + zu setzten, dann wird der Name auch in der Funktion als Wert und nicht als Matrix verwendet und alles ist gut.<\/p>\n<p><a href=\"https:\/\/www.ramses.de\/wp-content\/uploads\/Namen05.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3681\" src=\"https:\/\/www.ramses.de\/wp-content\/uploads\/Namen05-300x69.jpg\" alt=\"Namen05\" width=\"300\" height=\"69\" srcset=\"https:\/\/www.ramses.de\/wp-content\/uploads\/Namen05-300x69.jpg 300w, https:\/\/www.ramses.de\/wp-content\/uploads\/Namen05.jpg 666w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Problem Namen werden genutzt, um Formeln schnell und \u00fcbersichtlicher zu machen. Werden mehrere Werte unter einem Namen geb\u00fcndelt, so ist die Frage wie dieser Bereich &#8230; <a title=\"FAQ Excel &#8211; Name als Feld oder Matrix\" class=\"read-more\" href=\"https:\/\/www.ramses.de\/?p=3676\" aria-label=\"Mehr Informationen \u00fcber FAQ Excel &#8211; Name als Feld oder Matrix\">Weiterlesen &#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[59],"tags":[60,61],"class_list":["post-3676","post","type-post","status-publish","format-standard","hentry","category-excel","tag-excel-2010","tag-vba"],"_links":{"self":[{"href":"https:\/\/www.ramses.de\/index.php?rest_route=\/wp\/v2\/posts\/3676","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ramses.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ramses.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ramses.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ramses.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3676"}],"version-history":[{"count":1,"href":"https:\/\/www.ramses.de\/index.php?rest_route=\/wp\/v2\/posts\/3676\/revisions"}],"predecessor-version":[{"id":3682,"href":"https:\/\/www.ramses.de\/index.php?rest_route=\/wp\/v2\/posts\/3676\/revisions\/3682"}],"wp:attachment":[{"href":"https:\/\/www.ramses.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ramses.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ramses.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}