![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 6
|
Who out there knows anything about creating a "Matrix" (in a hidden sheet) where the user inputs data on a front end sheet and what is entered looks at the matrix and delivers a calculated answer. I am stumped as to where to start.
|
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
See the Excel Help topic for "About lookup and reference functions".
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2002
Posts: 6
|
Mark,
Many thanks for your very promt reply. Do you know of any working examples that I can get Idea's from. I know it looks like I am cheating but I need to see what can be done, I learn quicker that way, as I am such a beginner in this field. |
|
|
|
|
|
#4 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
As you "drill down" through the Help topics you'll see that the specific help topic for each function (e.g., INDEX, VLOOKUP) includes an Example section. I recommend that you familiarize yourself with each of the lookup formulas listed in the Help topic for "About lookup and reference functions". If you have any questions about the use of these functions please post 'em here. I'm sure someone will be eager to assist/clarify.
[ This Message was edited by: Mark W. on 2002-03-21 08:59 ] |
|
|
|
|
|
#5 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Central Florida, USA
Posts: 7,541
|
This code will display all the models in the inventory list on sheet1, for a size entered by the user on sheet1, in the search cell on sheet1 cell F4. The list of all the models in the inventory on sheet1 that are in the size entered in F4, will be listed on sheet2.
This is a filtered lookup and not a true matrix operation but it may fit for what you are doing. In the future you needed to provide a sample of the data and the solution for us to be certain. So I guessed. JSW Sub myFind() 'Find by size With Worksheets("Stock") .AutoFilterMode = False .Range("A1").AutoFilter .Range("A1").AutoFilter Field:=1, Criteria1:=Range("F4"), VisibleDropDown:=False .UsedRange.SpecialCells(xlCellTypeVisible).Copy _ Destination:=Sheets("Found").Cells(1, 1) Application.CutCopyMode = False .AutoFilterMode = False End With Sheets("Found").Select Range("A1").Select End Sub |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|