Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
karin
 
Posts: n/a
Default Countif and Text - not counting

This is really silly. I have a long column of "Y" and "N" - input by a user.
I need to count the Y and N's - and use them further in my sheets.
I've noted that in some sheets, my countif function works - and will count
the Y values. On other sheets (from the same template!) it doesn't work! I
have another user inputting these values - so perhaps her excel settings are
causing the problem?
I just need to know what to alter in order to have these Y and N input
values 'readable' from other excel equations (if, and or). I've tried all
formats I can see - text, general, number - nothing works, and I can't see
any differences between the sheets that work and those that don't! HELP!

thanks
karin
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default Countif and Text - not counting

Karin,

Perhaps they trailing spaces in the cell.

Check with

=SUMPRODUCT(--(TRIM(A1:A100)="Y"))

and see if you still get 0.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"karin" wrote in message
...
This is really silly. I have a long column of "Y" and "N" - input by a

user.
I need to count the Y and N's - and use them further in my sheets.
I've noted that in some sheets, my countif function works - and will

count
the Y values. On other sheets (from the same template!) it doesn't work!

I
have another user inputting these values - so perhaps her excel settings

are
causing the problem?
I just need to know what to alter in order to have these Y and N input
values 'readable' from other excel equations (if, and or). I've tried all
formats I can see - text, general, number - nothing works, and I can't

see
any differences between the sheets that work and those that don't! HELP!

thanks
karin



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
Countif function for instances of text string contained Garbunkel Excel Worksheet Functions 1 October 11th 05 08:09 AM
Countif function for instances of text string contained David Billigmeier Excel Worksheet Functions 2 October 10th 05 09:51 PM
Countif Text equals the same tamato43 Excel Discussion (Misc queries) 1 March 31st 05 01:24 AM
Using COUNTIF with text jodiek Excel Worksheet Functions 5 March 8th 05 11:12 AM
COUNTIF text where there is more than one word in a cell Abi Excel Worksheet Functions 2 January 20th 05 03:32 AM


All times are GMT +1. The time now is 07:46 PM.

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"