#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
paul
 
Posts: n/a
Default Combo boxs

you would have to use travis's approach where the combo box triggers a lookup
or if statement
--
paul
remove nospam for email addy!



" wrote:

I don't know if there is a way to directly accomplish this with a combo
box, but you could achieve the same effect easily enough, if there are
only a few possibilities, Lunch and Tea could be responses from an IF
statement.

=IF(A1="Breakfast","Lunch",IF(A1="Another combo result","Something
different"))

Nest a few of those if you have more alternatives.

If its more than a few IFs, I'd use vlookup, take the cell A1 (which in
this case is "Breakfast") and look up breakfast in the table to see
what goes next to it. So B1 and C1 would use the following formulae:

=vlookup(A1,[range with a few options corresponding to the combo
items],2,false)
=vlookup(A1,[range with a few options corresponding to the combo
items],3,false)

Travis


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nesting Combo Boxes /Returning an Array ELMONDO SNITHER Excel Discussion (Misc queries) 1 June 30th 05 01:15 AM
Dynamic Combo Box benjarfer Excel Worksheet Functions 2 April 8th 05 02:17 PM
connecting combo boxes to yield data in another cell. TxN8tv Excel Discussion (Misc queries) 0 March 14th 05 04:07 PM
"Combo Box - getting control combo box to stick in place in worksh ajr Excel Discussion (Misc queries) 1 February 16th 05 02:05 AM
dynamic combo boxes tjb Excel Worksheet Functions 2 January 25th 05 07:33 PM


All times are GMT +1. The time now is 11:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"