ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I put combo box values into cells (without using @CHOOSE) (https://www.excelbanter.com/excel-worksheet-functions/133904-how-do-i-put-combo-box-values-into-cells-without-using-%40choose.html)

LongTermNoob

How do I put combo box values into cells (without using @CHOOSE)
 
I am using a combo box to select from a very long list. In order to save
repeating the process of selecting from the combo box on each sheet in the
workbook I would like to transfer the value displaid in the first combo into
a cell on each of the other sheets. The list is too long to use the @CHOOSE
function.

Any ideas?

Thanks.

vezerid

How do I put combo box values into cells (without using @CHOOSE)
 
On Mar 8, 2:06 pm, LongTermNoob
wrote:
I am using a combo box to select from a very long list. In order to save
repeating the process of selecting from the combo box on each sheet in the
workbook I would like to transfer the value displaid in the first combo into
a cell on each of the other sheets. The list is too long to use the @CHOOSE
function.

Any ideas?

Thanks.


Go to a cell in another worksheet where you would want your value
transfered. Type =. Without cancelling the editing process, navigate
to the sheet with the combo box and point to the linked cell. Click
and press Enter. Repeat for the other sheets. If it is the same cell
(e.g. F3) in all other sheets, then you can select all the other
shifts (Shift+click on the sheet tab) and do the process once.

HTH
Kostis Vezerides


LongTermNoob

How do I put combo box values into cells (without using @CHOOS
 
Thanks, but that copies the corresponding list value, not the actual value in
the combo box, and I would then need to use @CHOOSE to get the corresponding
data. As I said - the list is way too long for that!


"vezerid" wrote:

On Mar 8, 2:06 pm, LongTermNoob
wrote:
I am using a combo box to select from a very long list. In order to save
repeating the process of selecting from the combo box on each sheet in the
workbook I would like to transfer the value displaid in the first combo into
a cell on each of the other sheets. The list is too long to use the @CHOOSE
function.

Any ideas?

Thanks.


Go to a cell in another worksheet where you would want your value
transfered. Type =. Without cancelling the editing process, navigate
to the sheet with the combo box and point to the linked cell. Click
and press Enter. Repeat for the other sheets. If it is the same cell
(e.g. F3) in all other sheets, then you can select all the other
shifts (Shift+click on the sheet tab) and do the process once.

HTH
Kostis Vezerides



vezerid

How do I put combo box values into cells (without using @CHOOS
 
On Mar 8, 3:04 pm, LongTermNoob
wrote:
Thanks, but that copies the corresponding list value, not the actual value in
the combo box, and I would then need to use @CHOOSE to get the corresponding
data. As I said - the list is way too long for that!

"vezerid" wrote:
On Mar 8, 2:06 pm, LongTermNoob
wrote:
I am using a combo box to select from a very long list. In order to save
repeating the process of selecting from the combo box on each sheet in the
workbook I would like to transfer the value displaid in the first combo into
a cell on each of the other sheets. The list is too long to use the @CHOOSE
function.


Any ideas?


Thanks.


Go to a cell in another worksheet where you would want your value
transfered. Type =. Without cancelling the editing process, navigate
to the sheet with the combo box and point to the linked cell. Click
and press Enter. Repeat for the other sheets. If it is the same cell
(e.g. F3) in all other sheets, then you can select all the other
shifts (Shift+click on the sheet tab) and do the process once.


HTH
Kostis Vezerides


Ahh, I see. CHOOSE is one option. But you can also use VLOOKUP. You
can have a column of numbers (1, 2, 3,...) before your range that
contains the labels of your combo box. Then, if a combo box is linked
to a cell, say F3, where the index number of the label is stored, you
can retrieve the label with:

=VLOOKUP(F3,Labels!A:B,2,0)

Here we assume that the labels are in sheet called Labels and that the
values were moved to column B:B after inserting the numbers in column
A:A.

Does this help?
Kostis


LongTermNoob

How do I put combo box values into cells (without using @CHOOS
 
Yes it does. I hadn't considered using VLOOKUP. I have some awkward mods to
do to my table, but it should work fine.

Thanks for the help,

"vezerid" wrote:

On Mar 8, 3:04 pm, LongTermNoob
wrote:
Thanks, but that copies the corresponding list value, not the actual value in
the combo box, and I would then need to use @CHOOSE to get the corresponding
data. As I said - the list is way too long for that!

"vezerid" wrote:
On Mar 8, 2:06 pm, LongTermNoob
wrote:
I am using a combo box to select from a very long list. In order to save
repeating the process of selecting from the combo box on each sheet in the
workbook I would like to transfer the value displaid in the first combo into
a cell on each of the other sheets. The list is too long to use the @CHOOSE
function.


Any ideas?


Thanks.


Go to a cell in another worksheet where you would want your value
transfered. Type =. Without cancelling the editing process, navigate
to the sheet with the combo box and point to the linked cell. Click
and press Enter. Repeat for the other sheets. If it is the same cell
(e.g. F3) in all other sheets, then you can select all the other
shifts (Shift+click on the sheet tab) and do the process once.


HTH
Kostis Vezerides


Ahh, I see. CHOOSE is one option. But you can also use VLOOKUP. You
can have a column of numbers (1, 2, 3,...) before your range that
contains the labels of your combo box. Then, if a combo box is linked
to a cell, say F3, where the index number of the label is stored, you
can retrieve the label with:

=VLOOKUP(F3,Labels!A:B,2,0)

Here we assume that the labels are in sheet called Labels and that the
values were moved to column B:B after inserting the numbers in column
A:A.

Does this help?
Kostis




All times are GMT +1. The time now is 05:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com