#1   Report Post  
Posted to microsoft.public.excel.misc
fishbio
 
Posts: n/a
Default formula question

Hi,
i'm obviously a novice at this. but, can someone tell me what's wrong with
this formula?
=(COUNTIF(IF $X$2:$X$21581=$X2,$C$2:$C$21581, "=2189, "0")))

I'm trying to count the number of cells in c2:c21581 that are = 2189 as
long as the condition in x2:x21581 is true.

thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
paul
 
Posts: n/a
Default formula question

sumproduct may work
=sumproduct(--($C$2:$C$21581=2189),--($X$2:$X$21581=true))


--
paul
remove nospam for email addy!



"fishbio" wrote:

Hi,
i'm obviously a novice at this. but, can someone tell me what's wrong with
this formula?
=(COUNTIF(IF $X$2:$X$21581=$X2,$C$2:$C$21581, "=2189, "0")))

I'm trying to count the number of cells in c2:c21581 that are = 2189 as
long as the condition in x2:x21581 is true.

thanks.

  #3   Report Post  
Posted to microsoft.public.excel.misc
BankC
 
Posts: n/a
Default formula question


Hi, I'm a novice too but it looks like you have 2 brackets at the start
and 3 at the end, not sure if this is the problem??


--
BankC
------------------------------------------------------------------------
BankC's Profile: http://www.excelforum.com/member.php...o&userid=26337
View this thread: http://www.excelforum.com/showthread...hreadid=502364

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
Link and formula question [email protected] Excel Worksheet Functions 1 December 5th 05 05:17 AM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Question Marcus Feldmore Excel Worksheet Functions 1 November 11th 05 03:47 PM
I have a question regarding countif formula. Fahad Farid Ansari Excel Worksheet Functions 6 October 1st 05 11:57 PM
Formula Question JDT Excel Discussion (Misc queries) 2 January 30th 05 01:17 PM


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