| View previous topic :: View next topic |
| Author |
Message |
jasondodd General User

Joined: 25 Mar 2005 Posts: 20 Location: Colo, Iowa
|
Posted: Thu Jul 13, 2006 9:50 pm Post subject: Multiple columns in combo box problem |
|
|
Hi all,
Quick question on something I've found I can't do. In M$ excel, I frequently use a combo box displaying the contents of column1 while reporting the contents of column2 into a linked cell. (in excel, this is the bound column of a 2-column count)
I can't find a way to show the info from one column in a table in the combo box while reporting the corresponding value from column 2 into the linked cell. Is this possible? Thanks
Example table
Retail 5%
Early 7%
Late 10%
(be able to pick Retail, Early, or Late from the combo box, while reporting 5,7, or 10% to the linked cell.
Jason |
|
| Back to top |
|
 |
RickRandom Super User

Joined: 27 Jan 2006 Posts: 1082 Location: UK
|
Posted: Thu Jul 13, 2006 10:33 pm Post subject: |
|
|
Can you describe how you do this in Excel? Then someone here can probably "translate" your method into Calc.
In either program, I'd probably use VLOOKUP(). |
|
| Back to top |
|
 |
jasondodd General User

Joined: 25 Mar 2005 Posts: 20 Location: Colo, Iowa
|
Posted: Fri Jul 14, 2006 4:09 am Post subject: |
|
|
sure,
In excel, you create the combo box, then go to it's properties. There you similarly list the list range source, and the linked cell, but in excel's properties, you have the abilility to say number of columns, bound column(the one to report to the linked cell), and column widths(can specify with widths to only show one). The main difference is that in excel this is using a VB control and not a form control I believe.
Thanks! |
|
| Back to top |
|
 |
Villeroy Super User


Joined: 04 Oct 2004 Posts: 10065 Location: Germany
|
|
| Back to top |
|
 |
|