PDA

View Full Version : How to use a drop down menu/list and option button to populate a worksheet.



twinny
2011-08-05, 09:18 AM
Hello All,

Please i need help (macros) with this presentation i am working on. I have two worksheets(presentation and data) in my workbook(sample sheet). The data worksheet contains the all the data needed by the presentation worksheet. I need help to use the option button and dropdown menu to populate the presentation worksheet.
Please find attached the sample sheet for better understanding of this.

Any assistance rendered will be highly appreciated.

Thank you


twinny

Bob Phillips
2011-08-05, 11:30 AM
Try this formula

=INDEX(Data!$4:$9,MATCH(Presentation!$C$4,Data!$A$4:$A$9,0),($D$1-1)*8+COLUMN(A$1)+1)

twinny
2011-08-05, 12:29 PM
Thanks so much. It worked well.

Bob Phillips
2011-08-05, 04:17 PM
Just noticed, you don't need the MATCH

=INDEX(Data!$4:$9,$C$1,($D$1-1)*8+COLUMN(A$1)+1)

jpr73
2011-08-06, 02:39 PM
Hello All,
I propose an alternativ way.
Transfert the data with pivot table to build a new table.
Then using the new table build a pivot table with the desired fields.
See http://www.pivot-table.com/excel-pivot-tables/fix-pivot-table-source-data-for-better-results
198
Best regards