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.
Random Solutions  
 
programming4us programming4us