#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default COUNTING FORMULA

I'm sure this is easy, but not for me.
A B
MISSING JOE
MISSING JOE
ENTERED LINDA
MISSING SUE

NEED A FORMULA TO COUNT IF A:A = MISSING AND B:B=JOE
RESULT WOULD BE 2
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default COUNTING FORMULA

=sumproduct(--(a1:a10="missing"),--(b1:b10="joe"))

Adjust the ranges to match--but you can't use whole columns (except in xl2007).

=sumproduct() likes to work with numbers. The -- stuff changes trues and falses
to 1's and 0's.

Bob Phillips explains =sumproduct() in much more detail he
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

And J.E. McGimpsey has some notes at:
http://mcgimpsey.com/excel/formulae/doubleneg.html



TMF in MN wrote:

I'm sure this is easy, but not for me.
A B
MISSING JOE
MISSING JOE
ENTERED LINDA
MISSING SUE

NEED A FORMULA TO COUNT IF A:A = MISSING AND B:B=JOE
RESULT WOULD BE 2


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting formula TMF in MN Excel Worksheet Functions 2 January 8th 07 06:50 PM
formula for counting TMF in MN Excel Worksheet Functions 7 October 31st 06 11:48 PM
Counting Formula santaviga Excel Worksheet Functions 3 May 9th 06 12:16 PM
formula on counting Michael A Excel Discussion (Misc queries) 2 January 6th 06 03:52 PM
Counting Formula Paul Excel Discussion (Misc queries) 1 October 26th 05 05:02 AM


All times are GMT +1. The time now is 06:20 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"