Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default Counting cells that match 2 criteria

I have serveral columns of Data. In Col B some rows contain "PC". Col F
contains a forumla that returns TRUE or FALSE. I want to count the number of
times "PC" appears in col B but only when FALSE is in col F.
I have used this type of formula many times but only when there is just text
in col F ie =SUMPRODUCT((FINAL1!B2:BY5000="PC")*(FINAL1!F2:F50 00="Customer"))

The formula in col F is =AND(B2="PC",D2="PC")
I would be grateful for any help.
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Counting cells that match 2 criteria

On Feb 7, 10:31 am, "Don Guillett" wrote:
try just adding the parameter ie:
=SUMPRODUCT((B9:B12="a")*(G9:G12=FALSE))

--
Don Guillett
SalesAid Software
"jimar" wrote in message

...



I have serveral columns of Data. In Col B some rows contain "PC". Col F
contains a forumla that returns TRUE or FALSE. I want to count the number
of
times "PC" appears in col B but only when FALSE is in col F.
I have used this type of formula many times but only when there is just
text
in col F ie
=SUMPRODUCT((FINAL1!B2:BY5000="PC")*(FINAL1!F2:F50 00="Customer"))


The formula in col F is =AND(B2="PC",D2="PC")
I would be grateful for any help.- Hide quoted text -


- Show quoted text -


Did you ever try using the COUNTIF function?
I find that function very handy when I want to count the number of
times that "particular" cell content excists.
However this is a very slow calculation if you have many lines, like
2000+.



Frode

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
Calculating only non-empty cells... Jay Excel Worksheet Functions 9 September 22nd 06 03:20 AM
counting cells with two criteria USChad Excel Discussion (Misc queries) 1 November 15th 05 08:56 PM
Complicated counting of cells (based on other cells contents) George Excel Worksheet Functions 3 November 7th 05 06:39 PM
counting cells (COUNTIF) based on two or more criteria Tricia S. Excel Worksheet Functions 10 March 17th 05 02:17 PM
Counting "rows", i.e. simultaneous criteria for multiple cells gkline Excel Worksheet Functions 2 November 19th 04 07:30 AM


All times are GMT +1. The time now is 12:15 AM.

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

About Us

"It's about Microsoft Excel"