How can I make some COUNTIF statements referring to column, say, A, count only the matching cells when the list is filtered by one or more criteria in other columns in the list?
Thanks in advance!
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
count in filtered list (2000sr1)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » count in filtered list (2000sr1)
- This topic has 5 replies, 3 voices, and was last updated 21 years, 10 months ago.
AuthorTopicWSitshimagain
AskWoody LoungerJuly 7, 2003 at 12:58 pm #390103Viewing 0 reply threadsAuthorReplies-
WSsdckapr
AskWoody Lounger -
WSitshimagain
AskWoody LoungerJuly 7, 2003 at 2:21 pm #691721Thanks, Steve.
So if the existing formula, which counts everything whether it’s filtered or not, is
=COUNTIF(D$18:D$2313,”1″)
(and subsequent cells look for the value “2” and so on), how do I combine this with the SUBTOTAL trick, preferably in a way which tolerates the filter option ‘show all’, ie no filter at all?
I figure I need a “SUBTOTAL IF” function, which only exists in my head!
It comes from a survey generating responses from 1 to 5, and I want to produce reports deriving from particular districts, age groups, and so on. -
WSsdckapr
AskWoody LoungerJuly 7, 2003 at 2:33 pm #691727This sounds like you might want to do a PIVOT TABLE of your data. This will summarize and sum/count/average, etc based on various combinations of your data.
There is NO SUBTOTALIF. You can use subtotal which can count, sum, average, etc the “visible” items in a filtered list (this is “live” when the filters change the subtotals will change) and also include the count, sum, average,etc functions to get ALL the data to compare them directly.
You can create multiconditional IFs (like countif) but they include average, var, min, max, etc using Array formulas:
See Chip Pearson’s site for a “tutorial”
http://www.cpearson.com/excel/array.htm%5B/url%5DSteve
-
WSAladin Akyurek
AskWoody LoungerJuly 7, 2003 at 5:53 pm #691810 -
WSitshimagain
AskWoody Lounger
-
-
-
Viewing 0 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
What is LLC Company Dubai? (Awaiting moderation)
by
avyancobusinesssetup
29 minutes ago -
What Are CAD Drafting Services and Who Needs Them? (Awaiting moderation)
by
Asseteyes
31 minutes ago -
How reliable is Flighys in booking international flights? (Awaiting moderation)
by
flighys126
1 hour, 7 minutes ago -
Suggestions for New All in One Printer and a Photo Printer Windows 10
by
Win7and10
4 hours, 12 minutes ago -
Purchasing New Printer. Uninstall old Printer Software First?
by
Win7and10
4 hours, 16 minutes ago -
KB5060842 Issue (Minor)
by
AC641
8 hours, 50 minutes ago -
EchoLeak : Zero Click M365 Copilot leak sensitive information
by
Alex5723
11 hours, 22 minutes ago -
24H2 may not be offered June updates
by
Susan Bradley
31 minutes ago -
Acronis : Tracking Chaos RAT’s evolution (Windows, Linux)
by
Alex5723
23 hours, 56 minutes ago -
Turning off OneDrive
by
CWBillow
1 day, 4 hours ago -
June 2025 updates are out
by
Susan Bradley
3 minutes ago -
Mozilla shutting Deep Fake Detector
by
Alex5723
1 day, 14 hours ago -
Windows-Maintenance-Tool (.bat)
by
Alex5723
1 day ago -
Windows 11 Insider Preview build 26200.5641 released to DEV
by
joep517
1 day, 17 hours ago -
Windows 11 Insider Preview build 26120.4250 (24H2) released to BETA
by
joep517
1 day, 17 hours ago -
Install Office 365 Outlook classic on new Win11 machine
by
WSrcull999
1 day, 17 hours ago -
win 10 to win 11 with cpu/mb replacement
by
aquatarkus
1 day, 9 hours ago -
re-install Windows Security
by
CWBillow
1 day, 20 hours ago -
WWDC 2025 Recap: All of Apple’s NEW Features in 10 Minutes!
by
Alex5723
2 days ago -
macOS Tahoe 26
by
Alex5723
1 day, 18 hours ago -
Migrating from win10 to win11, instructions coming?
by
astro46
5 hours, 33 minutes ago -
Device Eligibility for Apple 2026 Operating Systems due this Fall
by
PKCano
1 day, 8 hours ago -
Recommended watching : Mountainhead movie
by
Alex5723
1 day, 9 hours ago -
End of support for Windows 10
by
Old enough to know better
17 hours, 13 minutes ago -
What goes on inside an LLM
by
Michael Covington
1 day, 3 hours ago -
The risk of remote access
by
Susan Bradley
11 hours, 4 minutes ago -
The cruelest month for many Office users
by
Peter Deegan
11 hours, 42 minutes ago -
Tracking protection and trade-offs in Edge
by
Mary Branscombe
1 day, 13 hours ago -
Supreme Court grants DOGE access to confidential Social Security records
by
Alex5723
2 days, 22 hours ago -
EaseUS Partition Master free 19.6
by
Alex5723
1 day, 23 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.