I have the following information:
_____A___ _|______B_______|_______C_____
1 | CODIGO | CONCEPTO | VALOR
2 | 111222 | con1 | 12000
3 | 111222 | con2 | 11000
4 | 111222 | con3 | 5000
5 | 333444 | con1 | 10000
6 | 333444 | con3 | 8000
7 | 555666 | con1 | 70000
8 | 555666 | con2 | 30000
9 | 555666 | con4 | 60000
What I want to do is a new table in the following way (for con1):
_____AA___________AB____________________________________
1 | CODIGO | con1 | con2 | con3 | con4
2 | 111222 | =INDICE(A1:C8;COINCIDIR(AA2;A1:A8;0);COINCIDIR(AB1;B1:B8;0);3)
3 | 333444 | | | |
4 | 555666 | | | |
What I want would give me this result:
_____AA___________AB____________________________________
1 | CODIGO | con1 | con2 | con3 | con4
2 | 111222 | 12000 | | |
3 | 333444 | 10000 | | |
4 | 555666 | 70000 | | |
I was dealing with the function INDEX and MATCH
=INDICE(A1:C8;COINCIDIR(AA2;A1:48;0);COINCIDIR(AB1;C1:C8;0);3)
so for con2 it's just changing the formula.
Thanks for the attention.