Hi all,
Long time lurker and first time poster because I always find my solution here. How ever I am trying to create a SUM/SUBTOTAL for my report so when I filter the results, the subtotal shows me only those results. this is my configuration.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]ROWS[/TD]
[TD]Column B[/TD]
[TD]Column C[/TD]
[TD]Column D[/TD]
[TD]Column E[/TD]
[TD]Column F[/TD]
[TD]Column G[/TD]
[/TR]
[TR]
[TD="align: center"]1 (FILTER)[/TD]
[TD="align: center"]STORE CODE[/TD]
[TD="align: center"]Brand[/TD]
[TD="align: center"]SUBCHAIN[/TD]
[TD="align: center"]CHAIN[/TD]
[TD="align: center"]SHOWROOM NAME[/TD]
[TD="align: center"]RESULTS $[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]1111111[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]MODERN[/TD]
[TD="align: center"]WALMART[/TD]
[TD="align: center"]WALMART NY[/TD]
[TD="align: right"]1,000[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]22222[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]MODERN[/TD]
[TD="align: center"]TESCO[/TD]
[TD="align: center"]TESCO XX[/TD]
[TD="align: right"]999[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]22224[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]LOCAL[/TD]
[TD="align: center"]WALMART[/TD]
[TD="align: center"]WALMART CA[/TD]
[TD="align: right"]545[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]444141[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]LOCAL[/TD]
[TD="align: center"]TESCO[/TD]
[TD="align: center"]TESCO YY[/TD]
[TD="align: right"]54,454[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: center"]12321[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]LOCAL[/TD]
[TD="align: center"]7/11[/TD]
[TD="align: center"]7/11 XX[/TD]
[TD="align: right"]10,149[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD="align: center"]454545[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]LOCAL[/TD]
[TD="align: center"]AMAZON[/TD]
[TD="align: center"]AMAZON ONLINE[/TD]
[TD="align: right"]99,999[/TD]
[/TR]
</tbody>[/TABLE]
Now before I was using a simple formula to filter by results by brand using this formula.
=SUMIF($C$2:$C$33162,"BRAND B",G2:G33162)
Now I want to use sumif and subtotal on my filter on the column so for example if I need to filter the results for "MODERN" Subchain and "TESCO" Stores only. I tried different combinations of sumif and subtotal but I think I need to use SUMPRODUCT formula. Can anyone help me to resolve my issue, or even understand it sorry English is not my native language.
Long time lurker and first time poster because I always find my solution here. How ever I am trying to create a SUM/SUBTOTAL for my report so when I filter the results, the subtotal shows me only those results. this is my configuration.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]ROWS[/TD]
[TD]Column B[/TD]
[TD]Column C[/TD]
[TD]Column D[/TD]
[TD]Column E[/TD]
[TD]Column F[/TD]
[TD]Column G[/TD]
[/TR]
[TR]
[TD="align: center"]1 (FILTER)[/TD]
[TD="align: center"]STORE CODE[/TD]
[TD="align: center"]Brand[/TD]
[TD="align: center"]SUBCHAIN[/TD]
[TD="align: center"]CHAIN[/TD]
[TD="align: center"]SHOWROOM NAME[/TD]
[TD="align: center"]RESULTS $[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]1111111[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]MODERN[/TD]
[TD="align: center"]WALMART[/TD]
[TD="align: center"]WALMART NY[/TD]
[TD="align: right"]1,000[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]22222[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]MODERN[/TD]
[TD="align: center"]TESCO[/TD]
[TD="align: center"]TESCO XX[/TD]
[TD="align: right"]999[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]22224[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]LOCAL[/TD]
[TD="align: center"]WALMART[/TD]
[TD="align: center"]WALMART CA[/TD]
[TD="align: right"]545[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]444141[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]LOCAL[/TD]
[TD="align: center"]TESCO[/TD]
[TD="align: center"]TESCO YY[/TD]
[TD="align: right"]54,454[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: center"]12321[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]LOCAL[/TD]
[TD="align: center"]7/11[/TD]
[TD="align: center"]7/11 XX[/TD]
[TD="align: right"]10,149[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD="align: center"]454545[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]LOCAL[/TD]
[TD="align: center"]AMAZON[/TD]
[TD="align: center"]AMAZON ONLINE[/TD]
[TD="align: right"]99,999[/TD]
[/TR]
</tbody>[/TABLE]
Now before I was using a simple formula to filter by results by brand using this formula.
=SUMIF($C$2:$C$33162,"BRAND B",G2:G33162)
Now I want to use sumif and subtotal on my filter on the column so for example if I need to filter the results for "MODERN" Subchain and "TESCO" Stores only. I tried different combinations of sumif and subtotal but I think I need to use SUMPRODUCT formula. Can anyone help me to resolve my issue, or even understand it sorry English is not my native language.