Hello. I am trying to create a COUNT formula that will look at a criteria in two different columns and then count the number of occurences. Both criteria have to be met for a result of 1 to be returned. I have gotten the formula to work for TRUE/FALSE in which the result is either a 1 or 0. But I need the formula to count the number of occurrences. Can you help? Thanks.
![]() |
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 |
-
Cell Formulas (Office 2000)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Cell Formulas (Office 2000)
- This topic has 11 replies, 3 voices, and was last updated 22 years, 10 months ago.
AuthorTopicWSnstapleton
AskWoody LoungerMay 23, 2002 at 2:01 pm #371317Viewing 0 reply threadsAuthorReplies-
H. Legare Coleman
AskWoody PlusMay 23, 2002 at 2:08 pm #589868Check out THIS THREAD.
-
WSnstapleton
AskWoody Lounger -
H. Legare Coleman
AskWoody Plus -
WSnstapleton
AskWoody LoungerMay 23, 2002 at 8:09 pm #589980Legare,
Thanks for your help. Please look at the enclosed spreadsheet. What I want to do is to have the function look for the date string in Column A in the AllOpen Tab. The date string must use a wildcard so the format will be “200108*”. Then it will go to column B and look for a keyword such as “Test*” I must also utililize a wildcard here. The formula will count the number of occurences that these two criteria are meet. For this criteria, there are two that meet the criteria and ‘2’ will be returned to cell I3 in the Type spreadsheet. Thanks for your help. I hope this helps.
-
H. Legare Coleman
AskWoody PlusMay 23, 2002 at 8:39 pm #589987The following formula, array entered (hold down Ctrl+Shift when you press enter) looks like it does what you asked:
=SUM((LEFT(' AllOpen '!A3:A34,6)="200108")*NOT(ISERROR(SEARCH("Test",' AllOpen '!B3:B34))))
BTW, it is not really a good idea to put all of those leading and trailing spaces in the sheet names. It can cause you all manner of problems.
I have attached your workbook with the working formula in I3.
-
WSAladin Akyurek
AskWoody Lounger -
WSnstapleton
AskWoody Lounger -
H. Legare Coleman
AskWoody Plus -
WSnstapleton
AskWoody LoungerJune 12, 2002 at 2:03 pm #594156Legare,
Thanks for your help. Attached is the file that I am working on. What I need is to develop a string that counts the number of occurrences of ‘N’ in the Ramp/Production column by meeting the criteria in both the QA Number column and Root Cause Column. I am currently using a string that sums based on two conditions. This is as follows:
=SUMPRODUCT((LEFT(‘ AllOpen ‘!A1:A995,6)=”200204″)*(LEFT(‘ AllOpen ‘!B1:B995,7)=”Support”)).
I thought by adding *(LEFT(‘ AllOpen ‘!C1:C995,1)=”N”) would work but it does not. Can you help! Thanks.
-
H. Legare Coleman
AskWoody PlusJune 12, 2002 at 4:03 pm #594187It works fine for me once I put the correct number of spaces in the sheet name and adjusted the formula so that it matched all three criteria in the table in the workbook you attached. Did you array enter the formula (hold down the Ctrl and Shift keys) when you pressed the enter key to enter the formula?
See cell I3 in the attached workbook.
-
-
-
-
-
WSnstapleton
AskWoody LoungerJune 7, 2002 at 1:51 pm #593156Legare,
Thanks for all of your help on getting this string to work. This is the string I eventually used.
SUMPRODUCT((LEFT(‘ AllClosed ‘!$A$1:$A$60,6)=”200206″)*(LEFT(‘ AllClosed ‘!$H$1:$H$60,4)=”TEST”))
But I now need to add another variable, in other use a 3rd column. Can you help. I tried to add the string but I am only getting the #N/A or Valid#.
Thanks.
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
-
Slow Down in Windows 10 performance after March 2025 updates ??
by
arbrich
18 minutes ago -
Mail from certain domains not delivered to my outlook.com address
by
pumphouse
1 hour, 38 minutes ago -
Is data that is in OneDrive also taking up space on my computer?
by
WShollis1818
9 hours, 19 minutes ago -
Nvidia just fixed an AMD Linux bug
by
Alex5723
1 day, 3 hours ago -
50 years and counting
by
Susan Bradley
57 minutes ago -
Fix Bluetooth Device Failed to Delete in Windows Settings
by
Drcard:))
10 hours, 17 minutes ago -
Licensing and pricing updates for on-premises server products coming July 2025
by
Alex5723
1 day, 14 hours ago -
Edge : Deprecating window.external.getHostEnvironmentValue()
by
Alex5723
1 day, 14 hours ago -
Rethinking Extension Data Consent: Clarity, Consistency, and Control
by
Alex5723
1 day, 14 hours ago -
OneNote and MS Word 365
by
CWBillow
1 day, 16 hours ago -
Ultimate Mac Buyers Guide 2025: Which Mac is Right For You?
by
Alex5723
1 day, 16 hours ago -
Intel Unison support ends on Windows 11 in June
by
Alex5723
1 day, 16 hours ago -
April 2025 — still issues with AMD + 24H2
by
Kevin Jones
1 day, 17 hours ago -
Windows 11 Insider Preview build 26200.5518 released to DEV
by
joep517
2 days, 4 hours ago -
Windows 11 Insider Preview build 26120.3671 (24H2) released to BETA
by
joep517
2 days, 4 hours ago -
Forcing(or trying to) save Local Documents to OneDrive
by
PateWilliam
2 days, 13 hours ago -
Hotpatch for Windows client now available (Enterprise)
by
Alex5723
2 days, 1 hour ago -
MS-DEFCON 2: Seven months and counting
by
Susan Bradley
1 day, 2 hours ago -
My 3 monitors go black & then the Taskbar is moved to center monitor
by
saturn2233
2 days, 22 hours ago -
Apple backports fixes
by
Susan Bradley
2 days, 5 hours ago -
Win 11 24H2 will not install
by
Michael1950
1 day, 2 hours ago -
Advice to convert MBR to GPT and install Windows 11 Pro on unsupported PC
by
Andy M
2 minutes ago -
Photos from iPhone to Win 10 duplicating/reformatting to .mov
by
J9438
1 day, 11 hours ago -
Thunderbird in trouble. Here comes Thundermail
by
Alex5723
11 hours, 27 minutes ago -
Get back ” Open With” in context menus
by
CWBillow
3 days, 13 hours ago -
Many AMD Ryzen 9800X3D on ASRock have died
by
Alex5723
2 days, 5 hours ago -
simple general stupid question
by
WSaltamirano
3 days, 11 hours ago -
April 2025 Office non-Security updates
by
PKCano
4 days, 4 hours ago -
Microsoft wants to hear from you
by
Will Fastie
1 day, 19 hours ago -
Windows 11 Insider Preview Build 22635.5160 (23H2) released to BETA
by
joep517
4 days, 7 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.