Countifs Dynamic ?

hemrajrav328
NewLounger
Posts: 19
Joined: 30 Aug 2023, 20:25

Countifs Dynamic ?

Post by hemrajrav328 »

Is there a way for the formulas in G, H, I & J to automatically copy down as data gets added to the table (B:D)
Similar to how the Filter function works.
You do not have the required permissions to view the files attached to this post.

robertocm
Lounger
Posts: 43
Joined: 07 Jun 2023, 15:34

Re: Countifs Dynamic ?

Post by robertocm »

i'd try these formulas:
Countifs.xlsx
I'd also use Tables instead of normal ranges for the firs list.

User avatar
HansV
Administrator
Posts: 78485
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Countifs Dynamic ?

Post by HansV »

See the attached version.

Countifs.xlsx
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans

hemrajrav328
NewLounger
Posts: 19
Joined: 30 Aug 2023, 20:25

Re: Countifs Dynamic ?

Post by hemrajrav328 »

Thank You Hans.

Exactly what i was looking for.

hemrajrav328
NewLounger
Posts: 19
Joined: 30 Aug 2023, 20:25

Re: Countifs Dynamic ?

Post by hemrajrav328 »

could the same thing be done for a total at the end of the table ... =sum(G4:J4)

User avatar
HansV
Administrator
Posts: 78485
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Countifs Dynamic ?

Post by HansV »

See the new version.

Countifs.xlsx
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans

User avatar
rory
5StarLounger
Posts: 817
Joined: 24 Jan 2010, 15:56

Re: Countifs Dynamic ?

Post by rory »

Out of interest why don't you just use:
=UNIQUE(FILTER(B4:B1000,(C4:C1000="ANS"),""))
in F4?
Regards,
Rory

User avatar
hamster
StarLounger
Posts: 58
Joined: 10 Mar 2021, 22:57

Re: Countifs Dynamic ?

Post by hamster »

maybe just Power Query or Pivot Table
You do not have the required permissions to view the files attached to this post.