Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 184
Default Count or Sumif formula

How would I write a formula for the example below

a b
1 m scaf
2 b scaf
3 b scaf
4 b lab

I am wanting to create a count if to where I am counting the b's in a that
have scaf. The answer should be 2.

Thank you
Jeremy
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 208
Default Count or Sumif formula

Try this =SUMPRODUCT(--(A1:A4="b"),--(B1:B4="scarf"))



On Jun 10, 10:41 am, Jeremy wrote:
How would I write a formula for the example below

a b
1 m scaf
2 b scaf
3 b scaf
4 b lab

I am wanting to create a count if to where I am counting the b's in a that
have scaf. The answer should be 2.

Thank you
Jeremy


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default Count or Sumif formula

=SUMPRODUCT(--(A2:A10="b"),--(B2:B10="scaf"))


--


Regards,


Peo Sjoblom


"Jeremy" wrote in message
...
How would I write a formula for the example below

a b
1 m scaf
2 b scaf
3 b scaf
4 b lab

I am wanting to create a count if to where I am counting the b's in a that
have scaf. The answer should be 2.

Thank you
Jeremy



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
Complex SUMIF/COUNT IF Evan Excel Discussion (Misc queries) 5 October 19th 07 11:57 PM
How to Count the number of "rows" (or Array items) included in a Sumif formula? EagleOne Excel Discussion (Misc queries) 3 July 30th 07 06:25 PM
Count, Countif, Sumif?? benjam_in Excel Worksheet Functions 6 July 12th 06 06:29 PM
sumif or count between zero and 3 tomr Excel Worksheet Functions 0 March 26th 06 11:57 PM
sumif or count between zero and 3 Franksta Excel Worksheet Functions 0 March 26th 06 11:46 PM


All times are GMT +1. The time now is 04:12 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"