Counting filtered with size parameter

Pete sheets

New Member
Joined
Feb 10, 2025
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi All.

Hoping you could help with the below.
I need to be able to filter to a department manager and then the highlighted boxes tell me the number of departments that are up on last year and down on last year. Countif is fine until you filter by the department manager and then it doesn't change. Aggregate is my usual go to but I don't know how to set it up with the % up or down parameter.

1739214755202.png
 
Hi & welcome to MrExcel.
How about
Excel Formula:
=ROWS(FILTER(C4:C10,(C4:C10>0)*(MAP(C4:C10,LAMBDA(m,SUBTOTAL(3,m))))))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,226,831
Messages
6,193,206
Members
453,779
Latest member
C_Rules

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