filter and sum changing values

NeedExcelHelp2021

New Member
Joined
Apr 17, 2021
Messages
35
Office Version
  1. 365
Platform
  1. Windows
Hello Hope Everyone Is Doing Well,


I was hoping someone might be kind enough to help me with a formula.

I'm trying to (Filter Cell A) and (Sum Cell E) but the values changes In Cell E when I Filter Cell A, I need a formula to filter and sum the changed values without have to filter.

I tried using =sum(filter but didn't work.

I'd be grateful for any help Thanks!

figure 1= unfiltered
Book1
ABCDEFGHIJ
1200920102011
2column 1column 2column 3column 4$ 10,000$ 10,000$ 2,570$ 2,946$ 505
32009313919240.10$ 326.30$ 10,326
420095793950.52$ 302.73$ 10,629
52009-3533530.60$ (212.58)$ 10,416
620097406550.32$ 235.36$ 10,652
72009224210200.21$ 468.26$ 11,120
82009297211920.19$ 554.51$ 11,675
9200910446880.34$ 354.31$ 12,029
102009214217200.14$ 299.60$ 12,329
112009-185218520.13$ (246.57)$ 12,082
122009230811420.21$ 488.36$ 12,570
1320105284150.61$ 319.86$ 12,890
14201011505790.45$ 512.04$ 13,402
152010144111120.24$ 347.35$ 13,750
162010256914760.19$ 478.63$ 14,228
17201010536260.45$ 478.67$ 14,707
182010-2422421.22$ (294.14)$ 14,413
1920104062781.04$ 420.98$ 14,834
2020106603720.80$ 526.36$ 15,360
212010-3223220.95$ (307.20)$ 15,053
2220105453540.85$ 463.49$ 15,516
2320117223111.00$ 720.44$ 16,237
242011184913500.24$ 444.77$ 16,682
252011-6516510.51$ (333.63)$ 16,348
2620112812601.26$ 353.37$ 16,701
272011-5685680.59$ (334.03)$ 16,367
282011-3663660.89$ (327.34)$ 16,040
2920115335550.58$ 308.08$ 16,348
302011-1471472.22$ (326.96)$ 16,021
Sheet1
Cell Formulas
RangeFormula
H2H2=SUM(FILTER(E3:E30,A3:A30=H1))
I2I2=SUM(FILTER(E3:E30,A3:A30=I1))
J2J2=SUM(FILTER(E3:E30,A3:A30=J1))
D3:D30D3=(F2*0.02)/C3
E3:E30E3=D3*B3
F3:F30F3=SUBTOTAL(9,$E$2:E3)


figure = filtered
Book1
ABCDEFGHIJ
1200920102011
2column 1column 2column 3column 4$ 10,000$ 10,000$ 2,340$ 2,344$ 428
1320105284150.48$ 254.46$ 10,254
14201011505790.35$ 407.34$ 10,662
152010144111120.19$ 276.32$ 10,938
162010256914760.15$ 380.76$ 11,319
17201010536260.36$ 380.79$ 11,700
182010-2422420.97$ (233.99)$ 11,466
1920104062780.82$ 334.90$ 11,801
2020106603720.63$ 418.73$ 12,219
212010-3223220.76$ (244.39)$ 11,975
2220105453540.68$ 368.72$ 12,344
32
33
Sheet1
Cell Formulas
RangeFormula
H2H2=SUM(FILTER(E3:E30,A3:A30=H1))
I2I2=SUM(FILTER(E3:E30,A3:A30=I1))
J2J2=SUM(FILTER(E3:E30,A3:A30=J1))
D13:D22D13=(F12*0.02)/C13
E13:E22E13=D13*B13
F13:F22F13=SUBTOTAL(9,$E$2:E13)
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
It looks like the SUBTOTAL formula you are using in column F is causing the problem.
Try changing it to:
=SUM($E$2:E3)
 
Upvote 0
Thanks for replying


when i use SUM instead of SUBTOTAL the values don't change, I want the values to change.

In figure 1 the cells or unfiltered the total for 2010=2946
In figure 2 the cells or filtered the total for 2010=2344

i would like to have a formula get this result In figure 2 without have to filter the cells , if this is possible.
 
Upvote 0

Forum statistics

Threads
1,215,043
Messages
6,122,816
Members
449,095
Latest member
m_smith_solihull

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