I am looking to copy data to a master list on the same worksheet from a database of names based on the value of a certain cell.
Please see the attached spreadsheet to follow along.
Cell C2 contains a list (created from Data Validation) based on the column headers in cells E2:I2.
I would like this sheet to copy data to cell B5 and below based on the list number that has been selected in cell C2.
For example, if "List 1" is selected, I should see "John" in cell B5, "David" in cell B6 and so on.
I left cell I2 as "Manual" in the list in cell B2 as I would like all the names in B5 and below to be cleared so that the user could enter any names manually.
I've tried my best at doing this by using many IF statements in the macro, but to no avail whatsoever. I'm also sure there is a way to do this using the VBA equivalent of index/match, but I don't have the expertise to do it.
Any help is immensely appreciated!
Bookmarks