I have many items to input into my selection list in my worksheet. Hence, I
came up with the Combo Box (from FORM under Toolbars) function.
In addition, based on the "answer" selected from the combo box, I need to
generate the other details based on this "answer".
Is it possible to incorporate my Combo Box selection "answer" as my
lookup_value in my Vlookup function. If yes, how do i proceed?
Thank you!
|
|
0
|
|
|
|
Reply
|
Utf
|
4/5/2010 7:25:01 AM |
|
You can use a couple of cells to get the value from the DropDown (from the Forms
toolbar).
If you rightclick on that dropdown, then choose Format Control, you can go to
the control tab and assign a linked cell (in an out of the way location--or even
a hidden worksheet).
But this linked cell returns an index into that list.
You can use a formula like this to return the value:
(say in B1)
=if(a1="","",index(sheet2!a:a,a1,0))
Where A1 is the linked cell and sheet2 column A contains the list for the
dropdown.
Then you can use this hidden cell in your =vlookup()
=if(b1="","",vlookup(b1,sheet99!a:e,5,false)
But depending on what you're returning and how you're using it in the =vlookup()
formula, you may need to use =indirect() (say you're returning the worksheet
name that contains the table for the =vlookup():
=if(b1="","",vlookup(x999,indirect("'"&b1&"'!a:e"),5,false)
KH wrote:
>
> I have many items to input into my selection list in my worksheet. Hence, I
> came up with the Combo Box (from FORM under Toolbars) function.
>
> In addition, based on the "answer" selected from the combo box, I need to
> generate the other details based on this "answer".
>
> Is it possible to incorporate my Combo Box selection "answer" as my
> lookup_value in my Vlookup function. If yes, how do i proceed?
>
> Thank you!
--
Dave Peterson
|
|
0
|
|
|
|
Reply
|
Dave
|
4/5/2010 12:16:20 PM
|
|
With the combo box from the Forms toolbox you can 'link' it to a cell so that
when you pick a value in the combo box, that value is placed into the linked
cell. You could then reference that cell in your VLookup formula.
Right-click on the combo box and choose [Format Control] and then use the
[Control] tab to set the address of the linked cell. You can probably
double-click on the combo box and have it pull up the [Format Control] dialog
also, if you have the Forms toolbox displayed when you double-click on it.
"KH" wrote:
> I have many items to input into my selection list in my worksheet. Hence, I
> came up with the Combo Box (from FORM under Toolbars) function.
>
> In addition, based on the "answer" selected from the combo box, I need to
> generate the other details based on this "answer".
>
> Is it possible to incorporate my Combo Box selection "answer" as my
> lookup_value in my Vlookup function. If yes, how do i proceed?
>
> Thank you!
|
|
0
|
|
|
|
Reply
|
Utf
|
4/5/2010 12:24:01 PM
|
|
|
2 Replies
348 Views
(page loaded in 0.039 seconds)
Similiar Articles: Vlookup not working to merge workbooks? - microsoft.public.excel ...Initially Excel opens up a box for me to ... can be solved using the COLUMN() function. Replace =VLOOKUP($A1 ... Vlookup not working to merge workbooks? - microsoft.public.excel ... Using VLookup with 2 Workbooks - microsoft.public.excel.worksheet ...Vlookup not working to merge workbooks? - microsoft.public.excel ... ... two workbooks and trying to perform a Vlookup function. ... down box into a user form. The drop down box ... How do I create a drop down box within a drop down box ...... tried a nested if function and have too many (I have 9) I tried to enter the following in a neighboring cell (b1) =vlookup(a1 ... Form with Dropdown Combo Box ... How can I lookup when match has more than one value? - microsoft ...Hi, I'm doing a Vlookup match function and it works, but what I want to do is get the second match of a value. eg: .....1st.....2nd... Index, match, multiple IFs query - microsoft.public.excel ...... F7,FIVE,0),5) > > > > > > I need to combine ... I am trying to use the VLOOKUP function over multiple ... Query based on combo box ... Excel - Vlookup Or Index / Match For ... Populating Row with dates - microsoft.public.excel.worksheet ...These cells then allow my Vlookup function and graph to operate solely for that ... for an SS_ID, it displays row(s) of SAR_ID(s) and SCR ... an unbound text box ... Excel File search function - microsoft.public.excel.misc ...Even I checked the box under tools/edit/show paste ... Hi, I have a mail merge document that gets its ... Learn how to use Excel to use the VLOOKUP function to search ... Part Number Lookup - microsoft.public.access... the form:> > '~~~~~> Private Function ... beside of the words After Update in the combo box ... Part Number Lookup - microsoft.public.access vlookup ... How to look up a value in a list and return multiple corresponding ...No values will appear unless I go into the insert menu and click function, but ... I need for the control to take up the ... results of the combo box to find the ... How to add another field to a max query result without grouping ...How to select query fields based on Combo box? - microsoft.public ... How to ... How can I nest MAX function inside a VLOOKUP? - microsoft.public ... How to add another field ... Answer : How to combine Combo Box function with Vlookup functionHow to combine Combo Box function with Vlookup function - answer - I have many items to input into my selection list in my worksheet. Hence, I came up with the Combo ... How to combine Combo Box function with Vlookup function - ExcelBanterExcel Worksheet Functions ... I have many items to input into my selection list in my worksheet. Hence, I came up ... You can use a couple of cells to get the value ... How to combine Combo Box function with Vlookup functionI have many items to input into my selection list in my worksheet. Hence, I came up with the Combo Box (from FORM under Toolbars) function. In How to combine Combo Box function with Vlookup functionI have many items to input into my selection list in my worksheet. Hence, I came up with the Combo Box (from FORM under Toolbars) function. In addition, based on ... How to combine a vlookup with a sumif function!!!How to combine Combo Box function with Vlookup function: KH: Microsoft Excel Worksheet Functions: 2: 5th Apr 2010 01:24 PM: combine Vlookup with the Right function 7/25/2012 3:25:01 PM
|