Hi ,
I am not sure that this is what you want. See if it is OK.
Narayan
Try,
In C14, formula copy across and down :
=SUMPRODUCT(VLOOKUP(T(IF({1},$D$4:$D$9)),$G$5:$K$7,MATCH($B14,$G$4:$K$4,0),0)*($C$4:$C$9=C$13)*$E$4:$E$9)
Regards
Bosco
Hi,Hi ,
Another option would be the following array formula , to be entered using CTRL SHIFT ENTER :
=SUM(SUMIFS($E$4:$E$9,$D$4:$D$9,$G$5:$G$7,$C$4:$C$9,C$13) * INDEX($G$5:$K$7,,MATCH($B14,$H$4:$K$4,0)+1))
Enter this in C14 , and copy across and down.
Narayan
Hi ,
Try this :
=SUMPRODUCT(HLOOKUP(T(IF({1},$D$4:$D$9)),$G$4:$K$8,MATCH($B14,$G$4:$G$8,0),0)*($C$4:$C$9=C$13)*$E$4:$E$9)
Narayan
Hi ,
That depends on how the total is supposed to match.
If the row totals are 100% , then the row totals in the output will be correct.
If the column totals are 100% , then the column totals will be correct.
For both to be correct , both the row totals and the column totals have to equal 100%.
Narayan
Hi ,
Please mention what should be the totals for Chennai , Mumbai and Delhi for A1 i.e. what should be the totals of C15 , D15 , E15 ?
Narayan