VLOOKUP de Outline Data - Excel Tips

Alguém que fez um teste de certificação do Excel errou uma pergunta. Eles estavam tentando refletir sobre a questão. Não requer uma fórmula de matriz insana. Um simples IFNA resolverá isso. Embora haja muitas maneiras de resolver tudo no Excel, às vezes as maneiras mais simples passam despercebidas.

Assistir vídeo

Transcrição gerada automaticamente

  • bem vindo de volta é hora de outro
  • duelando o podcast do excel, sou Bill Jelen
  • de eu terei a companhia de Mike
  • Gerber do Excel é um dos nossos
  • episódio 189 vlookup de dados de contorno
  • ei, estou redigindo partes desta questão
  • mas é uma ótima pergunta
  • infelizmente meus amigos pegaram que eu
  • não posso fazer o exame novamente e ainda tinha
  • um problema com esta questão que temos
  • criou uma planilha para espelhar o
  • questão, estamos totalmente sem noção sobre isso
  • fórmula a resposta deve ser o nome de
  • o país não é verdadeiro ou falso mais
  • sinceramente e que eu editei seu nome
  • mas há cinco deles que estão tentando
  • para descobrir isso bem, então aqui está o
  • questão de como criar uma coluna 1 como
  • crie um vlookup quando a coluna a tiver
  • espaços em branco que desejo preencher a coluna B com
  • o país e aqui está nossa tabela de pesquisa
  • do código para o país assim
  • por exemplo, a2 será o Afeganistão e
  • isso vai se repetir até 10
  • e então chegaremos a um novo machado que será
  • o exemplo de OL Anandi Island 11 a 18 de
  • os resultados esperados estão bem aqui
  • oh ei eu sinto sua dor, mas você é
  • pensando demais nisso tudo que está ligado
  • que não pode te dizer o nome do exame
  • não vai ser tão difícil quanto você
  • estão fazendo isso ser tem que ser
  • super simples igual vlookup vá fazer se você
  • procure encontre um F nesta tabela de pesquisa
  • aqui F 4 vírgula 2 vírgula falsa assim
  • perfeito certo e isso funciona para isso
  • linha e para a linha 11, mas não vai
  • trabalhe para as outras linhas, então apenas
  • em inglês puro e simples ei Excel
  • se você conseguir um n / a, pegue o anterior
  • valor desta coluna seja o que for que você
  • encontrado acima de mim, traga isso aqui para baixo,
  • voltamos aqui iguais se não for
  • o que eles estão testando se nd for novo
  • no Excel 2013
  • os caras que escreveram o teste querem
  • certifique-se de saber o se eu sei em
  • o fim disso, se conseguirmos um n / a do que
  • o que eu quero é o valor logo acima
  • eu, então, neste caso, aquele celular b1 gosta
  • isso e não vamos copiar para todos
  • das nossas linhas e cole tudo bem, então o
  • o primeiro o vlookup funciona o segundo
  • um o vlookup não funciona, então se na
  • pegue o Afeganistão de cima de mim e
  • vai todo o caminho agarrando o valor
  • logo acima de mim até chegar a um
  • que funciona e então muda e
  • interruptores e interruptores e interruptores
  • nada difícil aqui você estava tentando
  • torne esse teste muito difícil que eu não consigo
  • dizer que o nome do teste nunca é
  • vai ser tão difícil
  • procure a solução fácil Mike vamos
  • veja o que você tem
  • obrigado, sim, se um a e
  • vlookup são o caminho para o Excel 2013 ou
  • depois eu acho que é o que o exame
  • as pessoas estão procurando agora eu vou
  • passar para a próxima folha e fazer algo
  • totalmente ridículo esta fórmula provavelmente
  • nem será capaz de ser compreendido por
  • as pessoas que avaliam seu exame agora o que
  • Gostaria de fazer nesta coluna enquanto copio
  • a fórmula para baixo é usar um regular
  • vlookup, mas eu quero internamente dentro do
  • fórmula que eu quero que a fórmula sempre obtenha
  • o último item de texto enquanto copio a fórmula
  • para baixo, então quando eu chegar a esta célula e este
  • célula nesta célula há o último texto
  • valor, mas quando eu chegar aqui, ele precisa
  • tenha isso como uma aparência e então
  • boom boom boom o valor de pesquisa ainda
  • precisa olhar para trás para aquele machado e o
  • maneira que vou fazer isso é usar o
  • função de pesquisa original, esta é a
  • função original que Bricklin e
  • Frank se posicionou na primeira versão
  • de visie calc antes de vlookup e H
  • lookup and the lookup function only does
  • approximate match lookup it doesn't do
  • exact or approximate like vlookup the
  • advantage to approximate match lookup is
  • in the lookup value if you put a value
  • that's bigger than anything in the
  • actual array or result vector it'll
  • always get the last one so watch this
  • for the lookup value I'm going to end
  • double quotes and so I'm looking up text
  • I'm zze now I'm using zze because I know
  • none of the ISO
  • country codes will ever start with Z Z Z
  • so this is going to be bigger than
  • anything ever entered into this column
  • now comma and I'm using the array
  • version I'm gonna click on cell a2 colon
  • close parentheses click on the first a
  • to hit the f4 key to lock it just the
  • first cell reference now as I copy this
  • down that blue range will expand since
  • all of these cells are empty Z Z Z will
  • always return a F because that's the
  • last text item in the column control
  • enter notice that's a lookup value as I
  • copy down now inside of our formula we
  • actually have the correct lookup value
  • all the way down if we come down to some
  • cell and hit f2 you can see there's the
  • expandable range and sure enough lookup
  • is getting the last text item entered
  • now I'm going to come to the top f2 that
  • whole thing is the lookup value that I'm
  • going to use inside a vlookup now I come
  • to the end comma table array I come over
  • to a lookup table highlight the table
  • I've up here in the formula bar and hit
  • f4 comma 2 because the second column has
  • the thing I need to get come 0 that
  • means exact match close parentheses
  • control enter and I'm gonna copy it all
  • the way down and look at that now f2
  • that's much too complicated that's a
  • crazy formula when all you need is if
  • and a and vlookup however there is a
  • situation I'm gonna go over to XLS one
  • two here there is a situation where this
  • will get you into trouble and if I copy
  • this down notice it's all Afghanistan
  • and look at that what is going on there
  • well we actually if we put this in edit
  • mode there's an extra space there so
  • there's some situations where we
  • actually want to see the n/a air so if
  • that was possibly the case then we'd
  • need to use a slightly different f2
  • logical test now I'm going to click on
  • value and copy that because that's the
  • vlookup we're still gonna use that ctrl
  • C escape and I'm going to use a
  • different logical test this is how we
  • had to do it before Excel 2013 is blank
  • now is blank only will deliver a true
  • when it sees a cell is totally empty
  • close parentheses if it is blank like it
  • is down here comma then what do I want
  • to look one cell above comma otherwise
  • control V do the vlookup close
  • parentheses control enter
  • double click and send it down so in that
  • case we are prompted we know that
  • there's a problem here now I can come
  • here backspace enter and now everything
  • works and I'm gonna copy it down control
  • home that formula is a little bit longer
  • than just if an a we had to use three
  • functions but in some circumstances you
  • might want to take the extra time to
  • create this longer formula then if n/a
  • and vlookup I'm sure on the test that
  • either one of those will work but this
  • is the one you probably don't wanna use
  • all right I'm gonna throw it back to mr.
  • Excel well I ate Mike those were a
  • couple of cool formulas but again I
  • think the test was looking for the easy
  • way the if na and like you said if you
  • realmente colocariam aquela fórmula que eles não iriam
  • tenho uma pista de que isso realmente
  • trabalho eu quero agradecer a todos parando
  • para parar viável, vejo você na próxima vez
  • para outro podcast duelo de excel de
  • MrExcel excel é divertido

⇬ Fazer download do arquivo

Baixe o arquivo de amostra aqui: Duel189.xlsx

Artigos interessantes...