{"id":3707,"date":"2023-07-16T00:52:31","date_gmt":"2023-07-16T00:52:31","guid":{"rendered":"https:\/\/statorials.org\/nl\/google-spreadsheets-query-bijvoegen\/"},"modified":"2023-07-16T00:52:31","modified_gmt":"2023-07-16T00:52:31","slug":"google-spreadsheets-query-bijvoegen","status":"publish","type":"post","link":"https:\/\/statorials.org\/nl\/google-spreadsheets-query-bijvoegen\/","title":{"rendered":"Google spreadsheets-query: hoe u twee tabellen samenvoegt"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">Vaak wilt u misschien de functie <strong>QUERY()<\/strong> in Google Spreadsheets gebruiken om twee tabellen samen te voegen.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Helaas bestaat er geen <strong>JOIN()-<\/strong> functie binnen de <strong>QUERY()-<\/strong> functie, maar u kunt de volgende formule gebruiken als tijdelijke oplossing om twee tabellen samen te voegen:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 17px;\"> <strong><span class=\" string \" dir=\"auto\">=ArrayFormula(\n   {\n     <span style=\"color: #ff6600;\">A2:B6<\/span> ,\n     vlookup( <span style=\"color: #800080;\">A2:A6<\/span> , <span style=\"color: #3366ff;\">D2:E6<\/span> ,COLUMN(Indirect(\" <span style=\"color: #008000;\">R1C2:R1C<\/span> \"&amp;COLUMNS( <span style=\"color: #3366ff;\">D2:E6<\/span> ),0)),0)\n   }\n)\n<\/span><\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Deze specifieke formule voert een left join uit op tabellen in het bereik <strong>A2:B6<\/strong> en <strong>D2:E6<\/strong> .<\/span><\/p>\n<p> <span style=\"color: #000000;\">Het volgende voorbeeld laat zien hoe u deze formule in de praktijk kunt gebruiken.<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>Voorbeeld: voeg twee tabellen samen in Google Spreadsheets<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">Stel dat we de volgende twee tabellen in Google Spreadsheets hebben met informatie over verschillende basketbalteams:<\/span> <\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-30264 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/feuillesjoindre1.jpg\" alt=\"\" width=\"546\" height=\"424\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p> <span style=\"color: #000000;\">We kunnen de volgende formule gebruiken om een left join op beide tabellen uit te voeren en een tabel terug te geven met de teamnaam, punten en assists voor elk team in de linkertabel:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 17px;\"> <strong><span class=\" string \" dir=\"auto\">=ArrayFormula(\n   {\n     <span style=\"color: #ff6600;\">A2:B6<\/span> ,\n     vlookup( <span style=\"color: #800080;\">A2:A6<\/span> , <span style=\"color: #3366ff;\">D2:E6<\/span> ,COLUMN(Indirect(\" <span style=\"color: #008000;\">R1C2:R1C<\/span> \"&amp;COLUMNS( <span style=\"color: #3366ff;\">D2:E6<\/span> ),0)),0)\n   }\n)<\/span><\/strong><\/pre>\n<p> <span style=\"color: #000000;\">De volgende schermafbeelding laat zien hoe u deze formule in de praktijk kunt gebruiken:<\/span> <\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-30265\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/feuillesjoindre2.jpg\" alt=\"Neem deel aan een Google Spreadsheet-query\" width=\"631\" height=\"528\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p> <span style=\"color: #000000;\">Merk op dat het resultaat een tabel is met de teamnaam, punten en assists voor elk team in de tabel aan de linkerkant.<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>Opmerking<\/strong> : als een team in de linkertabel niet in de rechtertabel voorkomt, wordt de waarde <strong>#N\/A<\/strong> geretourneerd in de Assists-kolom van de resulterende tabel.<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>Aanvullende bronnen<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">In de volgende tutorials wordt uitgelegd hoe u andere veelvoorkomende taken in Google Spreadsheets kunt uitvoeren.<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/nl\/google-spreadsheets-vraagt-een-ander-blad-op\/\" target=\"_blank\" rel=\"noopener\">Google Spreadsheets-query: query&#8217;s uitvoeren vanuit een ander blad<\/a><br \/><a href=\"https:\/\/statorials.org\/nl\/google-spreadsheets-query-bevat\/\" target=\"_blank\" rel=\"noopener\">Google Spreadsheets-query: selecteer rijen die een tekenreeks bevatten<\/a><br \/> <a href=\"https:\/\/statorials.org\/nl\/google-spreadsheets-zoekopdracht-groeperen-op\/\">Google Spreadsheets-query: Groeperen op gebruiken<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Vaak wilt u misschien de functie QUERY() in Google Spreadsheets gebruiken om twee tabellen samen te voegen. Helaas bestaat er geen JOIN()- functie binnen de QUERY()- functie, maar u kunt de volgende formule gebruiken als tijdelijke oplossing om twee tabellen samen te voegen: =ArrayFormula( { A2:B6 , vlookup( A2:A6 , D2:E6 ,COLUMN(Indirect(&#8220; R1C2:R1C &#8222;&amp;COLUMNS( D2:E6 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-3707","post","type-post","status-publish","format-standard","hentry","category-gids"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Google Spreadsheets-query: hoe u twee tabellen kunt samenvoegen - Statorials<\/title>\n<meta name=\"description\" content=\"In deze tutorial wordt uitgelegd hoe u twee tabellen in Google Spreadsheets kunt samenvoegen, met een stapsgewijs voorbeeld.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/statorials.org\/nl\/google-spreadsheets-query-bijvoegen\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Google Spreadsheets-query: hoe u twee tabellen kunt samenvoegen - Statorials\" \/>\n<meta property=\"og:description\" content=\"In deze tutorial wordt uitgelegd hoe u twee tabellen in Google Spreadsheets kunt samenvoegen, met een stapsgewijs voorbeeld.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/nl\/google-spreadsheets-query-bijvoegen\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-16T00:52:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/feuillesjoindre1.jpg\" \/>\n<meta name=\"author\" content=\"Dr.benjamin anderson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dr.benjamin anderson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u00a0Minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/nl\/google-spreadsheets-query-bijvoegen\/\",\"url\":\"https:\/\/statorials.org\/nl\/google-spreadsheets-query-bijvoegen\/\",\"name\":\"Google Spreadsheets-query: hoe u twee tabellen kunt samenvoegen - Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/nl\/#website\"},\"datePublished\":\"2023-07-16T00:52:31+00:00\",\"dateModified\":\"2023-07-16T00:52:31+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219\"},\"description\":\"In deze tutorial wordt uitgelegd hoe u twee tabellen in Google Spreadsheets kunt samenvoegen, met een stapsgewijs voorbeeld.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/nl\/google-spreadsheets-query-bijvoegen\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/nl\/google-spreadsheets-query-bijvoegen\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/nl\/google-spreadsheets-query-bijvoegen\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Thuis\",\"item\":\"https:\/\/statorials.org\/nl\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Google spreadsheets-query: hoe u twee tabellen samenvoegt\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/nl\/#website\",\"url\":\"https:\/\/statorials.org\/nl\/\",\"name\":\"Statorials\",\"description\":\"Uw gids voor statistische competentie\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/nl\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"de\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219\",\"name\":\"Dr.benjamin anderson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\/\/statorials.org\/nl\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/statorials.org\/nl\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"http:\/\/statorials.org\/nl\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"Dr.benjamin anderson\"},\"description\":\"Ik ben Benjamin, een gepensioneerde hoogleraar statistiek die nu een toegewijde Statorials-lesgever is. Ik heb uitgebreide ervaring en expertise op het gebied van statistiek en ik ben vastbesloten om mijn kennis te delen met studenten via Statorials. Lees verder\",\"sameAs\":[\"http:\/\/statorials.org\/nl\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Google Spreadsheets-query: hoe u twee tabellen kunt samenvoegen - Statorials","description":"In deze tutorial wordt uitgelegd hoe u twee tabellen in Google Spreadsheets kunt samenvoegen, met een stapsgewijs voorbeeld.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/statorials.org\/nl\/google-spreadsheets-query-bijvoegen\/","og_locale":"de_DE","og_type":"article","og_title":"Google Spreadsheets-query: hoe u twee tabellen kunt samenvoegen - Statorials","og_description":"In deze tutorial wordt uitgelegd hoe u twee tabellen in Google Spreadsheets kunt samenvoegen, met een stapsgewijs voorbeeld.","og_url":"https:\/\/statorials.org\/nl\/google-spreadsheets-query-bijvoegen\/","og_site_name":"Statorials","article_published_time":"2023-07-16T00:52:31+00:00","og_image":[{"url":"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/feuillesjoindre1.jpg"}],"author":"Dr.benjamin anderson","twitter_card":"summary_large_image","twitter_misc":{"Verfasst von":"Dr.benjamin anderson","Gesch\u00e4tzte Lesezeit":"1\u00a0Minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/nl\/google-spreadsheets-query-bijvoegen\/","url":"https:\/\/statorials.org\/nl\/google-spreadsheets-query-bijvoegen\/","name":"Google Spreadsheets-query: hoe u twee tabellen kunt samenvoegen - Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/nl\/#website"},"datePublished":"2023-07-16T00:52:31+00:00","dateModified":"2023-07-16T00:52:31+00:00","author":{"@id":"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219"},"description":"In deze tutorial wordt uitgelegd hoe u twee tabellen in Google Spreadsheets kunt samenvoegen, met een stapsgewijs voorbeeld.","breadcrumb":{"@id":"https:\/\/statorials.org\/nl\/google-spreadsheets-query-bijvoegen\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/nl\/google-spreadsheets-query-bijvoegen\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/nl\/google-spreadsheets-query-bijvoegen\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Thuis","item":"https:\/\/statorials.org\/nl\/"},{"@type":"ListItem","position":2,"name":"Google spreadsheets-query: hoe u twee tabellen samenvoegt"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/nl\/#website","url":"https:\/\/statorials.org\/nl\/","name":"Statorials","description":"Uw gids voor statistische competentie","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/nl\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"de"},{"@type":"Person","@id":"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219","name":"Dr.benjamin anderson","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/statorials.org\/nl\/#\/schema\/person\/image\/","url":"http:\/\/statorials.org\/nl\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"http:\/\/statorials.org\/nl\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"Dr.benjamin anderson"},"description":"Ik ben Benjamin, een gepensioneerde hoogleraar statistiek die nu een toegewijde Statorials-lesgever is. Ik heb uitgebreide ervaring en expertise op het gebied van statistiek en ik ben vastbesloten om mijn kennis te delen met studenten via Statorials. Lees verder","sameAs":["http:\/\/statorials.org\/nl"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/posts\/3707","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/comments?post=3707"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/posts\/3707\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/media?parent=3707"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/categories?post=3707"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/tags?post=3707"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}