Need help simplifying an Equation with 63 variants

Ordonius

New Member
Joined
Aug 18, 2014
Messages
9
Hello Everyone,

I have once came to this forum with a complicated case and had great results, so Im Back.

I have a tremendous Raw Data, and I want to be summarize it in a front page as so:

<style type="text/css"><!-- body,div,table,thead,tbody,tfoot,tr,th,td,p { font-family:"Liberation Sans"; font-size:x-small } --> </style>
SubRegionN-Africa
CountryUnited Kingdom
SINone
Product FamilyNone
Family SegmentAddon
RenewalYES
3Year DealYES
CountryUnited Kingdom FY13Qty of PO FY13% of TotalUnited Kingdom FY14Qty of PO FY14% of TotalUnited Kingdom FY15Qty of PO FY15% of Total
Q11,551,446 €9931.11%3,243,153 €11647.45%4,495,647 €12352.89%
Q22,373,125 €12051.58%1,301,569 €11226.08%1,375,537 €14021.15%
Q31,819,876 €12846.18%3,265,357 €13048.68%
Q43,270,126 €10348.58%4,139,968 €8651.77%
Total9,014,573 €45044.49%11,950,047 €44445.04%5,871,184 €26339.14%

<colgroup width="132"></colgroup> <colgroup width="186"></colgroup> <colgroup width="137"></colgroup> <colgroup width="106"></colgroup> <colgroup width="203"></colgroup> <colgroup width="113"></colgroup> <colgroup width="132"></colgroup> <colgroup width="181"></colgroup> <colgroup span="2" width="132"></colgroup> <tbody>
</tbody>

<tbody>
</tbody>


The first set are drop down boxes which govern the Data shown on the Box Below, so far I have managed to set the equations to return the variations in: COUNTRY, SI and PRODUCT FAMILY, with the following equation: =IF($C$5="None",SUMPRODUCT((ISNUMBER(MATCH('2013 Q1'.$T$2:$T$2000,$C$6,0))),'2013 Q1'.$B$2:$B$2000),(IF($C$6="None",SUMPRODUCT((ISNUMBER(MATCH('2013 Q1'.$C$2:$C$2000,$C$5,0))),'2013 Q1'.$B$2:$B$2000),SUMPRODUCT((ISNUMBER(MATCH('2013 Q1'.$C$2:$C$2000,$C$5,0)*MATCH('2013 Q1'.$T$2:$T$2000,$C$6,0))),'2013 Q1'.$B$2:$B$2000)))) for the Currency value, and for the Quantities I am using =IF($C$6="None",SUMPRODUCT((Sheet20.$AC$2:$AC$5000=$C$5)*(Sheet20.$K$2:$K$5000=U1)*1),(IF($C$5="None",SUMPRODUCT((Sheet20.$K$2:$K$5000=U1)*(Sheet20.$AE$2:$AE$5000=$C$6)*1),SUMPRODUCT((Sheet20.$AC$2:$AC$5000=$C$5)*(Sheet20.$K$2:$K$5000=U1)*(Sheet20.$AE$2:$AE$5000=$C$6)*1)))).

Now I will have 63 Permutations in total, is there an easier to do this which I am not seeing? I am also afraid that using the total of 63 permutations will crash the program.


Thanks for taking the time to read and I /bow to the one that can help

Ord
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Forum statistics

Threads
1,214,987
Messages
6,122,613
Members
449,090
Latest member
vivek chauhan

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top