Filtered Countif / Subtotal?

CuriousForge

New Member
Joined
Aug 20, 2018
Messages
24
Target: Blue Cell
Q. I want to filter dates and derive the counts of the Item & Decision as a total. I want the total to change each time the date is filtered. So that's two criteria's based on which a total needs to be derived.
___________________________________________

iGmxMD6
GhUFnyn.jpg
iGmxMD6


I am at my wits end with AGGREGATE & cant get my mind to do the SUMPRODUCT(SUBTOTAL etc required for this to work. Silent lurker since a year. It would be immensely helpful if someone could help.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Hi,

Try this and see if it helps:

Book1
ABCDE
1Date InDate OutNameItemDecision
218-8-201831-10-2018JohnWatchApproved
431-8-201831-10-2018MirandaiPaddeclined
512-9-201831-10-2018JoeMobileApproved
615-9-201831-10-2018ChrisMobiledeclined
717-9-201831-10-2018ShawnMobiledeclined
85-10-201831-10-2018ChloeiPaddeclined
921-10-201831-10-2018KristyWatchApproved
10
11iPadWatchMobile
12Approved0213
13Declined2024
Sheet1
Cell Formulas
RangeFormula
B12=SUMPRODUCT(SUBTOTAL(3,OFFSET($D$2:$D$9,ROW($D$2:$D$9)-MIN(ROW($D$2:$D$9)),,1)),ISNUMBER(SEARCH(B$11,$D$2:$D$9)*SEARCH($A12,$E$2:$E$9))+0)
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,209
Members
453,022
Latest member
RobertV1609

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