• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 342
  • Last Modified:

Help with excel cell formula

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
Matt Pinkston
Asked:
Matt Pinkston
1 Solution
 
NBVCCommented:
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now