Search code examples
excelexcel-formuladropdown

Populate column based on dropdown selection


Screenshot

I have an Excel worksheet with two tables: Table 1 serves as a summary table and table 2 has 12 columns each representing a month. In table 2 I have unique data stored under each month. I have a dropdown list above one of the table 1 columns and this dropdown list consist of the month names.

I want to select a month from the dropdown list and have the data of that month stored in table 2 to basically mirror in table 1 for summary.

Is this possible and if so how?


Solution

  • I put my Table2 in A1 through L18 and my Table1 in column N. In N1 enter the drop-down and in N2 enter:

    =INDEX(A$2:L$18,ROWS($1:1),MATCH($N$1,A$1:L$1,0))
    

    and copy down:

    enter image description here