Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
I've a file (Book1.xls) with a list of items placed in a combo box and there are all together 9 items, for example, AAA, BBB, CCC, DDD, EEE, FFF, GGG, HHH, III. In this file also, I need to display the monthly data regarding each item and those data are stored in another file in table format (Book2.xls). All of the data are placed in different sheet according to respective item range from cell A5:T12, which mean data of AAA item is in AAA sheet in Book2.xls. I would like the table data in Book1.xls change accordingly when the option in combox box cahnged by looking up the data in respective sheet in Book2.xls. Previously, I've tried out using IF Function but the nested level can only go up to 7 layers; so, there is still has one option being left out!!! After that, I did try out using Hlookup Function but it made the things work even tidious cause there is no "decision-making" feature embedded in this function; and whenever the option in combo box changed, it would cause errors once the data couldn't be found / matched!!! Thus, is there any other way to handle this problem??? Or macro is needed to be created??? Anyone out there could advise???? Thanking in advance. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You have a few choices.
1. You can build a formula that combines all that information and drop it into a cell, then pick up that value from the cell. ='C:\My Documents\Excel\[book1.xls]Sheet1'!$A$1 (You could use a cell on a hidden worksheet if you want.) 2. You could retrieve values from a closed workbook using a routine from John Walkenbach: http://j-walk.com/ss/excel/eee/eee009.txt Look for either: GetDataFromClosedFile or GetValue. 3. You could use a formula that uses an addin from Laurent Longre (morefunc.xll): http://xcell05.free.fr/ That includes =indirect.ext() ==== But if you use excel's =indirect(), then the sending workbook has to be open--else you'll get an error. Jac wrote: Hi, I've a file (Book1.xls) with a list of items placed in a combo box and there are all together 9 items, for example, AAA, BBB, CCC, DDD, EEE, FFF, GGG, HHH, III. In this file also, I need to display the monthly data regarding each item and those data are stored in another file in table format (Book2.xls). All of the data are placed in different sheet according to respective item range from cell A5:T12, which mean data of AAA item is in AAA sheet in Book2.xls. I would like the table data in Book1.xls change accordingly when the option in combox box cahnged by looking up the data in respective sheet in Book2.xls. Previously, I've tried out using IF Function but the nested level can only go up to 7 layers; so, there is still has one option being left out!!! After that, I did try out using Hlookup Function but it made the things work even tidious cause there is no "decision-making" feature embedded in this function; and whenever the option in combo box changed, it would cause errors once the data couldn't be found / matched!!! Thus, is there any other way to handle this problem??? Or macro is needed to be created??? Anyone out there could advise???? Thanking in advance. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Check Box's | Excel Discussion (Misc queries) | |||
Sum of Values Based on Criteria in Another File | Excel Worksheet Functions | |||
In Excel I need to set up a combo box based on another combo box. | Excel Discussion (Misc queries) | |||
Combo Box "LinkedCell" option | Excel Discussion (Misc queries) | |||
Check/Tick box's and Mandatory cells | Excel Discussion (Misc queries) |