Creating a Matrix

Bingo58

New Member
Joined
Mar 20, 2002
Messages
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.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
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.
 
Upvote 0
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
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
1,213,535
Messages
6,114,198
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top