How to use two-way lookup formula in Excel?
Two-way lookup will be used when you look up a value at the intersection corresponding to given row and column values. For instance, you have a table with multiple rows and column headers, and which value you want to lookup is the intersection at column 5-Jan and row AA-3 as below screenshot shown. This article will tell you how to use this two-way lookup formula in Excel.
Two-way lookup with formulas
To lookup the intersection of a given row and column, you need to follow below steps:
1. List the column and row headers you want to look up at, see screenshot:
2. In the cell you want to place the lookup value, select one formula from below:
=INDEX(A1:I8,MATCH(L1,A1:A8,0),MATCH(L2,A1:I1,0))
=SUMPRODUCT((A1:A8=L1)*(A1:I1=L2),A1:I8)
=VLOOKUP(L1,$A$1:$I$8,MATCH(L2,B1:I1,0)+1,FALSE)
Tips:
(1) A1:A8 is the column range, L1 is the row header you want to look up in the column range, A1:I1 is the row range, L2 is the column header you want to find in the row range, A1:I8 is the whole range of the data, you can change as you need)
(2) The formula =SUMPRODUCT((A1:A8=L1)*(A1:I1=L2),A1:I8) will return 0 if the lookup value is text.
3. Press Enter key, the intersection corresponding of the specific column and row has been found.
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
