Solved

Help with excel cell formula

Posted on 2014-01-16
1
328 Views
Last Modified: 2014-01-17
I have an existing formula

=IFERROR(INDEX(mapping!C:C,MATCH('all deals'!C2,mapping!A:A,0)),"")

It looks at my existing tab column C and the mapping tab column A and pulls in mapping column C when there is a match

I need the formula to also make sure that existing tab column J equals mapping column B

so for it to pull across mapping column C
- mapping column A must equal existing tab column C
and
- mapping column B must equal existing tab column J
0
Comment
Question by:Matt Pinkston
1 Comment
 
LVL 23

Accepted Solution

by:
NBVC earned 500 total points
ID: 39786255
Try:

=IFERROR(INDEX(mapping!$C$1:$C$1000,MATCH(1,INDEX((mapping!$A$1:$A$1000='all deals'!C2)*(mapping!$B$1:$B$1000='all deals'!J2),0),0)),"")

Notice that I didn't use whole columns, as this type of formula is less efficient than your original.

If th column C values are numeric, then you can use SUMIFS, eg.

=SUMIFS(mapping!C:C,mapping!A:A,'all deals'!C2,mapping!B1:B1000,'all deals'!J2)

or you can concatenate columns A and B on your mapping sheet, then reference them in a regular INDEX/Match formula with C2&J2 concatenated as lookup values....
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
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 will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

777 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