Skip to main content

How to lookup a value in a 3D table in Excel?

Author Sun Last modified

The Lookup function is usually used to look up for a value based on one or multiple criteria, but if there is a 3D table in an Excel sheet, how can you find the intersecting result based on the criteria using the Lookup function as below screenshot shown?

A screenshot of a 3D table example in Excel used to demonstrate the Lookup function

Lookup a value in 3D table in Excel


Lookup a value in 3D table in Excel

To find a value based on criteria in a 3D table, you just need two formulas.

1. Firstly, you need one helper column with one formula to connect criteria 1 and 2. Insert one column after column B, type this formula =A3&B3 in cell C3, and then drag the fill handle over the cells that need this formula.

A screenshot showing the formula =A3&B3 being used in Excel to create a helper column in a 3D table

In the formula, A2 and B3 are the criteria 1 and 2 in the 3D table.

2. Then in a blank cell, type this formula =P2&P3, in the formula, P2 and P3 are the criteria 1 and 2 you want to look up a value based on.

A screenshot showing how criteria are set in the 3D table for the lookup operation
Arrow down
A screenshot of data being prepared in the 3D table to use the lookup function

3. Then in the cell you want to place the result, type this formula =INDEX(D2:L12,MATCH(O6,C2:C12,0),MATCH(P4,D2:L2,0)), press the Enter key.

A screenshot showing the formula being entered to find the result in Excel

In the formula, D2:L12 are the cells which you want to get result from, and O6 is the combination of criteria 1 and 2 as displayed in step 2, C2:C12 is the range contains the first formula, P4 is the criteria 3, D2:L2 is the cells contain criteria 3.

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

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!