View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default How do I set up a combo box to select one value but pas an other .

You could use Data=Validation to display wire sizes. Then in your
formula, use the vlookup function to find the selected wire in a table and
return the multiplier.

See Debra Dalgleish's site for information on using Data Validation
http://www.contextures.com/tiptech.html

Data validation is found under D

look in Excel Help for the information on Vlookup. It would require a table
like

Wire Multiplier
aaa 2.1
bbb 3.5
ccc 4.0


as an example.

--
Regards,
Tom Ogilvy

"exkiller" wrote in message
...
I have an Excel sheet setup to do a calculation based on a wire size.
Each wire size has a value to use for a multiplier for the formula.

Is there a way that I can set it up so that I can select a wire size from

a
combo box and through that selection pass the value associated with that

wire
size to my formula?

Thanks in advance