Forum Discussion

UnknownBob's avatar
UnknownBob
Copper Contributor
Nov 22, 2020
Solved

Berechnung je nach Auswahl im Dropdownmenü

Hallo, ich habe eine Liste mit zwei Spalten, in der ersten Spalte steht ein Bezeichner (also ein Wort) und in der zweiten Spalte steht eine Zahl. Jetzt möchte ich gerne ein Dropdown erstellen in sag...
  • HansVogelaar's avatar
    Nov 22, 2020

    UnknownBob 

    Let's say the list is in K2:L50.

     

    Select the cells in column A in which you want a dropdown, for example A1:A10.

    On the Data tab of the ribbon, click Data Validation.

    Select List from the Allow dropdown.

    Specify K2:K50 (the first column of your list) as Source.

    Click OK.

    Enter the following formula in B1:

     

    =IFERROR(VLOOKUP(A1,$K$2:$L$50,2,FALSE),"")

     

    =WENNFEHLER(SVERWEIS(A1;$K$2:$L$50;2;FALSCH);"")

     

    Fill down to the last used row (B10 in the above example)

Resources