简体   繁体   中英

ComboBox linked cell display in excel

Within Workbook1 , I have 2 Sheets, for simplicity I'll call them Sheet1 and Sheet2 .

On Sheet1 I have a Combo Box called ComboBox1 , the Combo Box has values in it from cells A1:A114 . The linked cell for the Combo Box is G13 on Sheet1 .

My issue is, when I pick a value from the Combo Box, I want a value to appear in the linked cell from Sheet2 .

For example, if I select the value from A1 in Sheet1 , then the value of Sheet2!$D$2 appears in the linked cell (G13) .

Any thoughts?

You can't do this directly - the linked cell has to hold the value of the ComboBox. However, if you don't mind an additional step, then the following formula in any other cell on Sheet1 will give the result you want:

=INDEX(Sheet2!$D$2:$D$115,MATCH($G$13,$A$1:$A$114,0))

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM