Trouble with Index & Match

G

Guest

Hello,
I have 3 columns.
Columns;
A = ID
B = status
C = data
On another sheet I need to match the ID and Status then return the data.
Each ID has several records each with separate status and data.
Playing with formula currently…

Appreciatively,
Andrew
 
P

Peo Sjoblom

=INDEX(C2:C100,MATCH(1,(A2:A100="ID")*(B2:B100="status"),0))

entered with ctrl + shift & enter



If the data in C is numerical you can use SUMPRODUCT instead


=SUMPRODUCT(--(A2:A100="ID"),--(B2:B100="status"),C2:C100)
 
P

Peo Sjoblom

Example 4 would do that, however if the values in C are numerical it is
better and easier to use the SUMPRODUCT formula
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top