vlookup in two condition

  • Thread starter Thread starter val via OfficeKB.com
  • Start date Start date
V

val via OfficeKB.com

Hi,

I have problem with using vlookup function fo the following case
A B C
1 from to amount
2 jkt cape 1
3 jkt bdg 2
4 smg bdg 3
5 smg bdg 7

What is the formula if I want tolook up from jkt to bdg the result would be
2.

Thanks
 
Hi

=SUMPRODUCT(--($A$1:$A$1000="jkt"),--($B$1:$B$1000="bgd"),$C$1:$A$1000)
 

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

Back
Top