SUM IF AND subtotal & filter dates

L

Legacy 450260

Guest
Hello i have list of fruits salles

i want when i filter by date it show the total of each fruits salles


t9FyL0s.png
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Hi Try this:


Book1
DEFGHIJKLM
1NameSales
2Name 1843
3Name 2239
4
5
6
7
8DateSalesName
96/1/2019140Name 1
106/1/2019135Name 2
116/3/2019188Name 1
126/4/2019138Name 4
136/5/2019120Name 1
146/6/2019150Name 6
156/2/2019104Name 2
166/1/2019109Name 1
176/9/2019134Name 9
186/10/2019132Name 10
196/11/2019146Name 1
206/12/2019120Name 12
216/13/2019132Name 13
226/14/2019140Name 1
Sheet4
Cell Formulas
RangeFormula
M2{=SUM(IF($F$9:$F$22=L2,SUBTOTAL(109,OFFSET($E$9,ROW($E$9:$E$22)-ROW($E$9),))))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
is the formula in the formula bar showing within curly brackets ? If not enter the formula and press ctrl+shift+enter
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,825
Messages
6,181,190
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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