hi there i am stuck on this function =COUNTAIF(Contact_Details!$Q$7:Contact_Details!$Q$46=”WT1561″)
where am i going wrong, i just want to count how many people are on that course (WT1561) in contact details to add to reports?
![]() |
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 |
-
COUNTAIF (Excel 2003)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » COUNTAIF (Excel 2003)
- This topic has 17 replies, 6 voices, and was last updated 17 years, 4 months ago.
AuthorTopicWSkittycatt
AskWoody LoungerJanuary 21, 2008 at 11:20 am #447867Viewing 1 reply threadAuthorReplies-
WSRudi
AskWoody Lounger -
WSfranciz
AskWoody Lounger -
WSkittycatt
AskWoody LoungerJanuary 21, 2008 at 2:47 pm #1093451(Edited by rory on 21-Jan-08 13:47. Removed personal info!)
hi there Franciz
using the attached spreadsheet which is slightly different are the Cleartor moor address in reports sheet i need to count in (F7:F46) how many are from cleator moor, and the same for the gender of females that are from cleator moor, do i do this the same way ? -
WSrory
AskWoody LoungerJanuary 21, 2008 at 2:52 pm #1093459The formula for H7 would be:
=SUMPRODUCT((Contact_Details!$F$7:$F$46=”Cleator Moor”)*(Contact_Details!$Q$7:$Q$46=Report!G7))
I’m not sure what you want under the Gender column? A count of females (or males) for the course, or for those on the course who are in Cleator Moor?
Also, please DON’T publish personal information like that – always censor the data before you post it.
-
-
WSsdckapr
AskWoody Lounger -
WSfranciz
AskWoody Lounger -
WSHansV
AskWoody Lounger -
WSsdckapr
AskWoody LoungerJanuary 21, 2008 at 4:38 pm #1093481I calculate 4 females for “Cleator Moor” and Course “WT1561”
I calculate 2 females for “Cleator Moor” and Course “WT1571”
I calculate 4 females for “Cleator Moor” and Course “WT1581”
I calculate 0 females for “Cleator Moor” and Course “WT1591”and when I filter the list this for the various courses, the numbers seem to be correct so I am confused about the discrepancy. Could you elaborate?
Steve
-
WSfranciz
AskWoody Lounger
-
-
-
-
WSfranciz
AskWoody LoungerJanuary 21, 2008 at 6:14 pm #1093497Hi
I am slightly late on this, I have tried and found another option which is to use the SUM formula :
In H7, to get the count for Cleator Moor. Place this and copy down
=SUM(IF(Contact_Details!F7:F51=”Cleator Moor”,IF(Contact_Details!Q7:Q51=G7,1,0),0))
and the count on ‘F” by using this in I7 and copy down the column:
=SUM(IF(Contact_Details!F7:F51=”Cleator Moor”,IF(Contact_Details!I7:I51=”F”,IF(Contact_Details!Q7:Q51=Report!G7,1,0),0)))
Both these are array formulas meaning that you need to press Ctrl, Shift and Enter all at once
cheers, fy
-
WSsdckapr
AskWoody LoungerJanuary 21, 2008 at 6:40 pm #1093507If you are going to copy the formula down the column, you should have have the references to the source “locked” or else it will change and not read all the cells:
=SUM(IF(Contact_Details!$F$7:$F$51=”Cleator Moor”,IF(Contact_Details!$I$7:$I$51=”F”,IF(Contact_Details!$Q$7:$Q$51=Report!G7,1,0),0)))
Steve
-
Viewing 1 reply thread -

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
-
Windows 11 ad from Campaign Manager in Windows 10 (Awaiting moderation)
by
Jim McKenna
1 hour, 50 minutes ago -
Phishers extract Millions from HMRC accounts..
by
Microfix
10 hours, 29 minutes ago -
Windows 10 22H2 Update today (5 June) says up-to-date but last was 2025-04
by
Alan_uk
12 hours, 21 minutes ago -
Thoughts on Malwarebytes Scam Guard for Mobile?
by
opti1
15 hours, 29 minutes ago -
Mystical Desktop
by
CWBillow
15 hours, 43 minutes ago -
Meta and Yandex secretly tracked billions of Android users
by
Alex5723
10 hours, 29 minutes ago -
MS-DEFCON 2: Do you need that update?
by
Susan Bradley
5 hours, 54 minutes ago -
CD/DVD drive is no longer recognized
by
WSCape Sand
1 day, 6 hours ago -
Windows 11 24H2 Default Apps stuck on Edge and Adobe Photoshop
by
MikeBravo
1 day, 9 hours ago -
North Face and Cartier customer data stolen in cyber attacks
by
Alex5723
1 day, 7 hours ago -
What is wrong with simple approach?
by
WSSpoke36
1 day ago -
Microsoft-Backed Builder.ai Set for Bankruptcy After Cash Seized
by
Alex5723
1 day, 19 hours ago -
Location, location, location
by
Susan Bradley
9 hours, 41 minutes ago -
Cannot get a task to run a restore point
by
CWBillow
1 day, 20 hours ago -
Frustrating search behavior with Outlook
by
MrJimPhelps
1 day, 11 hours ago -
June 2025 Office non-Security Updates
by
PKCano
2 days, 7 hours ago -
Secure Boot Update Fails after KB5058405 Installed
by
SteveIT
10 hours, 2 minutes ago -
Firefox Red Panda Fun Stuff
by
Lars220
2 days, 7 hours ago -
How start headers and page numbers on page 3?
by
Davidhs
2 days, 17 hours ago -
Attack on LexisNexis Risk Solutions exposes data on 300k +
by
Nibbled To Death By Ducks
1 day, 20 hours ago -
Windows 11 Insider Preview build 26200.5622 released to DEV
by
joep517
3 days, 2 hours ago -
Windows 11 Insider Preview build 26120.4230 (24H2) released to BETA
by
joep517
3 days, 2 hours ago -
MS Excel 2019 Now Prompts to Back Up With OneDrive
by
lmacri
2 days, 16 hours ago -
Firefox 139
by
Charlie
2 days, 8 hours ago -
Who knows what?
by
Will Fastie
1 day, 11 hours ago -
My top ten underappreciated features in Office
by
Peter Deegan
3 days, 3 hours ago -
WAU Manager — It’s your computer, you are in charge!
by
Deanna McElveen
20 hours, 48 minutes ago -
Misbehaving devices
by
Susan Bradley
1 day, 22 hours ago -
.NET 8.0 Desktop Runtime (v8.0.16) – Windows x86 Installer
by
WSmeyerbos
4 days, 9 hours ago -
Neowin poll : What do you plan to do on Windows 10 EOS
by
Alex5723
1 day, 8 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.