Hello,
I have some trouble reviving the right value from a range when use 3 criteria: 2 rows and 1 column.
My sheet looks like the(just in a bigger scale)
Per Lars Per Henriette
2800 2900 2900 3100
D01 0 2 0 1
D01 1 2 3 4
D02 4 0 5 6
D01 0 1 5 6
D03 1 6 4 1
D05 2 1 2 3
D06 8 5 9 7
I want to return the following values by using the formulas below:
D01 Per 2800 = SUMIF($A$3:$A$9;D01;INDEX($B$3:$E$9;0;MATCH(Per;$B$1:$E$1;0)*MATCH(2800;$B$2:$E$2;0))) Returns the sum: 1
D01 Lars 2900 = SUMIF($A$3:$A$9;D01;INDEX($B$3:$E$9;0;MATCH(Lars;$B$1:$E$1;0)*MATCH(2900;$B$2:$E$2;0))) Returns the sum: 11
D01 Per 2900 = SUMIF($A$3:$A$9;D01;INDEX($B$3:$E$9;0;MATCH(Per;$B$1:$E$1;0)*MATCH(2900;$B$2:$E$2;0))) Returns the sum: 5
What is wrong with this formula? Should I use another formula?
Please help
I have some trouble reviving the right value from a range when use 3 criteria: 2 rows and 1 column.
My sheet looks like the(just in a bigger scale)
Per Lars Per Henriette
2800 2900 2900 3100
D01 0 2 0 1
D01 1 2 3 4
D02 4 0 5 6
D01 0 1 5 6
D03 1 6 4 1
D05 2 1 2 3
D06 8 5 9 7
I want to return the following values by using the formulas below:
D01 Per 2800 = SUMIF($A$3:$A$9;D01;INDEX($B$3:$E$9;0;MATCH(Per;$B$1:$E$1;0)*MATCH(2800;$B$2:$E$2;0))) Returns the sum: 1
D01 Lars 2900 = SUMIF($A$3:$A$9;D01;INDEX($B$3:$E$9;0;MATCH(Lars;$B$1:$E$1;0)*MATCH(2900;$B$2:$E$2;0))) Returns the sum: 11
D01 Per 2900 = SUMIF($A$3:$A$9;D01;INDEX($B$3:$E$9;0;MATCH(Per;$B$1:$E$1;0)*MATCH(2900;$B$2:$E$2;0))) Returns the sum: 5
What is wrong with this formula? Should I use another formula?
Please help