PC Review


Reply
Thread Tools Rate Thread

How to: COUNTIF when ISTEXT is True?

 
 
dpenny
Guest
Posts: n/a
 
      10th Jul 2006

How do I write a countif function on the criterion when ISTEXT is TRUE?
I cannot figure out the syntax.

And please don't say use COUNTA, it is not the same (specifically on
#N/A returned by Vlookup).

Also, why is an empty cell returned by Vlookup a zero having
ISNUMBER=True, while '345 returned by Vlookup has ISTEXT=True? Seems
inconsistent to me.

Thanks

Dick Penny


--
dpenny
------------------------------------------------------------------------
dpenny's Profile: http://www.excelforum.com/member.php...o&userid=19708
View this thread: http://www.excelforum.com/showthread...hreadid=559997

 
Reply With Quote
 
 
 
 
Die_Another_Day
Guest
Posts: n/a
 
      10th Jul 2006
This array formula seems to work. Not sure if there is an easier way.
=SUM(ISTEXT(A1:A5)*1)
Don't forget to press Ctrl+Shift+Enter after entering in the formula

HTH

Die_Another_Day

dpenny wrote:
> How do I write a countif function on the criterion when ISTEXT is TRUE?
> I cannot figure out the syntax.
>
> And please don't say use COUNTA, it is not the same (specifically on
> #N/A returned by Vlookup).
>
> Also, why is an empty cell returned by Vlookup a zero having
> ISNUMBER=True, while '345 returned by Vlookup has ISTEXT=True? Seems
> inconsistent to me.
>
> Thanks
>
> Dick Penny
>
>
> --
> dpenny
> ------------------------------------------------------------------------
> dpenny's Profile: http://www.excelforum.com/member.php...o&userid=19708
> View this thread: http://www.excelforum.com/showthread...hreadid=559997


 
Reply With Quote
 
Ragdyer
Guest
Posts: n/a
 
      10th Jul 2006
Try this:

=COUNTIF(A:A,"*?")

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"dpenny" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
>
> How do I write a countif function on the criterion when ISTEXT is TRUE?
> I cannot figure out the syntax.
>
> And please don't say use COUNTA, it is not the same (specifically on
> #N/A returned by Vlookup).
>
> Also, why is an empty cell returned by Vlookup a zero having
> ISNUMBER=True, while '345 returned by Vlookup has ISTEXT=True? Seems
> inconsistent to me.
>
> Thanks
>
> Dick Penny
>
>
> --
> dpenny
> ------------------------------------------------------------------------
> dpenny's Profile:
> http://www.excelforum.com/member.php...o&userid=19708
> View this thread: http://www.excelforum.com/showthread...hreadid=559997
>


 
Reply With Quote
 
dpenny
Guest
Posts: n/a
 
      10th Jul 2006

Both solutions worked - thank you.

Dick Penny


--
dpenny
------------------------------------------------------------------------
dpenny's Profile: http://www.excelforum.com/member.php...o&userid=19708
View this thread: http://www.excelforum.com/showthread...hreadid=559997

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Countif OR Sumproduct OR Istext???? Baxter Microsoft Excel Worksheet Functions 2 16th Nov 2009 08:57 AM
Blank cells: ISBLANK = FALSE, ISTEXT = TRUE Raj Microsoft Excel Worksheet Functions 3 4th Jan 2008 04:47 PM
ISTEXT TRUE then copy formula from cell X =?Utf-8?B?RSBDb2Ji?= Microsoft Excel Worksheet Functions 7 31st May 2007 08:19 PM
Countif( 2 criteria = true ?) =?Utf-8?B?TXlLb29s?= Microsoft Excel Misc 3 17th Oct 2005 02:04 PM
COUNTIF and ISTEXT =?Utf-8?B?Q2h1Y2s=?= Microsoft Excel Worksheet Functions 4 25th Nov 2003 12:12 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:01 PM.