<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7366701808654496649</id><updated>2024-10-24T06:25:55.836-03:00</updated><category term="grafico"/><category term="condicional"/><category term="gráficos excel"/><category term="dashboard"/><category term="aleatórioentre"/><category term="interativo"/><category term="comparativo"/><category term="concatenar"/><category term="procv"/><category term="texto"/><category term="Brasil"/><category term="Gráfico estilo velocímetro simples (Excel)"/><category term="brasileiras"/><category term="cidades"/><category term="cidades brasileiras"/><category term="coordenadas"/><category term="coordenadas geográficas das cidades brasileiras"/><category term="figura"/><category term="não disponível"/><category term="valor"/><category term="velocimetro"/><category term="velocímetro"/><category term="coordenadas geográficas"/><category term="imagem"/><category term="se"/><category term="seleção"/><title type='text'>Planilhas Excelentes</title><subtitle type='html'>Blog com as melhores dicas para planilhas eletrônicas</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://planilhasexcelentes.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://planilhasexcelentes.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Guto Koga</name><uri>http://www.blogger.com/profile/12460217421428600767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7366701808654496649.post-2928987939900123382</id><published>2012-10-25T18:49:00.001-02:00</published><updated>2012-10-25T19:03:20.318-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aleatórioentre"/><category scheme="http://www.blogger.com/atom/ns#" term="comparativo"/><category scheme="http://www.blogger.com/atom/ns#" term="condicional"/><category scheme="http://www.blogger.com/atom/ns#" term="dashboard"/><category scheme="http://www.blogger.com/atom/ns#" term="gráficos excel"/><category scheme="http://www.blogger.com/atom/ns#" term="não disponível"/><title type='text'>Gráfico Condicional 2 - Muda de cor conforme valor</title><content type='html'>&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Este gráfico é muto simples, ele muda de cor de acordo com o valor.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Para isso utilizaremos apenas um gráfico de barras simples, utilizando um recurso próprio de sobreposição, criando assim a ilusão de mudança de cor.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
O passo-a-passo é muito simples, sendo que muitos deles já foram comentados nos posts anteriores. A novidade fica na opção Sobreposição de Séries, que iremos configurar para 100% (Sobreposto).&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Ferramentas de Gráfico &amp;gt; Formatar &amp;gt; Selecionar qualquer série (barras) &amp;gt; Opções de Série &amp;gt; Deslizar a seta até o valor ficar em 100% (Sobreposto).&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Para deixar o gráfico um pouco melhor você pode também ajustar a opção abaixo (Largura do Espaçamento) para 100% por exemplo.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Outra função nova que utilizamos neste gráfico é a função E(), que somente retorna VERDADEIRO se todas as condições também serem. No nosso exemplo, somente será VERDADEIRO se a quantidade de venda for maior ou igual a 50 e menor que 70, ou seja, apenas se estas duas condições forem verdadeiras.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Assista a criação deste gráfico no YouTube:&amp;nbsp;&lt;a href=&quot;http://youtu.be/LghzfXfBwxk&quot;&gt;http://youtu.be/LghzfXfBwxk&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&quot;allowfullscreen&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;http://www.youtube.com/embed/LghzfXfBwxk&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Continue acompanhando os nossos posts e sugira planilhas, gráficos, coloque as suas dúvidas, e deixe o seu comentário.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Não foi utilizada macro neste gráfico.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Para este exemplo, eu utilizei o Microsoft Excel 2010.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://planilhasexcelentes.blogspot.com/feeds/2928987939900123382/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/grafico-condicional-2-muda-de-cor.html#comment-form' title='1 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/2928987939900123382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/2928987939900123382'/><link rel='alternate' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/grafico-condicional-2-muda-de-cor.html' title='Gráfico Condicional 2 - Muda de cor conforme valor'/><author><name>Guto Koga</name><uri>http://www.blogger.com/profile/12460217421428600767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/LghzfXfBwxk/default.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7366701808654496649.post-1697522128133868277</id><published>2012-10-19T13:04:00.000-03:00</published><updated>2012-10-19T13:04:00.158-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aleatórioentre"/><category scheme="http://www.blogger.com/atom/ns#" term="comparativo"/><category scheme="http://www.blogger.com/atom/ns#" term="concatenar"/><category scheme="http://www.blogger.com/atom/ns#" term="condicional"/><category scheme="http://www.blogger.com/atom/ns#" term="dashboard"/><category scheme="http://www.blogger.com/atom/ns#" term="grafico"/><category scheme="http://www.blogger.com/atom/ns#" term="gráficos excel"/><category scheme="http://www.blogger.com/atom/ns#" term="interativo"/><category scheme="http://www.blogger.com/atom/ns#" term="procv"/><category scheme="http://www.blogger.com/atom/ns#" term="seleção"/><category scheme="http://www.blogger.com/atom/ns#" term="texto"/><title type='text'>Gráfico Interativo 4 - Caixa de Seleção</title><content type='html'>Utilizando as caixas de seleção, poderemos visualizar todas as informações das filiais (do nosso exemplo) e compará-las livremente, diferente do &lt;a href=&quot;http://planilhasexcelentes.blogspot.com.br/2012/10/grafico-interativo-3-2-caixas-de.html&quot;&gt;post anterior&lt;/a&gt; onde só era possível comparar de 2 em 2.&lt;br /&gt;
&lt;br /&gt;
A diferença entre as caixas de seleção e as caixas de combinação é que as caixas de seleção retornam VERDADEIRO ou FALSO em vez de um número relacionado a opção selecionada.&lt;br /&gt;
&lt;br /&gt;
Assista a criação deste gráfico no YouTube: &lt;a href=&quot;http://youtu.be/26IGeumqaRk&quot;&gt;http://youtu.be/26IGeumqaRk&lt;/a&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&quot;allowfullscreen&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;http://www.youtube.com/embed/26IGeumqaRk&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
Com relação ao Botão de Opção, não farei um vídeo de exemplo pois é idêntico às caixas de combinação, porém num formato diferente.&lt;br /&gt;
&lt;br /&gt;
Continue acompanhando os nossos posts e sugira planilhas, gráficos, coloque as suas dúvidas, e deixe o seu comentário.&lt;br /&gt;
&lt;br /&gt;
Não foi utilizada macro neste gráfico.&lt;br /&gt;
&lt;br /&gt;
Para este exemplo, eu utilizei o Microsoft Excel 2010.</content><link rel='replies' type='application/atom+xml' href='http://planilhasexcelentes.blogspot.com/feeds/1697522128133868277/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/grafico-interativo-4-caixa-de-selecao.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/1697522128133868277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/1697522128133868277'/><link rel='alternate' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/grafico-interativo-4-caixa-de-selecao.html' title='Gráfico Interativo 4 - Caixa de Seleção'/><author><name>Guto Koga</name><uri>http://www.blogger.com/profile/12460217421428600767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/26IGeumqaRk/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7366701808654496649.post-7307722819558149084</id><published>2012-10-17T20:18:00.002-03:00</published><updated>2012-10-17T20:18:12.697-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aleatórioentre"/><category scheme="http://www.blogger.com/atom/ns#" term="comparativo"/><category scheme="http://www.blogger.com/atom/ns#" term="concatenar"/><category scheme="http://www.blogger.com/atom/ns#" term="condicional"/><category scheme="http://www.blogger.com/atom/ns#" term="dashboard"/><category scheme="http://www.blogger.com/atom/ns#" term="grafico"/><category scheme="http://www.blogger.com/atom/ns#" term="gráficos excel"/><category scheme="http://www.blogger.com/atom/ns#" term="interativo"/><category scheme="http://www.blogger.com/atom/ns#" term="procv"/><category scheme="http://www.blogger.com/atom/ns#" term="texto"/><title type='text'>Gráfico Interativo 3 - 2 Caixas de Combinação</title><content type='html'>&lt;br /&gt;
Neste gráfico temos duas caixas de combinação, ideal para gráficos comparativos.&lt;br /&gt;
&lt;br /&gt;
Não existe nenhuma função diferente neste post. É mais um complemento ao &lt;a href=&quot;http://planilhasexcelentes.blogspot.com.br/2012/10/grafico-interativo-2-caixa-de-combinacao.html&quot;&gt;post anterior&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Assista a criação deste gráfico no YouTube: &lt;a href=&quot;http://youtu.be/B55YIJTjPco&quot;&gt;http://youtu.be/B55YIJTjPco&lt;/a&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&quot;allowfullscreen&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;http://www.youtube.com/embed/B55YIJTjPco&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
Continue acompanhando os nossos posts e sugira planilhas, gráficos, coloque as suas dúvidas, e deixe o seu comentário.&lt;br /&gt;
&lt;br /&gt;
Não foi utilizada macro neste gráfico.&lt;br /&gt;
&lt;br /&gt;
Para este exemplo, eu utilizei o Microsoft Excel 2010.</content><link rel='replies' type='application/atom+xml' href='http://planilhasexcelentes.blogspot.com/feeds/7307722819558149084/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/grafico-interativo-3-2-caixas-de.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/7307722819558149084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/7307722819558149084'/><link rel='alternate' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/grafico-interativo-3-2-caixas-de.html' title='Gráfico Interativo 3 - 2 Caixas de Combinação'/><author><name>Guto Koga</name><uri>http://www.blogger.com/profile/12460217421428600767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/B55YIJTjPco/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7366701808654496649.post-2812632947637467456</id><published>2012-10-17T00:30:00.001-03:00</published><updated>2012-10-17T00:30:07.430-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aleatórioentre"/><category scheme="http://www.blogger.com/atom/ns#" term="concatenar"/><category scheme="http://www.blogger.com/atom/ns#" term="condicional"/><category scheme="http://www.blogger.com/atom/ns#" term="dashboard"/><category scheme="http://www.blogger.com/atom/ns#" term="grafico"/><category scheme="http://www.blogger.com/atom/ns#" term="gráficos excel"/><category scheme="http://www.blogger.com/atom/ns#" term="interativo"/><category scheme="http://www.blogger.com/atom/ns#" term="procv"/><category scheme="http://www.blogger.com/atom/ns#" term="texto"/><title type='text'>Gráfico Interativo 2 - Caixa de Combinação</title><content type='html'>&lt;span style=&quot;text-align: justify;&quot;&gt;Vamos demonstrar de maneira bem simples como aplicar a interatividade no gráfico usando a caixa de combinação.&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Neste gráfico simulei três filiais e suas vendas. Usei a função &lt;i&gt;ALEATÓRIOENTRE(inferior,superior)&lt;/i&gt; que gera um número aleatório entre dois números, onde inferior é o número mais baixo e o superior indica o número máximo. Depois criei uma coluna e uma linha de totais. Nesta matriz, repare que coloquei também números guias em vez de meses, isso para facilitar um outro comando, o &lt;i&gt;PROCV()&lt;/i&gt;.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
O &lt;i&gt;PROCV()&lt;/i&gt; é uma função excelente e que utilizo muito nas minhas automações. Funciona assim:&lt;/div&gt;
&lt;i&gt;PROCV(valor_procurado, matriz_tabela, núm_índice_coluna, [procurar_intervalo])&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;Valor_procurado&lt;/i&gt; - No nosso caso queremos saber a filial ou o total de vendas. Como estamos utilizando a caixa de combinação que retorna um número referente a lista designada, incluímos uma coluna com os mesmos valores para servir de referência. Reumindo, Valor_procurado é o que nós estamos procurando.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;matriz_tabela&lt;/i&gt; - No nosso caso, até para facilitar, vamos abranger toda a matriz, mesmo que neste primeiro momento não utilizaremos os dados das colunas adiante. A matriz_tabela é todo o conjunto de linhas e colunas onde estão os dados que queremos relacionar.&lt;/div&gt;
&lt;br /&gt;
&lt;i&gt;núm_índice_coluna&lt;/i&gt; - É o número da coluna com os dados que queremos relacionar. Lembra da primeira linha com os números guias? Então, neste caso vamos apontar este item para aquelas células.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;procurar_intervalo&lt;/i&gt; - É um item bastante importante, pois se a nossa matriz não estiver classificada em ordem alfabética e se este item estiver em 1, podem ocorrer alguns problemas. O ideal é sempre manter esta opção em 0 (zero).&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Observe também que eu utilizo alguns caracteres especiais, como o $ (cifrão) no meio de algumas funções. O cifrão serve para fixar uma determinada célula, linha ou coluna. Por exemplo se você ver $A$7, significa que a célula A7 está fixada. No nosso exemplo, eu fixo a célula A7 para a função &lt;i&gt;PROCV()&lt;/i&gt; buscar como referência em todas as outras células adjacentes, para não precisar digitar a função novamente em cada célula. Se você quiser fixar uma coluna, inclua o cifrão antes da coluna, assim: $A7. No caso da linha fica assim: A$7.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Dica: Apertando a tecla F4 a fixação é automática. Aperte a tecla F4 mais de uma vez para alternar entre a fixação de célula, linha e coluna.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Depois é só construir o gráfico de acordo com a sua preferência, no exemplo eu só incluí no título o total de venda da respectiva filial e sua porcentagem em relação ao total, utilizando para isso a função &lt;i&gt;CONCATENAR()&lt;/i&gt;, que simplesmente une textos, e também a função &lt;i&gt;TEXTO()&lt;/i&gt;, que formata o texto de acordo com a sua preferência, no nosso exemplo em porcentagem.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Assista a criação deste gráfico no YouTube: &lt;a href=&quot;http://youtu.be/ZR1MI_yVPJI&quot;&gt;http://youtu.be/ZR1MI_yVPJI&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&quot;allowfullscreen&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;http://www.youtube.com/embed/ZR1MI_yVPJI&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Continue acompanhando os nossos posts e sugira planilhas, gráficos, coloque as suas dúvidas, e deixe o seu comentário.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Não foi utilizada macro neste gráfico.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Para este exemplo, eu utilizei o Microsoft Excel 2010.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://planilhasexcelentes.blogspot.com/feeds/2812632947637467456/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/grafico-interativo-2-caixa-de-combinacao.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/2812632947637467456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/2812632947637467456'/><link rel='alternate' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/grafico-interativo-2-caixa-de-combinacao.html' title='Gráfico Interativo 2 - Caixa de Combinação'/><author><name>Guto Koga</name><uri>http://www.blogger.com/profile/12460217421428600767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/ZR1MI_yVPJI/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7366701808654496649.post-1065381680958079110</id><published>2012-10-13T18:36:00.001-03:00</published><updated>2012-10-13T18:41:34.558-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="condicional"/><category scheme="http://www.blogger.com/atom/ns#" term="grafico"/><category scheme="http://www.blogger.com/atom/ns#" term="gráficos excel"/><category scheme="http://www.blogger.com/atom/ns#" term="interativo"/><title type='text'>Gráfico interativo - Como inserir controles</title><content type='html'>Neste post eu vou mostrar como inserir controles para os nossos gráficos interativos.&lt;br /&gt;
&lt;br /&gt;
Para isso você precisa habilitar a aba Desenvolvedor.&lt;br /&gt;
&lt;br /&gt;
Arquivo &amp;gt; Opções &amp;gt; Personalizar Faixa de Opções &amp;gt; Clicar em Desenvolvedor&lt;br /&gt;
&lt;br /&gt;
Os três controles básicos são a caixa de combinação, caixa de seleção e botão de opção.&lt;br /&gt;
&lt;br /&gt;
A caixa de combinação permite escolher um item (e apenas um) em uma lista.&lt;br /&gt;
Clicando com o botão direito do mouse e em Formatar controle &amp;gt; controle, podemos definir onde buscamos a lista de opções em Intervalo de entrada: e a célula de destino onde aparecerá a opção selecionada, neste caso o número referente a opção selecionada.&lt;br /&gt;
&lt;br /&gt;
A caixa de seleção permite escolher mais de uma opção. Neste caso é interessante selecionarmos uma célula para cada opção criada, pois o resultado será VERDADEIRO ou FALSO no Vínculo da célula para cada item.&lt;br /&gt;
&lt;br /&gt;
O botão de opção permite escolher apenas um item de vários disponíveis. Neste caso também aparecerá um número referente a opção selecionada, e também basta apenas uma célula para o Vínculo da célula (percebam no vídeo que eu apenas seleciono o Vínculo da célula na primeira opção, os outros botões assumem automaticamente a célula selecionada).&lt;br /&gt;
&lt;br /&gt;
Com estes três controles dá para fazer bastante coisa nos gráficos interativos, como mostrado no &lt;a href=&quot;http://planilhasexcelentes.blogspot.com.br/2012/10/demonstracao-de-um-grafico-condicional.html&quot;&gt;post anterior&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Assista a criação deste gráfico no YouTube:&amp;nbsp;&lt;a href=&quot;http://youtu.be/Mt5lIrnQ8vk&quot;&gt;http://youtu.be/Mt5lIrnQ8vk&lt;/a&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&quot;allowfullscreen&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;http://www.youtube.com/embed/Mt5lIrnQ8vk&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
Continue acompanhando os nossos posts e sugira planilhas, gráficos, coloque as suas dúvidas, e deixe o seu comentário.&lt;br /&gt;
&lt;br /&gt;
Não foi utilizada macro neste gráfico.&lt;br /&gt;
&lt;br /&gt;
Para este exemplo, eu utilizei o Microsoft Excel 2010.</content><link rel='replies' type='application/atom+xml' href='http://planilhasexcelentes.blogspot.com/feeds/1065381680958079110/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/grafico-interativo-como-inserir.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/1065381680958079110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/1065381680958079110'/><link rel='alternate' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/grafico-interativo-como-inserir.html' title='Gráfico interativo - Como inserir controles'/><author><name>Guto Koga</name><uri>http://www.blogger.com/profile/12460217421428600767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/Mt5lIrnQ8vk/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7366701808654496649.post-3044754101346917974</id><published>2012-10-12T16:15:00.003-03:00</published><updated>2012-10-12T16:15:19.316-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Brasil"/><category scheme="http://www.blogger.com/atom/ns#" term="brasileiras"/><category scheme="http://www.blogger.com/atom/ns#" term="cidades"/><category scheme="http://www.blogger.com/atom/ns#" term="cidades brasileiras"/><category scheme="http://www.blogger.com/atom/ns#" term="condicional"/><category scheme="http://www.blogger.com/atom/ns#" term="coordenadas"/><category scheme="http://www.blogger.com/atom/ns#" term="coordenadas geográficas das cidades brasileiras"/><category scheme="http://www.blogger.com/atom/ns#" term="dashboard"/><category scheme="http://www.blogger.com/atom/ns#" term="figura"/><category scheme="http://www.blogger.com/atom/ns#" term="grafico"/><category scheme="http://www.blogger.com/atom/ns#" term="gráficos excel"/><title type='text'>Demonstração de um gráfico condicional</title><content type='html'>&lt;br /&gt;
Uma pequena demonstração de como os gráficos simplificam a visualização de dados.&lt;br /&gt;
&lt;br /&gt;
Neste caso uma grande quantidade de dados foram sintetizados em apenas 3 (três) gráficos.&lt;br /&gt;
&lt;br /&gt;
Assista o funcionamento deste gráfico no YouTube:&amp;nbsp;&lt;a href=&quot;http://youtu.be/GS-qyv-QXE0&quot;&gt;http://youtu.be/GS-qyv-QXE0&lt;/a&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&quot;allowfullscreen&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;http://www.youtube.com/embed/GS-qyv-QXE0&quot; width=&quot;420&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
Continue acompanhando os nossos posts e sugira planilhas, gráficos, coloque as suas dúvidas, e deixe o seu comentário.&lt;br /&gt;
&lt;br /&gt;
Não foi utilizada macros neste gráfico.&lt;br /&gt;
&lt;br /&gt;
Para este exemplo, eu utilizei o Microsoft Excel 2010.</content><link rel='replies' type='application/atom+xml' href='http://planilhasexcelentes.blogspot.com/feeds/3044754101346917974/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/demonstracao-de-um-grafico-condicional.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/3044754101346917974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/3044754101346917974'/><link rel='alternate' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/demonstracao-de-um-grafico-condicional.html' title='Demonstração de um gráfico condicional'/><author><name>Guto Koga</name><uri>http://www.blogger.com/profile/12460217421428600767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/GS-qyv-QXE0/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7366701808654496649.post-1841205429557877438</id><published>2012-10-11T11:46:00.000-03:00</published><updated>2012-10-11T11:46:14.724-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Brasil"/><category scheme="http://www.blogger.com/atom/ns#" term="brasileiras"/><category scheme="http://www.blogger.com/atom/ns#" term="cidades"/><category scheme="http://www.blogger.com/atom/ns#" term="cidades brasileiras"/><category scheme="http://www.blogger.com/atom/ns#" term="coordenadas"/><category scheme="http://www.blogger.com/atom/ns#" term="coordenadas geográficas"/><category scheme="http://www.blogger.com/atom/ns#" term="coordenadas geográficas das cidades brasileiras"/><title type='text'>Planilha com coordenadas geográficas das cidades brasileiras</title><content type='html'>&lt;br /&gt;
Você precisa apresentar um gráfico onde é necessário &quot;plotar&quot; as cidades brasileiras e para isso você precisa das coordenadas geográficas das mesmas, certo?&lt;br /&gt;
&lt;br /&gt;
Ou então você quer automatizar algum processo (via Google Earth ou Maps) e é difícil encontrar estes dados na internet?&lt;br /&gt;
&lt;br /&gt;
Clique na nossa Loja e saiba como é possível adquirir uma planilha com as coordenadas (latitude, longitude e altitude) dos 5.565 municípios brasileiros e também de outros sub-distritos e localidades totalizando 21.886 locais geográficos.&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhomRcnQm_zJiMABORZno25jPW_fJjPKbKzpp4iqy48pR72QFrbAalzvBtzMoOsiu60NtI-6AOqt3qPtuD_wk3jJrCXVQ5mnLa16BEsnPB6UQ5ivvv0398Kttg4U2Mm5nM252dr6UycXBie/s1600/municipios.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;397&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhomRcnQm_zJiMABORZno25jPW_fJjPKbKzpp4iqy48pR72QFrbAalzvBtzMoOsiu60NtI-6AOqt3qPtuD_wk3jJrCXVQ5mnLa16BEsnPB6UQ5ivvv0398Kttg4U2Mm5nM252dr6UycXBie/s400/municipios.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Gráfico com os 21.886 locais geográficos contidos na planilha&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
A planilha vem com a Unidade Federativa (Estado), Município, Sub-Distrito (quando houver), o Tipo (urbano ou rural), a Altitude (em metros e em relação ao nível do mar) e a Latitude e Longitude (em graus decimais).&lt;br /&gt;
&lt;br /&gt;
Formatamos a planilha para o sistema de coordenadas de sua preferência/necessidade.&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://planilhasexcelentes.blogspot.com/feeds/1841205429557877438/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/planilha-com-coordenadas-geograficas.html#comment-form' title='4 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/1841205429557877438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/1841205429557877438'/><link rel='alternate' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/planilha-com-coordenadas-geograficas.html' title='Planilha com coordenadas geográficas das cidades brasileiras'/><author><name>Guto Koga</name><uri>http://www.blogger.com/profile/12460217421428600767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhomRcnQm_zJiMABORZno25jPW_fJjPKbKzpp4iqy48pR72QFrbAalzvBtzMoOsiu60NtI-6AOqt3qPtuD_wk3jJrCXVQ5mnLa16BEsnPB6UQ5ivvv0398Kttg4U2Mm5nM252dr6UycXBie/s72-c/municipios.jpg" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7366701808654496649.post-4970968760027160232</id><published>2012-10-09T17:08:00.001-03:00</published><updated>2012-10-09T17:10:44.116-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="condicional"/><category scheme="http://www.blogger.com/atom/ns#" term="grafico"/><category scheme="http://www.blogger.com/atom/ns#" term="valor"/><title type='text'>Gráfico estilo velocímetro 5 - Valor condicional no gráfico</title><content type='html'>&lt;br /&gt;
Neste post, vou ensinar como deixar o valor impresso condicionado ao valor, ou seja, quando o valor do ponteiro mudar, o valor do texto no gráfico muda também.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmcw6sGJhZ9JiSzNYQb5N3y-jClskIWNorA3injpiL-coTy5yHvYjXYYxnGheM-udPe1EUeLmKyn_-qW5ELnOG1sE5ZzeSg01xnaX1T9sKdp8dBmKrAeHWvLPg86ddU1Xz3Z0PXa2pM5a7/s1600/Velocimetro+Texto+Condicional+1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmcw6sGJhZ9JiSzNYQb5N3y-jClskIWNorA3injpiL-coTy5yHvYjXYYxnGheM-udPe1EUeLmKyn_-qW5ELnOG1sE5ZzeSg01xnaX1T9sKdp8dBmKrAeHWvLPg86ddU1Xz3Z0PXa2pM5a7/s320/Velocimetro+Texto+Condicional+1.jpg&quot; width=&quot;306&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Os gráficos são quase idênticos ao do &lt;a href=&quot;http://planilhasexcelentes.blogspot.com.br/2012/10/grafico-estilo-velocimetro-4-valor-no.html&quot;&gt;post anterior&lt;/a&gt;, a diferença é que o gráfico 2 (vermelho) também terá o Título habilitado e vamos direcionar os títulos para células distintas.&lt;br /&gt;
&lt;br /&gt;
Vale a observação que quando manipulamos textos, o NÃO.DISP() não funciona como queremos, pois ele imprime o valor #N/D e isso nós não queremos. No lugar colocaremos duas aspas duplas (&quot;&quot;), que dará o mesmo efeito.&lt;br /&gt;
&lt;br /&gt;
Então desta vez coloquei o valor condicional do título do gráfico 1 (verde) na célula N5, e o título do gráfico 2 (vermelho) na célula O5 utilizando a função SE(). Se a condição é verdadeira imprimir o valor, senão imprimir nada (aspas duplas &quot;&quot;).&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSAqIXHAjnu5D0GJOQaOqPdndyGmxx0vDG5tqHgfH_irf2EqpvjiRcL-JXXfRgbi2OyZaCOyF7zNJRJbBWvojrLc0EeG1bRrYcsnE2O9UzY0s5hHFvMaff20AEIFi2gQcKZyMVHcHz_U7F/s1600/Velocimetro+Texto+Condicional+2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSAqIXHAjnu5D0GJOQaOqPdndyGmxx0vDG5tqHgfH_irf2EqpvjiRcL-JXXfRgbi2OyZaCOyF7zNJRJbBWvojrLc0EeG1bRrYcsnE2O9UzY0s5hHFvMaff20AEIFi2gQcKZyMVHcHz_U7F/s320/Velocimetro+Texto+Condicional+2.jpg&quot; width=&quot;289&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Assista a criação deste gráfico no YouTube: &lt;a href=&quot;http://youtu.be/poGZT-vEW-U&quot;&gt;http://youtu.be/poGZT-vEW-U&lt;/a&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&quot;allowfullscreen&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;http://www.youtube.com/embed/poGZT-vEW-U&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
Continue acompanhando os nossos posts e sugira planilhas, gráficos, coloquem as suas dúvidas, e deixe os seus comentários.&lt;br /&gt;
&lt;br /&gt;
Para este exemplo, eu utilizei o Microsoft Excel 2010.</content><link rel='replies' type='application/atom+xml' href='http://planilhasexcelentes.blogspot.com/feeds/4970968760027160232/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/grafico-estilo-velocimetro-5-valor.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/4970968760027160232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/4970968760027160232'/><link rel='alternate' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/grafico-estilo-velocimetro-5-valor.html' title='Gráfico estilo velocímetro 5 - Valor condicional no gráfico'/><author><name>Guto Koga</name><uri>http://www.blogger.com/profile/12460217421428600767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmcw6sGJhZ9JiSzNYQb5N3y-jClskIWNorA3injpiL-coTy5yHvYjXYYxnGheM-udPe1EUeLmKyn_-qW5ELnOG1sE5ZzeSg01xnaX1T9sKdp8dBmKrAeHWvLPg86ddU1Xz3Z0PXa2pM5a7/s72-c/Velocimetro+Texto+Condicional+1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7366701808654496649.post-7272354097404306152</id><published>2012-10-07T14:39:00.004-03:00</published><updated>2012-10-09T22:16:37.721-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="grafico"/><category scheme="http://www.blogger.com/atom/ns#" term="valor"/><title type='text'>Gráfico estilo velocímetro 4 - Valor no gráfico</title><content type='html'>Neste post eu vou mostrar uma mudança bem simples, mas que faz uma enorme diferença.&lt;br /&gt;
&lt;br /&gt;
Para facilitar a leitura do gráfico, principalmente para valores quebrados, vamos mostrar o valor diretamente no gráfico.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoWPxfcfRA67mN1KJzJuOT5NDAHbMbM4A73AOYgs2vxMPP2tdPUgbPTQWzaZGvGBd9IWDdu7a_-Dl3Pz23wYDeygaKTxQASwImu3qUW5BAe33qLHjPjw4ggLjEHmf-qDURios3F2L-cvHU/s1600/Velocimetro+com+valor.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;366&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoWPxfcfRA67mN1KJzJuOT5NDAHbMbM4A73AOYgs2vxMPP2tdPUgbPTQWzaZGvGBd9IWDdu7a_-Dl3Pz23wYDeygaKTxQASwImu3qUW5BAe33qLHjPjw4ggLjEHmf-qDURios3F2L-cvHU/s400/Velocimetro+com+valor.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
O gráfico, a princípio, é exatamente igual ao do &lt;a href=&quot;http://planilhasexcelentes.blogspot.com.br/2012/10/grafico-condicional-grafico-estilo.html&quot;&gt;post anterior&lt;/a&gt;. A grande sacada vem do fato que vamos &quot;linkar&quot; o título do primeiro gráfico (verde) com o valor a ser impresso. É isso mesmo! Essa possibilidade de direcionar para uma célula específica o que vai ser escrito no título do gráfico deixa o gráfico mais dinâmico. E nós vamos utilizar essa possibilidade no nosso gráfico, para isso após toda a criação do primeiro gráfico (verde), clique em Ferramentas de Gráfico &amp;gt; Layout &amp;gt; Título do Gráfico &amp;gt; Título Sobreposto centralizado. Após, podemos mudar a cor da fonte para não contrastar com o fundo preto, e na barra de fórmulas é só digitar = (igual) e a célula com o valor, no nosso exemplo L1. A medida que o valor vai mudando, o valor do Título também muda. Depois é só criar o segundo gráfico (vermelho) e terminar. Note que o título continua imprimindo o valor mesmo nas condições do segundo gráfico (vermelho).&lt;br /&gt;
&lt;br /&gt;
Assista a criação deste gráfico no YouTube: &lt;a href=&quot;http://youtu.be/Jvk4BU94vD8&quot;&gt;http://youtu.be/Jvk4BU94vD8&lt;/a&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&quot;allowfullscreen&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;http://www.youtube.com/embed/Jvk4BU94vD8&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Continue acompanhando os nossos posts e sugira planilhas, gráficos, coloquem as suas dúvidas e deixe os seus comentários.&lt;/div&gt;
&lt;br /&gt;
Para este exemplo, eu utilizei o Microsoft Excel 2010.</content><link rel='replies' type='application/atom+xml' href='http://planilhasexcelentes.blogspot.com/feeds/7272354097404306152/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/grafico-estilo-velocimetro-4-valor-no.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/7272354097404306152'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/7272354097404306152'/><link rel='alternate' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/grafico-estilo-velocimetro-4-valor-no.html' title='Gráfico estilo velocímetro 4 - Valor no gráfico'/><author><name>Guto Koga</name><uri>http://www.blogger.com/profile/12460217421428600767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoWPxfcfRA67mN1KJzJuOT5NDAHbMbM4A73AOYgs2vxMPP2tdPUgbPTQWzaZGvGBd9IWDdu7a_-Dl3Pz23wYDeygaKTxQASwImu3qUW5BAe33qLHjPjw4ggLjEHmf-qDURios3F2L-cvHU/s72-c/Velocimetro+com+valor.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7366701808654496649.post-6767822672018380029</id><published>2012-10-06T13:55:00.001-03:00</published><updated>2012-10-09T22:17:31.668-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="condicional"/><category scheme="http://www.blogger.com/atom/ns#" term="não disponível"/><category scheme="http://www.blogger.com/atom/ns#" term="se"/><title type='text'>Gráfico condicional - Gráfico estilo velocímetro 3</title><content type='html'>&lt;br /&gt;
Neste post irei explicar como fazer um gráfico que muda de cor dependendo do valor.&lt;br /&gt;
&lt;br /&gt;
Novamente fiz uma busca na internet e achei alguns gráficos muito óbvios, como por exemplo gráficos de barras, etc.&lt;br /&gt;
&lt;br /&gt;
Para prosseguir com a série Velocímetro, eu decidi&amp;nbsp;utilizar&amp;nbsp;mais uma vez este tipo de gráfico, vamos lá.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLKWH-w42YttbZ3Dt8h-dCwYvPoKYr__eVYQ8BJkWxIYl5jC1Z-9GsBP-ZPSuoM9Q6uEKsy-iZ6KHWZMZchjxxgbQwfYrPHT0aMpb_5t6aOtCwGNmdDM3HetCHEpYoHT1Y1A1-837vpvNJ/s1600/Velocimetro+Condicional.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLKWH-w42YttbZ3Dt8h-dCwYvPoKYr__eVYQ8BJkWxIYl5jC1Z-9GsBP-ZPSuoM9Q6uEKsy-iZ6KHWZMZchjxxgbQwfYrPHT0aMpb_5t6aOtCwGNmdDM3HetCHEpYoHT1Y1A1-837vpvNJ/s320/Velocimetro+Condicional.jpg&quot; width=&quot;286&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Para começar precisamos definir a condição para a mudança de cor. No meu exemplo eu defini que o ponteiro muda para vermelho quando estiver acima de 99. Vamos trabalhar novamente com sobreposição de gráficos. O segredo é que um gráfico fica visível até um determinado valor, enquanto o outro fica invisível, através da função &lt;b&gt;NÃO.DISP()&lt;/b&gt;. E para este gráfico vamos utilizar a função &lt;b&gt;SE()&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
A função &lt;b&gt;SE()&lt;/b&gt; funciona assim:&lt;br /&gt;
&lt;b&gt;SE(&lt;i&gt;teste_lógico; [valor_se_verdadeiro]; [valor_se_falso]&lt;/i&gt;)&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;teste_lógico&lt;/i&gt;&lt;/b&gt;: É o teste da condição, para sabermos se é verdadeira ou falsa.&lt;br /&gt;
&lt;i&gt;&lt;b&gt;[valor_se_verdadeiro]&lt;/b&gt;&lt;/i&gt;: É o que deve ser feito se a condição for verdadeira.&lt;br /&gt;
&lt;i&gt;&lt;b&gt;[valor_se_falso]&lt;/b&gt;&lt;/i&gt;: É o que deve ser feito se a condição for falsa.&lt;br /&gt;
&lt;br /&gt;
Para o primeiro gráfico (verde), que fica visível do 20 até o 99, utilizamos a função &lt;b&gt;SE()&lt;/b&gt; da seguinte forma: se valor &amp;lt; 100, então o valor da célula é 0 (zero), senão o valor é #N/D para as duas células que representam o primeiro ponto do gráfico (N1:N2) e a mesma condição para as células que representam o segundo ponto do gráfico (O1:O2), com os valores de seno e cosseno do valor. Neste gráfico devemos inserir a imagem do velocímetro, pois ele será a base principal (layer). Confira no &lt;a href=&quot;http://planilhasexcelentes.blogspot.com.br/2012/10/como-trabalhar-com-imagens-nos-graficos.html&quot;&gt;post anterior&lt;/a&gt; como calcular estes valores e como formatar o gráfico utilizando uma imagem de fundo.&lt;br /&gt;
&lt;br /&gt;
Mas o que significa #N/D? Significa Valor não disponível. Usamos ele através da função &lt;b&gt;NÃO.DISP()&lt;/b&gt;. Para um gráfico, quando ele &quot;lê&quot; este parâmetro, ele não imprime nada, por esta razão, qualquer valor acima de 99 o primeiro gráfico não mostra o ponteiro.&lt;br /&gt;
&lt;br /&gt;
Para o segundo gráfico (vermelho), que fica visível do 100 até o 200, utilizamos a função SE() da seguinte forma: se valor &amp;gt;= 100, então o valor da célula é 0 (zero), senão o valor é #N/D para as duas células que representam o primeiro ponto do gráfico (N3:N4) e a mesma condição para as células que representam o segundo ponto do gráfico (O3:O4), com os valores de seno e cosseno do valor. Devemos formatar este gráfico para ele ficar com o fundo invisível, pois ele será sobreposto a base principal (layer). Confira no &lt;a href=&quot;http://planilhasexcelentes.blogspot.com.br/2012/10/grafico-estilo-velocimetro-simples-excel.html&quot;&gt;primeiro post&lt;/a&gt; como deixar o gráfico com o fundo invisível.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-IF8so8L0ZwWm3c24JJrs6HpqDy8BLAkVITsARebzgGkGY_FBGIoZwEBMI8ZqyMx9GocGxbJlUHlCx7Qb4DRBg66D9rWwxMpKEOvxbs6y9Q0sPaMpLvxIkvpXK5tFbBC0HRQ5pQakYnuk/s1600/Velocimetro+Condicional+2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-IF8so8L0ZwWm3c24JJrs6HpqDy8BLAkVITsARebzgGkGY_FBGIoZwEBMI8ZqyMx9GocGxbJlUHlCx7Qb4DRBg66D9rWwxMpKEOvxbs6y9Q0sPaMpLvxIkvpXK5tFbBC0HRQ5pQakYnuk/s320/Velocimetro+Condicional+2.jpg&quot; width=&quot;287&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
É isso aí, mais um gráfico bem bacana para fazer.&lt;br /&gt;
&lt;br /&gt;
Aqui vai um desafio, que tal fazer um gráfico que muda de cor três vezes? Essa é fácil hein?&lt;br /&gt;
&lt;br /&gt;
Qualquer dúvida, crítica ou sugestão, deixe o seu comentário e não perca os próximos posts.&lt;br /&gt;
&lt;br /&gt;
Para este exemplo, eu utilizei o Microsoft Excel 2010.&lt;br /&gt;
&lt;br /&gt;
Assista a criação deste gráfico no YouTube: &lt;a href=&quot;http://youtu.be/fZ3vzG4eYaQ&quot;&gt;http://youtu.be/fZ3vzG4eYaQ&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://planilhasexcelentes.blogspot.com/feeds/6767822672018380029/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/grafico-condicional-grafico-estilo.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/6767822672018380029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/6767822672018380029'/><link rel='alternate' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/grafico-condicional-grafico-estilo.html' title='Gráfico condicional - Gráfico estilo velocímetro 3'/><author><name>Guto Koga</name><uri>http://www.blogger.com/profile/12460217421428600767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLKWH-w42YttbZ3Dt8h-dCwYvPoKYr__eVYQ8BJkWxIYl5jC1Z-9GsBP-ZPSuoM9Q6uEKsy-iZ6KHWZMZchjxxgbQwfYrPHT0aMpb_5t6aOtCwGNmdDM3HetCHEpYoHT1Y1A1-837vpvNJ/s72-c/Velocimetro+Condicional.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7366701808654496649.post-953192158652658259</id><published>2012-10-05T10:06:00.003-03:00</published><updated>2012-10-06T22:18:27.047-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dashboard"/><category scheme="http://www.blogger.com/atom/ns#" term="figura"/><category scheme="http://www.blogger.com/atom/ns#" term="grafico"/><category scheme="http://www.blogger.com/atom/ns#" term="Gráfico estilo velocímetro simples (Excel)"/><category scheme="http://www.blogger.com/atom/ns#" term="gráficos excel"/><category scheme="http://www.blogger.com/atom/ns#" term="imagem"/><category scheme="http://www.blogger.com/atom/ns#" term="velocimetro"/><category scheme="http://www.blogger.com/atom/ns#" term="velocímetro"/><title type='text'>Como trabalhar com imagens nos gráficos - Gráfico estilo velocímetro 2</title><content type='html'>&lt;br /&gt;
Após eu publicar o post anterior, eu pesquisei na Internet sobre sites que também explicavam como fazer um gráfico no estilo velocímetro e achei muita coisa bacana, mas ao mesmo tempo complicada e nada prática.&lt;br /&gt;
&lt;br /&gt;
Neste post vou explicar como podemos trabalhar com imagens em nossos gráficos.&lt;br /&gt;
&lt;br /&gt;
Eu iria demonstrar em um outro tipo de gráfico, mas aproveitando o gancho decidi utilizar o famoso velocímetro para a explicação.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOyNoxLfXWZXmsGNiMA5l469CVsA4dmy5ZzE1En_zX-lzo7BgX_vSEXQHBphtEgVMJTOOln1L8h65m4X5TMu6FJTPjPArmXSdGd7nJuVMafB45LmYeFdPp7cIuwij9VWswg-A9XbvKtVT3/s1600/velocimetro+1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;317&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOyNoxLfXWZXmsGNiMA5l469CVsA4dmy5ZzE1En_zX-lzo7BgX_vSEXQHBphtEgVMJTOOln1L8h65m4X5TMu6FJTPjPArmXSdGd7nJuVMafB45LmYeFdPp7cIuwij9VWswg-A9XbvKtVT3/s320/velocimetro+1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Então vamos lá.&lt;br /&gt;
&lt;br /&gt;
Neste gráfico não vamos usar sobreposição, o que vai tornar o trabalha ainda mais fácil!&lt;br /&gt;
A figura que eu arrumei traz um velocímetro de escala que vai do 20 ao 200 e uma amplitude total de 270º (no post anterior era apenas 180º), o que complica um pouco mais para gente.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbReMzfu_toJRzWWRB79ebsuvLhQvwK8WcFAv8oUv8ge5W8vPwKzV_K6grZgZ-AicO4q2QtQTa2GrGeTpuEFQhtvm7kQeNgzwlTmmZN8GbVwpFB6PrLCAa94pBscnQyfv2taGzBuUa7YUw/s1600/velocimetro.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;312&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbReMzfu_toJRzWWRB79ebsuvLhQvwK8WcFAv8oUv8ge5W8vPwKzV_K6grZgZ-AicO4q2QtQTa2GrGeTpuEFQhtvm7kQeNgzwlTmmZN8GbVwpFB6PrLCAa94pBscnQyfv2taGzBuUa7YUw/s320/velocimetro.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Bem, se considerarmos o ponto 50 e 170 do velocímetro e definirmos como 0º e 180º, fica fácil, teremos 170 - 50 = 120, exatamente como no post anterior. A cada número do velocímetro, teremos 1,5º.&lt;br /&gt;
Então, para começar eu coloquei os valores mínimo e máximo na coluna L, e o valor na célula L4.&lt;br /&gt;
Na célula N1 o valor do ângulo. Na N2 precisei adaptar o Valor para o cálculo do ângulo da seta. Ora, se considerarmos como 0 o 50 no velocímetro (0º), então é só subtrair do Valor 50. Ex. O valor em radianos do Valor 110 é ((110-50)*1,5º-270)*PI()/180 = 360*PI()/180 = 2*PI()&lt;br /&gt;
Agora é só construir o gráfico. Inserir &amp;gt; Gráficos &amp;gt; Dispersão &amp;gt; Dispersão com linhas retas e Marcadores.&lt;br /&gt;
Pronto. Agora é só formatar o gráfico de forma transparente:&lt;br /&gt;
Em Ferramentas de Gráfico, clique em Formatar&lt;br /&gt;
Em Seleção Atual, na caixa de combinação, selecione Área do Gráfico e clique em Formatar Seleção. No Preenchimento, clique em Sem preenchimento. Faça o mesmo processo em Área de Plotagem.&lt;br /&gt;
Apague as Linhas de Grade.&lt;br /&gt;
IMPORTANTE&lt;br /&gt;
Em Ferramentas de Gráfico &amp;gt; Formatar &amp;gt; EixoHorizontal (Valor) &amp;gt; Máximo &amp;gt; Mudar para o valor 1,0 &amp;gt; Mínimo para -1,0 e em Tipo de marca de escala principal e Rótulos do eixo, definir como Nenhum. Antes de fechar a janela, clique em Cor da Linha e defina como Sem linha. Repita o processo para o EixoVertical (Valor)&lt;br /&gt;
Isso garantirá que aparecerá apenas o ponteiro e que o tamanho da seta permanecerá sempre proporcional, independente do valor.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfPff-tYnBjUXpgao7McfPAASHXDvdCCn3wyYOZllUR5xCUsLZdpSQTpOJj2rK4StTq7C4NxF-fp7xi7ngvqK48L_8XVCRcD4K2Bv9bb_WEI-OL5nuF7A5LFHpxCRkGR52e4T3lrmhe5vZ/s1600/velocimetro+2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;318&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfPff-tYnBjUXpgao7McfPAASHXDvdCCn3wyYOZllUR5xCUsLZdpSQTpOJj2rK4StTq7C4NxF-fp7xi7ngvqK48L_8XVCRcD4K2Bv9bb_WEI-OL5nuF7A5LFHpxCRkGR52e4T3lrmhe5vZ/s320/velocimetro+2.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Para inserir a Figura&lt;br /&gt;
&lt;br /&gt;
Vamos deixar o gráfico proporcional a imagem.&lt;br /&gt;
Ferramentas de Gráfico &amp;gt; Formatar &amp;gt; Seleção Atual &amp;gt; Área do Gráfico &amp;gt; Formatar Seleção &amp;gt; Tamanho &amp;gt; Tamanho e rotação.&lt;br /&gt;
Podemos definir a Altura e Largura para 10 cm, por exemplo.&lt;br /&gt;
E finalmente, é só inserir a imagem&lt;br /&gt;
Ferramentas de Gráfico &amp;gt; Formatar &amp;gt; Seleção Atual &amp;gt; Área de Plotagem &amp;gt; Formatar Seleção &amp;gt; Preenchimento &amp;gt; Preenchimento com imagem ou textura.&lt;br /&gt;
&lt;br /&gt;
É isso aí, a princípio o gráfico ficou ainda mais simples de fazer. Você pode incrementar o gráfico com legendas, incluir o valor no ponteiro, mudar a figura de fundo, etc. Fica a critério da sua imaginação. Qualquer dúvida, crítica ou sugestão, deixe o seu comentário e não perca os próximos posts.&lt;br /&gt;
&lt;br /&gt;
Para este exemplo, eu utilizei o Microsoft Excel 2010.&lt;br /&gt;
&lt;br /&gt;
Veja o filme da criação deste gráfico em: &lt;a href=&quot;http://youtu.be/LM6bGMu0DmE&quot;&gt;http://youtu.be/LM6bGMu0DmE&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://planilhasexcelentes.blogspot.com/feeds/953192158652658259/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/como-trabalhar-com-imagens-nos-graficos.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/953192158652658259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/953192158652658259'/><link rel='alternate' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/como-trabalhar-com-imagens-nos-graficos.html' title='Como trabalhar com imagens nos gráficos - Gráfico estilo velocímetro 2'/><author><name>Guto Koga</name><uri>http://www.blogger.com/profile/12460217421428600767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOyNoxLfXWZXmsGNiMA5l469CVsA4dmy5ZzE1En_zX-lzo7BgX_vSEXQHBphtEgVMJTOOln1L8h65m4X5TMu6FJTPjPArmXSdGd7nJuVMafB45LmYeFdPp7cIuwij9VWswg-A9XbvKtVT3/s72-c/velocimetro+1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7366701808654496649.post-2492178196746180262</id><published>2012-10-04T15:48:00.002-03:00</published><updated>2012-10-04T15:48:14.447-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dashboard"/><category scheme="http://www.blogger.com/atom/ns#" term="grafico"/><category scheme="http://www.blogger.com/atom/ns#" term="Gráfico estilo velocímetro simples (Excel)"/><category scheme="http://www.blogger.com/atom/ns#" term="gráficos excel"/><category scheme="http://www.blogger.com/atom/ns#" term="velocimetro"/><category scheme="http://www.blogger.com/atom/ns#" term="velocímetro"/><title type='text'>Gráfico estilo velocímetro simples (Excel)</title><content type='html'>&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxk35BqdhgAdFbgOIea0WGw4FftaXqttkyVXktt6mCwogmlkmAgs3XCg47iYHehkMW7Crv09UlIrwNtIgljrc1w_tfh5Mp42IYsKB7orYWkyVx2VtPeiG3ZzuWle-Y2YooAUu22Zl0intG/s1600/Grafico+de+Velocimetro+0.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxk35BqdhgAdFbgOIea0WGw4FftaXqttkyVXktt6mCwogmlkmAgs3XCg47iYHehkMW7Crv09UlIrwNtIgljrc1w_tfh5Mp42IYsKB7orYWkyVx2VtPeiG3ZzuWle-Y2YooAUu22Zl0intG/s640/Grafico+de+Velocimetro+0.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Gráfico&amp;nbsp;de&amp;nbsp;Velocímetro&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
Para fazer este gráfico de forma simples e sem o uso de VBA, vamos utilizar dois gráficos sobrepostos.&lt;br /&gt;
O primeiro gráfico é do tipo Rosca, e o segundo do tipo X Y (Dispersão).&lt;br /&gt;
Para o primeiro gráfico, precisamos definir os valores mínimo, máximo e o valor das escalas. Neste exemplo, o velocímetro vai de 0 a 120, tendo como escala 60 (verde), 100 (amarelo) e 120 (vermelho).&lt;br /&gt;
Eu defini as células L1 até a L4 com estes valores (constantes) e a célula L6 com o valor a ser lido (variável).&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLXRn7xqgJVVY5l_9wz3Jzzv813UgT6r7MxR-kCqLYLIoZ9e31CmE1K5i1vp8DhMZ7CDXtiIqvt_m0DuU2WfFkvPqxxX0Sgi2aszKpIMsctdXCA6BKjpNppDnRE5_w8SFI2C6TcSah7ny0/s1600/Grafico+de+Velocimetro+1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLXRn7xqgJVVY5l_9wz3Jzzv813UgT6r7MxR-kCqLYLIoZ9e31CmE1K5i1vp8DhMZ7CDXtiIqvt_m0DuU2WfFkvPqxxX0Sgi2aszKpIMsctdXCA6BKjpNppDnRE5_w8SFI2C6TcSah7ny0/s1600/Grafico+de+Velocimetro+1.jpg&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Gráfico&amp;nbsp;de&amp;nbsp;Velocímetro&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Para a construção do primeiro gráfico, precisamos definir as porções das escalas. Para a primeira porção (verde) que vai de 0 a 60, o valor é 60. Para a segunda porção (amarelo) que vai de 60 a 100, o valor é 40 (100 - 60). Para a terceira porção (vermelho) que vai de 100 a 120, o valor é 20 (120 - 100). Para a quarta porção (transparente) que vai de 120 a 240, o valor é de 120. Mas porque uma quarta porção? Neste exemplo, o velocímetro é de 180º, e por este motivo nós só queremos que a metade deste gráfico, a outra parte existe, porém nós ocultamos. Para estes valores eu coloquei as fórmulas na coluna P:&lt;/div&gt;
P1 = L3 (Escala 1)&lt;br /&gt;
P2 = L4 - L3 (Escala 2 - Escala 1)&lt;br /&gt;
P3 = L2 - L4 (Valor máximo - Escala 2)&lt;br /&gt;
P4 = L2&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Selecione as células P1 até o P4, clique em Inserir &amp;gt; Outros Gráficos &amp;gt; Rosca&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Em Ferramentas de Gráfico, clique em Formatar&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Em Seleção Atual, na caixa de combinação, selecione Série1 e clique em Formatar Seleção.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Em Opções de Série, na opção Ângulo da primeira fatia, digite 270. Fará com que o nosso gráfico fique na posição desejada. Clique em OK.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
No gráfico, clique na quarta porção, ou seja, na parte de baixo do gráfico, aquela que nós não queremos que apareça, e clique em Preenchimento da Forma. Após é só clicar em Sem preenchimento.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Pronto, o primeiro gráfico está feito. Para ficar igual ao meu, é só retirar as legendas e mudar as cores para verde, amarelo e vermelho para as respectivas porções. Você pode diminuir a expessura em Opções de Série, Tamanho do Orifício da Rosca. Neste exemplo eu deixei em 70%&lt;/div&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirgWCd_jHzJX7TPIBpGIpjwEUr4jYnrn2GqqY4d3Br6dIx1P4eDtU66aeAoqrE9GmGB7xZugMXjaBXWyTp_DYt-iJjoOwKmWviMEy-CTJlvjcTar0WCtwmT1hT9Qr3-i1bIF8iVlvOvLyA/s1600/Grafico+de+Velocimetro+2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;195&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirgWCd_jHzJX7TPIBpGIpjwEUr4jYnrn2GqqY4d3Br6dIx1P4eDtU66aeAoqrE9GmGB7xZugMXjaBXWyTp_DYt-iJjoOwKmWviMEy-CTJlvjcTar0WCtwmT1hT9Qr3-i1bIF8iVlvOvLyA/s320/Grafico+de+Velocimetro+2.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Gráfico&amp;nbsp;de&amp;nbsp;Velocímetro&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Para a construção do segundo gráfico, precisamos definir para onde o ponteiro deve apontar (Valor). Primeiro, devemos definir o ângulo do ponteiro. Eu defini a célula N1 com o valor do ângulo para cada valor inteiro, ou seja 180º / Valor máximo = 1,5º. Por exemplo, se o valor lido &amp;nbsp;for de 100, o valor do ângulo será 150º. Para o valor de N2, eu escrevi a seguinte fórmula: (Valor*N1+270)*PI()/180. Para calcular o ângulo e transformar em radianos. Você pode fazer também a seguinte fórmula =RADIANOS(L6*N1+270), dá na mesma.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Para os valores do gráfico, eu coloquei nas células Q1 e Q2 o valor 0 (zero), que será a parte do ponteiro que ficará fixa. Em R1, coloquei a fórmula =sen(N2) e em R2 =cos(N2), que são os valores onde o ponteiro deve apontar.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Selecione as células Q1:R2, clique em Inserir &amp;gt; Dispersão &amp;gt; Dispersão com linhas retas e Marcadores.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Pronto. Agora é só formatar o gráfico de forma transparente:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Em Ferramentas de Gráfico, clique em Formatar&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Em Seleção Atual, na caixa de combinação, selecione Área do Gráfico e clique em Formatar Seleção. No Preenchimento, clique em Sem preenchimento. Faça o mesmo processo em Área de Plotagem.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Apague as Linhas de Grade.&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;IMPORTANTE&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Em Ferramentas de Gráfico &amp;gt; Formatar &amp;gt; EixoVertical (Valor) &amp;gt; Máximo &amp;gt; Mudar para o valor 1,0 e em Tipo de marca de escala principal e Rótulos do eixo, definir como Nenhum. Antes de fechar a janela, clique em Cor da Linha e defina como Sem linha.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Em Ferramentas de Gráfico &amp;gt; Formatar &amp;gt; EixoHorizontal (Valor) &amp;gt; Máximo &amp;gt; Mudar para o valor 1,0 &amp;gt; Mínimo para -1,0 e em Tipo de marca de escala principal e Rótulos do eixo, definir como Nenhum. Antes de fechar a janela, clique em Cor da Linha e defina como Sem linha.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Isso garantirá queaparecerá apenas o ponteiro e que o tamanho da seta permanecerá sempre proporcional, independente do valor.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-5msVAVIazALdM1gYwOyruPhtD590sTx8itZsswnfSlol6HpbqGajVq-B8wzq9j5-eiSCNRmb-MXBfJgDXrby7n0-VESFMDaKMhU9w5PpPPUe-H0XBoIws_noSjb46inkfNJXu_V6udLO/s1600/Grafico+de+Velocimetro+3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;192&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-5msVAVIazALdM1gYwOyruPhtD590sTx8itZsswnfSlol6HpbqGajVq-B8wzq9j5-eiSCNRmb-MXBfJgDXrby7n0-VESFMDaKMhU9w5PpPPUe-H0XBoIws_noSjb46inkfNJXu_V6udLO/s320/Grafico+de+Velocimetro+3.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Gráfico&amp;nbsp;de&amp;nbsp;Velocímetro&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Agora é só sobrepor o grafico 2 no gráfico 1. Uma dica é colocar o valor em 60 (90º) e colocar bem no centro da escala, e definir as extremidades para o lado interno da rosca.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjn6H93WCDpHRoXE31NhuoTxxfLuwb-TB6mT9n1X1IQ8gh4GqcW1i2ysKlaRDgJcolIufhyz1zRghTaR1ohebyl83rNzofmf8NccBfBM205HfF3HMZxUHLEbjmF81__QxGqng6NUCeBrreD/s1600/Grafico+de+Velocimetro+4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;288&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjn6H93WCDpHRoXE31NhuoTxxfLuwb-TB6mT9n1X1IQ8gh4GqcW1i2ysKlaRDgJcolIufhyz1zRghTaR1ohebyl83rNzofmf8NccBfBM205HfF3HMZxUHLEbjmF81__QxGqng6NUCeBrreD/s640/Grafico+de+Velocimetro+4.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Gráfico&amp;nbsp;de&amp;nbsp;Velocímetro&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Bem, é isso aí. Se você utilizou as minhas dicas o gráfico deve ter ficado parecido. Se algo não funcionou ou se você estiver utilizando uma versão diferente, por favor deixe um comentário.&lt;br /&gt;
&lt;br /&gt;
Para este exemplo, eu utilizei o Microsoft Excel 2010.&lt;br /&gt;
&lt;br /&gt;
Veja o filme da criação deste gráfico em:&amp;nbsp;&lt;a href=&quot;http://youtu.be/4Dk-zPUpjqs&quot;&gt;http://youtu.be/4Dk-zPUpjqs&lt;/a&gt;&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://planilhasexcelentes.blogspot.com/feeds/2492178196746180262/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/grafico-estilo-velocimetro-simples-excel.html#comment-form' title='1 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/2492178196746180262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7366701808654496649/posts/default/2492178196746180262'/><link rel='alternate' type='text/html' href='http://planilhasexcelentes.blogspot.com/2012/10/grafico-estilo-velocimetro-simples-excel.html' title='Gráfico estilo velocímetro simples (Excel)'/><author><name>Guto Koga</name><uri>http://www.blogger.com/profile/12460217421428600767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxk35BqdhgAdFbgOIea0WGw4FftaXqttkyVXktt6mCwogmlkmAgs3XCg47iYHehkMW7Crv09UlIrwNtIgljrc1w_tfh5Mp42IYsKB7orYWkyVx2VtPeiG3ZzuWle-Y2YooAUu22Zl0intG/s72-c/Grafico+de+Velocimetro+0.jpg" height="72" width="72"/><thr:total>1</thr:total></entry></feed>