Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Countif skips cells in range

i have a worksheet with this statement =COUNTIF(I9:AM9,"T") search for the #
of T's it encounters it works fine for most of the cells but cant figure out
why its skipping some
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Countif skips cells in range

I'm guessing that there is other stuff in those cells that you think contain
plain old T (maybe trailing spaces???).

I'd insert a new row 10 and add this in I10:
=I9="T"
and drag across. If you see a False when you expect a True, you can inspect
that cell in row 9.

Mainer wrote:

i have a worksheet with this statement =COUNTIF(I9:AM9,"T") search for the #
of T's it encounters it works fine for most of the cells but cant figure out
why its skipping some


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Countif skips cells in range

--Make sure the cell value is 'T' and not 'T ' (T followed by a space)..

--If the data you have in the cell range is only one character you can try
=COUNTIF(I9:AM9,"T*")
Or
=COUNTIF(I9:AM9,"*T*")

If this post helps click Yes
---------------
Jacob Skaria


"Mainer" wrote:

i have a worksheet with this statement =COUNTIF(I9:AM9,"T") search for the #
of T's it encounters it works fine for most of the cells but cant figure out
why its skipping some

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
TAB to enter data, it skips one or more cells anxious Excel Worksheet Functions 1 July 9th 09 03:44 PM
ENTER skips unlocked cells John Keith Excel Discussion (Misc queries) 3 February 5th 09 04:17 AM
LOOKUP skips cells reddog_3d[_2_] Excel Discussion (Misc queries) 6 November 30th 07 06:57 PM
COUNTIF absolute value of cells in a range are 0 Dave F Excel Discussion (Misc queries) 8 January 31st 07 05:56 PM
How come when I hit tab in excel it skips several cells? vav Excel Discussion (Misc queries) 1 April 26th 06 12:10 AM


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