{"id":4687,"date":"2023-07-08T23:25:53","date_gmt":"2023-07-08T23:25:53","guid":{"rendered":"https:\/\/statorials.org\/pt\/excel-vlookup-retorna-varios-valores-horizontalmente\/"},"modified":"2023-07-08T23:25:53","modified_gmt":"2023-07-08T23:25:53","slug":"excel-vlookup-retorna-varios-valores-horizontalmente","status":"publish","type":"post","link":"https:\/\/statorials.org\/pt\/excel-vlookup-retorna-varios-valores-horizontalmente\/","title":{"rendered":"Excel: use vlookup para retornar v\u00e1rios valores horizontalmente"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">Freq\u00fcentemente, voc\u00ea pode querer usar a fun\u00e7\u00e3o <strong>VLOOKUP<\/strong> no Excel para retornar v\u00e1rios valores horizontalmente.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Infelizmente, isso n\u00e3o \u00e9 poss\u00edvel usando a fun\u00e7\u00e3o <strong>VLOOKUP<\/strong> , mas \u00e9 poss\u00edvel usar a seguinte f\u00f3rmula com as fun\u00e7\u00f5es <strong>INDEX<\/strong> , <strong>SMALL<\/strong> e <strong>IF<\/strong> :<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 17px;\"> <strong>=INDEX( <span style=\"color: #3366ff;\">$B$2:$B$13<\/span> , SMALL(IF( <span style=\"color: #ff0000;\">$A$17<\/span> = <span style=\"color: #800080;\">$A$2:$A$13<\/span> ,ROW( <span style=\"color: #800080;\">$A$2:$A$13<\/span> )-ROW( <span style=\"color: #008000;\">$B$2<\/span> )+1), COLUMN( <span style=\"color: #993300;\">A1<\/span> )))\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Esta f\u00f3rmula encontra o valor na c\u00e9lula <strong>A17<\/strong> no intervalo <strong>A2:A13<\/strong> e retorna o valor correspondente no intervalo <strong>B2:B13<\/strong> .<\/span><\/p>\n<p> <span style=\"color: #000000;\">Voc\u00ea pode arrastar esta f\u00f3rmula horizontalmente para visualizar v\u00e1rios valores.<\/span><\/p>\n<p> <span style=\"color: #000000;\">O exemplo a seguir mostra como usar esta f\u00f3rmula na pr\u00e1tica.<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>Exemplo: use VLOOKUP para retornar v\u00e1rios valores horizontalmente<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">Suponha que temos o seguinte conjunto de dados no Excel que cont\u00e9m informa\u00e7\u00f5es sobre pontos marcados por jogadores de basquete de diferentes times:<\/span> <\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-36586 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/vho1.png\" alt=\"\" width=\"475\" height=\"485\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p> <span style=\"color: #000000;\">Digamos que queremos procurar por \u201cMavs\u201d na coluna da equipe e retornar cada valor de ponto horizontalmente.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Para fazer isso, podemos digitar a seguinte f\u00f3rmula na c\u00e9lula <b>B17<\/b> :<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 17px;\"> <strong>=INDEX( <span style=\"color: #3366ff;\">$B$2:$B$13<\/span> , SMALL(IF( <span style=\"color: #ff0000;\">$A$17<\/span> = <span style=\"color: #800080;\">$A$2:$A$13<\/span> ,ROW( <span style=\"color: #800080;\">$A$2:$A$13<\/span> )-ROW( <span style=\"color: #008000;\">$B$2<\/span> )+1), COLUMN( <span style=\"color: #993300;\">A1<\/span> )))\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Podemos ent\u00e3o clicar e arrastar esta f\u00f3rmula horizontalmente para a direita para exibir cada um dos valores de pontos que correspondem aos \u201cMavs\u201d na coluna da equipe:<\/span> <\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-36585\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/vho2.png\" alt=\"Excel VLOOKUP retorna v\u00e1rios valores horizontalmente\" width=\"519\" height=\"481\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p> <span style=\"color: #000000;\">A f\u00f3rmula retorna corretamente os valores 24, 40, 15 e 25 na mesma linha.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Observe que cada um desses valores representa um valor na coluna de pontos que corresponde aos \u201cMavs\u201d na coluna da equipe:<\/span> <\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-36587 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/vho3.png\" alt=\"\" width=\"526\" height=\"506\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p> <span style=\"color: #000000;\"><span style=\"color: #000000;\">Observe que voc\u00ea precisar\u00e1 clicar e arrastar esta f\u00f3rmula para a direita at\u00e9 encontrar <strong>#NUM!<\/strong> em uma das c\u00e9lulas.<\/span><\/span><\/p>\n<p> <span style=\"color: #000000;\"><span style=\"color: #000000;\">Isso indica que voc\u00ea retornou com \u00eaxito todos os valores correspondentes ao valor pesquisado.<\/span><\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>Recursos adicionais<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">Os tutoriais a seguir explicam como realizar outras tarefas comuns no Excel:<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/pt\/excel-vlookup-retorna-todas-as-correspondencias\/\" target=\"_blank\" rel=\"noopener\">Excel: como usar VLOOKUP para retornar todas as correspond\u00eancias<\/a><br \/> <a href=\"https:\/\/statorials.org\/pt\/excel-vlookup-retorna-vazio-em-vez-de-zero\/\" target=\"_blank\" rel=\"noopener\">Excel: use VLOOKUP para retornar um espa\u00e7o em branco em vez de zero<\/a><br \/> <a href=\"https:\/\/statorials.org\/pt\/excel-vlookup-verdadeiro-falso\/\" target=\"_blank\" rel=\"noopener\">Excel: como usar VERDADEIRO ou FALSO em PROCV<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Freq\u00fcentemente, voc\u00ea pode querer usar a fun\u00e7\u00e3o VLOOKUP no Excel para retornar v\u00e1rios valores horizontalmente. Infelizmente, isso n\u00e3o \u00e9 poss\u00edvel usando a fun\u00e7\u00e3o VLOOKUP , mas \u00e9 poss\u00edvel usar a seguinte f\u00f3rmula com as fun\u00e7\u00f5es INDEX , SMALL e IF : =INDEX( $B$2:$B$13 , SMALL(IF( $A$17 = $A$2:$A$13 ,ROW( $A$2:$A$13 )-ROW( $B$2 )+1), COLUMN( A1 [&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-4687","post","type-post","status-publish","format-standard","hentry","category-guia"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Excel: Use VLOOKUP para retornar v\u00e1rios valores horizontalmente \u2013 Statorials<\/title>\n<meta name=\"description\" content=\"Este tutorial explica como usar a fun\u00e7\u00e3o VLOOKUP no Excel para retornar v\u00e1rios valores horizontalmente, incluindo um exemplo.\" \/>\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\/pt\/excel-vlookup-retorna-varios-valores-horizontalmente\/\" \/>\n<meta property=\"og:locale\" content=\"pt_PT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Excel: Use VLOOKUP para retornar v\u00e1rios valores horizontalmente \u2013 Statorials\" \/>\n<meta property=\"og:description\" content=\"Este tutorial explica como usar a fun\u00e7\u00e3o VLOOKUP no Excel para retornar v\u00e1rios valores horizontalmente, incluindo um exemplo.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/pt\/excel-vlookup-retorna-varios-valores-horizontalmente\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-08T23:25:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/vho1.png\" \/>\n<meta name=\"author\" content=\"Dr. benjamim anderson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dr. benjamim anderson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tempo estimado de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/pt\/excel-vlookup-retorna-varios-valores-horizontalmente\/\",\"url\":\"https:\/\/statorials.org\/pt\/excel-vlookup-retorna-varios-valores-horizontalmente\/\",\"name\":\"Excel: Use VLOOKUP para retornar v\u00e1rios valores horizontalmente \u2013 Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/pt\/#website\"},\"datePublished\":\"2023-07-08T23:25:53+00:00\",\"dateModified\":\"2023-07-08T23:25:53+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/pt\/#\/schema\/person\/e08f98e8db95e0aa9c310e1b27c9c666\"},\"description\":\"Este tutorial explica como usar a fun\u00e7\u00e3o VLOOKUP no Excel para retornar v\u00e1rios valores horizontalmente, incluindo um exemplo.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/pt\/excel-vlookup-retorna-varios-valores-horizontalmente\/#breadcrumb\"},\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/pt\/excel-vlookup-retorna-varios-valores-horizontalmente\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/pt\/excel-vlookup-retorna-varios-valores-horizontalmente\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Lar\",\"item\":\"https:\/\/statorials.org\/pt\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Excel: use vlookup para retornar v\u00e1rios valores horizontalmente\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/pt\/#website\",\"url\":\"https:\/\/statorials.org\/pt\/\",\"name\":\"Statorials\",\"description\":\"O seu guia para a literacia estat\u00edstica!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/pt\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"pt-PT\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/pt\/#\/schema\/person\/e08f98e8db95e0aa9c310e1b27c9c666\",\"name\":\"Dr. benjamim anderson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\/\/statorials.org\/pt\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/pt\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/pt\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"Dr. benjamim anderson\"},\"description\":\"Ol\u00e1, sou Benjamin, um professor aposentado de estat\u00edstica que se tornou professor dedicado na Statorials. Com vasta experi\u00eancia e conhecimento na \u00e1rea de estat\u00edstica, estou empenhado em compartilhar meu conhecimento para capacitar os alunos por meio de Statorials. Saber mais\",\"sameAs\":[\"https:\/\/statorials.org\/pt\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Excel: Use VLOOKUP para retornar v\u00e1rios valores horizontalmente \u2013 Statorials","description":"Este tutorial explica como usar a fun\u00e7\u00e3o VLOOKUP no Excel para retornar v\u00e1rios valores horizontalmente, incluindo um exemplo.","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\/pt\/excel-vlookup-retorna-varios-valores-horizontalmente\/","og_locale":"pt_PT","og_type":"article","og_title":"Excel: Use VLOOKUP para retornar v\u00e1rios valores horizontalmente \u2013 Statorials","og_description":"Este tutorial explica como usar a fun\u00e7\u00e3o VLOOKUP no Excel para retornar v\u00e1rios valores horizontalmente, incluindo um exemplo.","og_url":"https:\/\/statorials.org\/pt\/excel-vlookup-retorna-varios-valores-horizontalmente\/","og_site_name":"Statorials","article_published_time":"2023-07-08T23:25:53+00:00","og_image":[{"url":"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/vho1.png"}],"author":"Dr. benjamim anderson","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Dr. benjamim anderson","Tempo estimado de leitura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/pt\/excel-vlookup-retorna-varios-valores-horizontalmente\/","url":"https:\/\/statorials.org\/pt\/excel-vlookup-retorna-varios-valores-horizontalmente\/","name":"Excel: Use VLOOKUP para retornar v\u00e1rios valores horizontalmente \u2013 Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/pt\/#website"},"datePublished":"2023-07-08T23:25:53+00:00","dateModified":"2023-07-08T23:25:53+00:00","author":{"@id":"https:\/\/statorials.org\/pt\/#\/schema\/person\/e08f98e8db95e0aa9c310e1b27c9c666"},"description":"Este tutorial explica como usar a fun\u00e7\u00e3o VLOOKUP no Excel para retornar v\u00e1rios valores horizontalmente, incluindo um exemplo.","breadcrumb":{"@id":"https:\/\/statorials.org\/pt\/excel-vlookup-retorna-varios-valores-horizontalmente\/#breadcrumb"},"inLanguage":"pt-PT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/pt\/excel-vlookup-retorna-varios-valores-horizontalmente\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/pt\/excel-vlookup-retorna-varios-valores-horizontalmente\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Lar","item":"https:\/\/statorials.org\/pt\/"},{"@type":"ListItem","position":2,"name":"Excel: use vlookup para retornar v\u00e1rios valores horizontalmente"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/pt\/#website","url":"https:\/\/statorials.org\/pt\/","name":"Statorials","description":"O seu guia para a literacia estat\u00edstica!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/pt\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"pt-PT"},{"@type":"Person","@id":"https:\/\/statorials.org\/pt\/#\/schema\/person\/e08f98e8db95e0aa9c310e1b27c9c666","name":"Dr. benjamim anderson","image":{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/statorials.org\/pt\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/pt\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/pt\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"Dr. benjamim anderson"},"description":"Ol\u00e1, sou Benjamin, um professor aposentado de estat\u00edstica que se tornou professor dedicado na Statorials. Com vasta experi\u00eancia e conhecimento na \u00e1rea de estat\u00edstica, estou empenhado em compartilhar meu conhecimento para capacitar os alunos por meio de Statorials. Saber mais","sameAs":["https:\/\/statorials.org\/pt"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/pt\/wp-json\/wp\/v2\/posts\/4687","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/pt\/wp-json\/wp\/v2\/comments?post=4687"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/pt\/wp-json\/wp\/v2\/posts\/4687\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/pt\/wp-json\/wp\/v2\/media?parent=4687"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/pt\/wp-json\/wp\/v2\/categories?post=4687"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/pt\/wp-json\/wp\/v2\/tags?post=4687"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}