LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #12   Report Post  
Lookin for a job
 
Posts: n/a
Default

Have a look see at this screencap -

http://img177.imageshack.us/img177/9371/countif4tc.jpg

It seems aparent to me that Countif doesn't like a text "True".

I'm just wanting to know why.

What's the difference between -

=Countif(A10:A20,"apples")

and

=Countif(A10:A20,"True")

Thanks

"Anne Troy" wrote:

Okay. I think you'd better give us the exact formulas in your A10 to A20
'cause I can't replicate the problem you're having. Works for me whether
"TRUE" or TRUE.

*******************
~Anne Troy

www.OfficeArticles.com


"Lookin for a job" wrote in
message ...
That certainly will work but the Countif is more efficient.

I changed the text true to the boolean TRUE.

I really appreciate everyones help but can anyone answer the question as

to
why -

=Countif(A10:A20,"true")

returns 0 ???

Thanks

"kk" wrote:

Try this

=SUMPRODUCT(--(A10:A20="TRUE"))

Does it help?


"Lookin for a job" <Lookin for a wrote in
message ...
Hello Guys..

I have a range of IF formulas in A10:A20 that return either a text

"True"
(not a boolean) or a blank "" .

There are several "Trues" in the range but when I use -

=Countif(A10:A20,"True")

I get a result of 0.

Why is this?

Thanks






 
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 results in formulas Linda Excel Discussion (Misc queries) 9 July 6th 05 09:20 AM
Combining IF and COUNTIF based on two columns maxtrixx Excel Discussion (Misc queries) 5 March 31st 05 06:21 PM
Countif - Countif maswinney Excel Worksheet Functions 3 November 15th 04 11:06 PM
?odd results for =left(F#,2) Steven Stadelhofer Excel Worksheet Functions 1 November 4th 04 09:54 PM
countif, again Liz G Excel Worksheet Functions 2 November 1st 04 11:20 PM


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