Solved

Return value in C where A and B match on both sheets.

Posted on 2014-12-31
2
75 Views
Last Modified: 2014-12-31
Hi,

I prematurely accepted an answer for a problem to return the value in C of sheet1 where A and B match on two different sheets. The following formula will return a value but not from the row that has the match.

=INDEX('Sheet1'!C:C,MATCH(A2&B2,'Sheet2'!A:A&'Sheet2'!B:B,0))

Attached is an example sheet.

Thanks,

swjtx99
Example.xlsx
0
Comment
Question by:swjtx99
2 Comments
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 500 total points
ID: 40525892
Try this array formula

=SUM(IF((A2='Sheet1 PL'!$A$1:$A$10)*(B2='Sheet1 PL'!$B$1:$B$10),('Sheet1 PL'!$C$1:$C$10)))
0
 

Author Closing Comment

by:swjtx99
ID: 40525906
Thanks Saqib,

Regards,
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

856 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