Forum Discussion

ezequiel2235's avatar
ezequiel2235
Icon for Microsoft rankMicrosoft
Mar 04, 2020
Solved

Build a dynamic list based on other cell value

Hi,   I have a list of 5000 records with names of cities (list 1). The user needs to select one but given the size of the list it is difficult to find it. Is it possible to build something that c...
  • SergeiBaklan's avatar
    SergeiBaklan
    Mar 04, 2020

    ezequiel2235 

    "Legacy" variant

    =IFERROR(INDEX(cities[City],AGGREGATE(15,6,1/(LEFT(cities[City],LEN($C$2))=$C$2)*(ROW(cities[City])-ROW(cities[[#Headers],[City]])),ROW()-ROW($E$4))),"")

    (regular formula, just drag it down)

    I'd modify the Filter as

    =FILTER(cities[City],LEFT(cities[City],LEN($C$2))=$C$2,"No match")

Resources