search
Japanese Chinese Nederlands Espanol Italiano Deutsch Francais Twitter Rss Feeds
Office GroupsView
Excel
Excel Charting
Excel Crashesgpfs
Excel Misc
Excel Newusers
Excel Programming
Excel Setup
Excel Worksheet Functions
Office Communicator
Office Developer Automation
Office Developer Com Add_Ins
Office Developer Visual Basica
Office Misc
Office Setup
Office Templates Misc
Officeupdate
Onenote
Outlook
Outlook Bcm
Outlook Calendaring
Outlook Contacts
Outlook General
Outlook Installation
Outlook Program_Addins
Outlook Program_Forms
Outlook Program_Visual Basica
Outlookexpress General
Project
Project Developer
Project Server
Visio
Visio Developer
Visio General
Word Application Errors
Word Customization Menustoolbars
Word Drawing Graphics
Word Mailmerge Fields
Word Pagelayout
Word Programming
Word Tables
Word Visual Basica Beginners
Word Visual Basica Customization
Word Visual Basica General
Works Win

Group SummariesView
.NET Framework
Access
BizTalk
Certifications
CRM
DDK
Exchange Server
FoxPro
French
French .NET
Games
German
German .NET
Graphic Design
IIS
Internet
ISA Server
Italian
Italian .NET
Maps
MCIS
Miscellaneous
Mobile Application Development
Money
MSN
Networking
Office
Ops Mgr
Publisher
Security
SharePoint
Small Business
Spanish
Spanish .NET
SQL Server
Systems Management Server
Transaction Server
Virtual PC / Virtual Server
Visual Studio
Win32
Windows 2000
Windows 2003 Server
Windows 7
Windows Live
Windows Media
Windows Update
Windows Vista
Windows XP
 

View All Microsoft Excel Worksheet Functions Posts  Ask A New Question 

Nesting countif functions - Eva

Thursday, February 14, 2008 11:57 AM

Can anyone help on how to properly write a function to count the number of
cells in a column with a certain value if they have a corresponding value in
a different column?  For example, I want to count how many times "BIG"
appears in Column B, if the same row has "B" in Column A.
A	B
1	B	BIG
2	C	BIG
3	C	SMALL
4	D	SMALL
5	B	SMALL
6	F	MEDIUM
7	F	BIG
8	E	SMALL
9	E	MEDIUM
10	D	BIG
11	C	BIG
12	B	SMALL
13	C	MEDIUM
14	E	SMALL
15	A	SMALL
16	F	MEDIUM
17	D	SMALL
18	A	BIG
19	B	SMALL
20	C	BIG

Thanks!
Evan
reply
 

Try this formula... - Rick Rothstein \(MVP - VB\)

Thursday, February 14, 2008 12:36 PM

Try this formula...

=SUMPRODUCT((A1:A100="B")*(B1:B100="BIG"))

The top end of the ranges (A100, B100) can be made to cover any span you may
have now or in the future.

Rick
reply

Previous Microsoft Excel Worksheet Functions conversation.