VLOOKUP aus Gliederungsdaten - Excel-Tipps

Inhaltsverzeichnis

Jemand, der einen Excel-Zertifizierungstest absolvierte, hat eine Frage verpasst. Sie versuchten, die Frage zu überdenken. Es erfordert keine verrückte Array-Formel. Eine einfache IFNA wird es lösen. Während es viele Möglichkeiten gibt, alles in Excel zu lösen, werden manchmal die einfachsten Wege übersehen.

Schau Video

Automatisch generiertes Transkript

  • Willkommen zurück, es ist Zeit für einen anderen
  • Duell Excel Podcast Ich bin Bill Jelen
  • Ich werde von Mike begleitet
  • Gerber aus Excel ist einer unserer
  • Folge 189 vlookup aus Gliederungsdaten
  • Hey, ich redigiere Teile dieser Frage
  • aber es ist eine gute Frage
  • leider haben meine freunde das ich genommen
  • kann nicht wieder welche Prüfung ablegen und hatte sie noch
  • Ein Problem mit dieser Frage haben wir
  • hat eine Tabelle erstellt, um die zu spiegeln
  • Frage, wir sind völlig ahnungslos
  • Formel Die Antwort muss der Name sein
  • das Land nicht wahr oder falsch am meisten
  • Mit freundlichen Grüßen und dass ich ihren Namen redigiert habe
  • aber es gibt fünf von ihnen, die es versuchen
  • um das in Ordnung zu bringen, hier ist die
  • Frage, wie man eine Spalte 1 erstellt
  • Erstellen Sie eine Ansicht, wenn Spalte a hat
  • Leerzeichen, mit denen ich Spalte B füllen möchte
  • das Land und hier ist unsere Nachschlagetabelle
  • so vom Code zum Land
  • Zum Beispiel wird a2 Afghanistan sein und
  • das wird sich bis auf 10 wiederholen
  • und dann kommen wir zu einer neuen Axt
  • das OL Anandi Island 11 bis 18 Beispiel von
  • Die erwarteten Ergebnisse sind hier in Ordnung
  • Oh hey, ich fühle deinen Schmerz, aber du bist es
  • Überdenken Sie alles, was läuft
  • das kann dir den Namen der Prüfung nicht sagen
  • wird nicht so schwer sein wie du
  • machen das so, wie es sein muss
  • super einfach gleich vlookup machen wenn du machst
  • Nachschlagen finden Sie ein F in dieser Nachschlagetabelle
  • hier F 4 Komma 2 Komma so falsch
  • perfekt richtig und das funktioniert dafür
  • Reihe und für Reihe 11, aber es wird nicht
  • Arbeite für die anderen Reihen in Ordnung, also gerecht
  • in wirklich einfachem Klartext hey Excel
  • Wenn Sie eine n / a bekommen, greifen Sie einfach die vorherige
  • Wert aus dieser Spalte, was auch immer Sie
  • über mir gefunden bring das hier runter so
  • wir kommen gleich wieder hierher, wenn na das ist
  • was sie testen, wenn na brandneu ist
  • in Excel 2013
  • Die Jungs, die den Test geschrieben haben, wollen
  • Stellen Sie sicher, dass Sie wissen, ob ich weiß
  • das Ende davon, wenn wir ein n / a als bekommen
  • Was ich will, ist der Wert von oben
  • mir so in diesem Fall, dass Zelle b1 mag
  • das und wir werden das nicht auf alle kopieren
  • von unseren Reihen und gut einfügen so die
  • Erstens funktioniert das Lookup, das zweite
  • eine die vlookup funktioniert also nicht wenn na
  • schnapp dir Afghanistan von oben und so
  • geht den ganzen Weg nach unten und greift nach dem Wert
  • von knapp über mir bis es den bekommt
  • das funktioniert und dann schaltet es und
  • Schalter und Schalter und Schalter
  • nichts schweres hier hast du versucht
  • mach es diesem Test zu schwer, den ich nicht kann
  • Sagen Sie, der Name des Tests ist nie
  • wird so schwer sein
  • Suche nach der einfachen Lösung Mike lass uns
  • Sehen Sie, was Sie haben
  • danke ja ja wenn ein a und
  • vlookup ist der Weg zu Excel 2013 oder
  • später denke ich, das ist es, was die Prüfung ist
  • Leute suchen jetzt werde ich gehen
  • rüber zum nächsten Blatt und mach etwas
  • total lächerlich diese formel wahrscheinlich
  • wird nicht einmal von verstanden werden können
  • die Leute, die Ihre Prüfung jetzt benoten, was
  • Ich möchte in dieser Spalte tun, während ich kopiere
  • Die Formel unten ist eine regelmäßige verwenden
  • vlookup aber ich will intern in der
  • Formel Ich möchte, dass die Formel immer bekommt
  • das letzte Textelement, während ich die Formel kopiere
  • runter also wenn ich zu dieser Zelle und dieser komme
  • Zelle in dieser Zelle befindet sich der letzte Text
  • Wert, aber wenn ich hierher komme, muss es
  • Habe das so und so
  • boom boom boom der nachschlagewert noch
  • muss auf diese Axt und die zurückblicken
  • Ich werde das tun, indem ich das benutze
  • ursprüngliche Suchfunktion Dies ist die
  • ursprüngliche Funktion, die Bricklin und
  • Frank Stand in die erste Version gestellt
  • von visie calc weg vor vlookup und 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
  • Diese Formel würden sie eigentlich nicht sagen
  • habe eine Ahnung, dass das eigentlich wäre
  • Arbeit Ich möchte mich bei allen bedanken, die aufhören
  • Bis zum nächsten Mal
  • für ein weiteres Duell Excel Podcast aus
  • MrExcel Excel macht Spaß

Download-Datei

Laden Sie die Beispieldatei hier herunter: Duel189.xlsx

Interessante Beiträge...