Solved

Excel index match formula not working

Posted on 2014-09-17
3
179 Views
Last Modified: 2014-09-17
I am trying to use Excel's index match functions to pull data from one spreadsheet into another. For now, I am trying to get it to work with the data in a separate tab, but eventually I would like to pull the data in from a separate file.

The spreadsheet with input data looks like this:
input
The spreadsheet with the output/formulas looks like this:
output
This is the formula that I am using, but it is returning a #VALUE! error.

=INDEX(extract!$D$2:$D$2000,MATCH($B1&$A2,extract!$A$2:$A$2000&extract!$B$2:$B$2000&extract!$C$2:$C$2000,0),1)

Open in new window

0
Comment
Question by:mariita
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 500 total points
ID: 40328107
I wouldn't use INDEX - I would use SUMIFS instead.

The code for A2 would be

=SUMIFS(input!D:D,input!C:C,$A2,input!B:B,B$1)
0
 

Author Comment

by:mariita
ID: 40328123
A2 is part of the header. The above formula belongs in cell B2. Would SUMIFS still apply?
0
 
LVL 24

Expert Comment

by:Phillip Burton
ID: 40328174
I meant B2 (oops).
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Search data on excel sheet 11 38
Array problem 6 49
Excel hyperlinks - add custom and dynamic text to email body 2 30
I NEED KEEP THE CONDITIONAL  FORMATTING 24 26
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question