Microsoft
Software
Hardware
Network
Question : How do I find a value in an Excel matrix using column and row headers?
I need to develop a lookup/reference function that can return the value located at the intersection of two values in an Excel matrix. I've attached a very simple Excel spreadsheet with an example.
For example, given the row value "Tom" and the column value "Week-2," I want the function to return the value 3. The only thing that comes to mind is some sort of elaborate function using VLOOKUP and HLOOKUP ... I'm certain there is a much simpler method. By the way, the respective row and column numbers would be unique ... although they may not be sorted. Plus, the entire matrix is in named range called "Database."
Any ideas?
Thanks,
Mark
Answer : How do I find a value in an Excel matrix using column and row headers?
mix of index and match. see template.
23671745-Matrix-Example.xls
(20 KB)
(File Type Details)
solution
Random Solutions
Error: Scaling of decimal value resulted in data truncation
How to use two values in a VB.NET ComboBox
Automating Word Docs
Application has generated an exception that could not be handled
Cannot rename reports in Access 2007 runtime - bug?
How to make a field in the header of a form the first tab stop?
Trigger on Table?
Set size and position of a form
How to automate adding a query to Excel 2007 spreadsheet?
How Do I make a bootable Nt CDROM, for install and example of unattend install files