Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jodiek
 
Posts: n/a
Default Using COUNTIF with text

I am using COUNTIF to determine the number of students who do not speak
English. I have 163 rows and about 1/2 are languages other than English but
the formula =COUNTIF(F1:F163,"<ENGLISH") comes up with 162 as the result.
Other worksheets seem to be able to use this formula. I'm sure it's
something in the text but I can't figure out what is is :(
  #2   Report Post  
Myrna Larson
 
Posts: n/a
Default

It works for me, and it isn't case-sensitive. Are you sure you don't have
leading or trailing spaces in this column?

On Mon, 7 Mar 2005 19:35:07 -0800, jodiek
wrote:

I am using COUNTIF to determine the number of students who do not speak
English. I have 163 rows and about 1/2 are languages other than English but
the formula =COUNTIF(F1:F163,"<ENGLISH") comes up with 162 as the result.
Other worksheets seem to be able to use this formula. I'm sure it's
something in the text but I can't figure out what is is :(


  #3   Report Post  
jodiek
 
Posts: n/a
Default

Thank you. That is the problem and i am working to repair it.

Best,
Jodie

"Myrna Larson" wrote:

It works for me, and it isn't case-sensitive. Are you sure you don't have
leading or trailing spaces in this column?

On Mon, 7 Mar 2005 19:35:07 -0800, jodiek
wrote:

I am using COUNTIF to determine the number of students who do not speak
English. I have 163 rows and about 1/2 are languages other than English but
the formula =COUNTIF(F1:F163,"<ENGLISH") comes up with 162 as the result.
Other worksheets seem to be able to use this formula. I'm sure it's
something in the text but I can't figure out what is is :(



  #4   Report Post  
Max
 
Posts: n/a
Default

Try: =SUMPRODUCT(--(TRIM(F1:F163)<"ENGLISH"))

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"jodiek" wrote in message
...
I am using COUNTIF to determine the number of students who do not speak
English. I have 163 rows and about 1/2 are languages other than English

but
the formula =COUNTIF(F1:F163,"<ENGLISH") comes up with 162 as the result.
Other worksheets seem to be able to use this formula. I'm sure it's
something in the text but I can't figure out what is is :(



  #5   Report Post  
jodiek
 
Posts: n/a
Default

Thank you. That did the trick!

Best,
Jodie

"Max" wrote:

Try: =SUMPRODUCT(--(TRIM(F1:F163)<"ENGLISH"))

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"jodiek" wrote in message
...
I am using COUNTIF to determine the number of students who do not speak
English. I have 163 rows and about 1/2 are languages other than English

but
the formula =COUNTIF(F1:F163,"<ENGLISH") comes up with 162 as the result.
Other worksheets seem to be able to use this formula. I'm sure it's
something in the text but I can't figure out what is is :(






  #6   Report Post  
Max
 
Posts: n/a
Default

You're welcome !
Thanks for the feedback ..
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"jodiek" wrote in message
...
Thank you. That did the trick!

Best,
Jodie



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
Autofitting a row Josephine Excel Discussion (Misc queries) 2 March 3rd 05 03:37 PM
Sort or Filter option? Mcobra41 Excel Worksheet Functions 3 February 23rd 05 07:22 PM
COUNTIF text where there is more than one word in a cell Abi Excel Worksheet Functions 2 January 20th 05 03:32 AM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM
COUNTIF With Multiple Dates, Columns and Text Shannon Excel Worksheet Functions 4 November 26th 04 11:12 PM


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