Kombination S- und Wverweis

Hallo

ich suche dringend eine Funktion, die eine Art Kombination aus W- und S-verweis darstellt:

Ich habe eine Matrix

---------------Frankfurt-Berlin-Hamburg-Dresden
Anton-----------5--------3--------4----------3
Emil------------2--------7--------6----------7
Dora------------6--------7--------5----------5
Fred------------2--------2--------3----------2

und möchte mit einer Funktion aus dieser Matrix z.B. die Kombination Emil&Hamburg rausbekommen = 6.

Kann mir da jemand helfen?

Ich weiss, dass ich die Tabelle umstellen kann, die möchte ich aber nicht. Ich möchte auch kein VBA Makro nutzen.

Danke für eure Hilfe

---------------Frankfurt-Berlin-Hamburg-Dresden
Anton-----------5--------3--------4----------3
Emil------------2--------7--------6----------7
Dora------------6--------7--------5----------5
Fred------------2--------2--------3----------2

und möchte mit einer Funktion aus dieser Matrix z.B. die
Kombination Emil&Hamburg rausbekommen = 6.

Hi Thomas,

Tabellenblatt: [Mappe1]!Tabelle1
 │ A │ B │ C │ D │ E │
──┼───┼───┼───┼───┼───┤
1 │ │ F │ B │ H │ D │
──┼───┼───┼───┼───┼───┤
2 │ a │ 5 │ 3 │ 4 │ 3 │
──┼───┼───┼───┼───┼───┤
3 │ e │ 2 │ 7 │ 6 │ 7 │
──┼───┼───┼───┼───┼───┤
4 │ d │ 6 │ 7 │ 5 │ 5 │
──┼───┼───┼───┼───┼───┤
5 │ f │ 2 │ 2 │ 3 │ 2 │
──┼───┼───┼───┼───┼───┤
6 │ │ │ │ │ │
──┼───┼───┼───┼───┼───┤
7 │ 6 │ │ │ │ │
──┴───┴───┴───┴───┴───┘
Benutzte Formeln:
A7: =BEREICH.VERSCHIEBEN($A$1;VERGLEICH("e";$A$1:blush:A$5;0)-1;VERGLEICH("H";$A$1:blush:E$1;0)-1)

A1:E7
haben das Zahlenformat: Standard

Tabellendarstellung erreicht mit dem Code in FAQ:2363

Gruß
Reinhard

Hi !

/t/excel-drop-down-menue-tabelle/4644263

Das Problem war grade erst gelöst worden.

BARUL76

Hi Thomas,

Tabellenblatt: [Mappe1]!Tabelle1
│ A │ B │ C │ D │ E

──┼───┼───┼───┼───┼───┤
1 │ │ F │ B │ H │ D

──┼───┼───┼───┼───┼───┤
2 │ a │ 5 │ 3 │ 4 │ 3

──┼───┼───┼───┼───┼───┤
3 │ e │ 2 │ 7 │ 6 │ 7

──┼───┼───┼───┼───┼───┤
4 │ d │ 6 │ 7 │ 5 │ 5

──┼───┼───┼───┼───┼───┤
5 │ f │ 2 │ 2 │ 3 │ 2

──┼───┼───┼───┼───┼───┤
6 │ │ │ │ │

──┼───┼───┼───┼───┼───┤
7 │ 6 │ │ │ │

──┴───┴───┴───┴───┴───┘
Benutzte Formeln:
A7:
=BEREICH.VERSCHIEBEN($A$1;VERGLEICH(„e“;$A$1:blush:A$5;0)-1;VERGLEICH(„H“;$A$1:blush:E$1;0)-1)

A1:E7
haben das Zahlenformat: Standard

Tabellendarstellung erreicht mit dem Code in
FAQ:2363

Gruß
Reinhard

Danke. Das hat geklappt. Jedoch muss scheinbar in der zweiten Vergleich Formel nach der Zahl 1-6 gesucht werden und nicht nach H.

Thomas

=BEREICH.VERSCHIEBEN($A$1;VERGLEICH(„e“;$A$1:blush:A$5;0)-1;VERGLEICH(„H“;$A$1:blush:E$1;0)-1)

Danke. Das hat geklappt. Jedoch muss scheinbar in der zweiten
Vergleich Formel nach der Zahl 1-6 gesucht werden und nicht
nach H.

Moin Thomas,

kann ich nicht nachvollziehen, Formel ist so wie sie da steht getestet worden.

Gruß
Reinhard

Grüezi zusammen

---------------Frankfurt-Berlin-Hamburg-Dresden
Anton-----------5--------3--------4----------3
Emil------------2--------7--------6----------7
Dora------------6--------7--------5----------5
Fred------------2--------2--------3----------2

und möchte mit einer Funktion aus dieser Matrix z.B. die
Kombination Emil&Hamburg rausbekommen = 6.

=BEREICH.VERSCHIEBEN($A$1;VERGLEICH(„e“;$A$1:blush:A$5;0)-1;VERGLEICH(„H“;$A$1:blush:E$1;0)-1)

Ein wenig kürzer wird die Formel noch mit SVERWEIS():

Tabellenblatt: [MAPPE1]!Tabelle1
 │ A │ B │ C │ D │ E │
───┼───────┼───────────┼────────┼─────────┼─────────┤
 1 │ │ Frankfurt │ Berlin │ Hamburg │ Dresden │
───┼───────┼───────────┼────────┼─────────┼─────────┤
 2 │ Anton │ 5 │ 3 │ 4 │ 3 │
───┼───────┼───────────┼────────┼─────────┼─────────┤
 3 │ Emil │ 2 │ 7 │ 6 │ 7 │
───┼───────┼───────────┼────────┼─────────┼─────────┤
 4 │ Dora │ 6 │ 7 │ 5 │ 5 │
───┼───────┼───────────┼────────┼─────────┼─────────┤
 5 │ Fred │ 2 │ 2 │ 3 │ 2 │
───┼───────┼───────────┼────────┼─────────┼─────────┤
 6 │ │ │ │ │ │
───┼───────┼───────────┼────────┼─────────┼─────────┤
 7 │ │ │ │ │ │
───┼───────┼───────────┼────────┼─────────┼─────────┤
 8 │ │ │ │ │ │
───┼───────┼───────────┼────────┼─────────┼─────────┤
 9 │ Name │ Ort │ Wert │ │ │
───┼───────┼───────────┼────────┼─────────┼─────────┤
10 │ Emil │ Hamburg │ 6 │ │ │
───┴───────┴───────────┴────────┴─────────┴─────────┘
Benutzte Formeln:
C10: =SVERWEIS(A10;$A$1:blush:E$5;VERGLEICH(B10;$B$1:blush:E$1;0)+1;0)

A1:E10
haben das Zahlenformat: Standard

Mit freundlichen Grüssen
Thomas Ramel

  • MVP für Microsoft-Excel -
    [Win XP Pro SP-2 / xl2003 SP-3]