Jack
Member
Hi everyone, I have a problem I have been trying to solve with SUMPRODUCT but you might have other ideas or come across the same situation.
In summary and in simple terms, I want to use an intermediate conversion table to summarise data:
data -> prod no -> higher level prod grouping (defined in a separate table)
Data in sheet 1 starting at E11
Prod Details
100 $200
101 $230
100 $400
105 $102
101 $130
goes on for 100 lines
In sheet2 I have a table defining the relationship from prod to high level grouping
Prod Desc Higher Level Grouping
100 desc ABC
101 desc DFG
105 desc ABC
and so on at B6:D17 for 12 products
I want to summarise by the Higher level product grouping as follows using the little mapping table above
So answer Summary starting at F34 in sheet2
ABC $702
DFG $350
I have reasons why I can't add the higher level grouping to the data in sheet1 (which is not mine)...plus I find this situation is common for ad hoc reporting and would be a great tool in the toolbox.
Just to illustrate the problem further my formula that isn't working
= SUMPRODUCT((Data!$E$11:$E$100=((B$6:$B$17)*(D6:D27=F34))*(Data!$I$11:$I$1000))
Note it doesn't have to be SUMPRODUCT.
Thanks
John
In summary and in simple terms, I want to use an intermediate conversion table to summarise data:
data -> prod no -> higher level prod grouping (defined in a separate table)
Data in sheet 1 starting at E11
Prod Details
100 $200
101 $230
100 $400
105 $102
101 $130
goes on for 100 lines
In sheet2 I have a table defining the relationship from prod to high level grouping
Prod Desc Higher Level Grouping
100 desc ABC
101 desc DFG
105 desc ABC
and so on at B6:D17 for 12 products
I want to summarise by the Higher level product grouping as follows using the little mapping table above
So answer Summary starting at F34 in sheet2
ABC $702
DFG $350
I have reasons why I can't add the higher level grouping to the data in sheet1 (which is not mine)...plus I find this situation is common for ad hoc reporting and would be a great tool in the toolbox.
Just to illustrate the problem further my formula that isn't working
= SUMPRODUCT((Data!$E$11:$E$100=((B$6:$B$17)*(D6:D27=F34))*(Data!$I$11:$I$1000))
Note it doesn't have to be SUMPRODUCT.
Thanks
John