A B C
1 PROD1 TYPE1 VAL1
2 PROD2 TYPE1 VAL2
3 PROD1 TYPE2 VAL3
4 PROD2 TYPE3 VAL2
In an empty cell I want to get the value in C column for the Prod Type= Prod2 and type = type3.
I will appreciate any kind of help.
A B C
1 PROD1 TYPE1 VAL1
2 PROD2 TYPE1 VAL2
3 PROD1 TYPE2 VAL3
4 PROD2 TYPE3 VAL2
In an empty cell I want to get the value in C column for the Prod Type= Prod2 and type = type3.
I will appreciate any kind of help.
Have a look at using the DGET Excel function.
Set
Then your provided data in A2:C5
Then
And lastly
H3 = =DGET(A1:C5,"Val",H1:I2)
That should get the value for you.
=SUMPRODUCT(($A$1:$A$4="PROD2")*($B$1:$B$4="TYPE3")*($C$1:$C$4))
This assumes that column C values are actually numbers and not text.