Hi,
I'm looking for some code that will select entries in a table based on the criteria in two cells and then copy the selected entries into another table. The two tables are on different sheets. Hopefully the pic below is fairly self-explanatory. So, in the example, the yellow cells in the 'Results' wksht are the criteria (which will vary) and when a different question is selected from a dropdown list in cell C20 (Criteria 2) I would like the vba to execute - it will take the two criteria, go and find the relevant information in the table in the 'Comments' wksheet and then paste them into cells C25 down. The table columns will vary in their number of entries/rows populated. The questions will be fixed in position from B4:Z4.
Hope you can help?
I'm looking for some code that will select entries in a table based on the criteria in two cells and then copy the selected entries into another table. The two tables are on different sheets. Hopefully the pic below is fairly self-explanatory. So, in the example, the yellow cells in the 'Results' wksht are the criteria (which will vary) and when a different question is selected from a dropdown list in cell C20 (Criteria 2) I would like the vba to execute - it will take the two criteria, go and find the relevant information in the table in the 'Comments' wksheet and then paste them into cells C25 down. The table columns will vary in their number of entries/rows populated. The questions will be fixed in position from B4:Z4.
Hope you can help?