Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
count blank
hi team
counta & countblank only works if the cell is cleared with 'clear contents'. Rather then educate all the staff can I do something else? The other issue is these cells are linked to another sheet. how about count all the cells with strings between 4 & 10 in lenth as the cells will contain patients names - thats what I wish to count. how can I count cells based on them containing a text string of say between 4 and 10 letters in lenght? cheers |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
count blank
=SUMPRODUCT(--(LEN(A1:A10)=4),--(LEN(A1:A10)<=10))
Adjust the ranges to match--but you can't use whole columns (except in xl2007). =sumproduct() likes to work with numbers. The -- stuff changes trues and falses to 1's and 0's. Bob Phillips explains =sumproduct() in much more detail he http://www.xldynamic.com/source/xld.SUMPRODUCT.html And J.E. McGimpsey has some notes at: http://mcgimpsey.com/excel/formulae/doubleneg.html John in Wembley wrote: hi team counta & countblank only works if the cell is cleared with 'clear contents'. Rather then educate all the staff can I do something else? The other issue is these cells are linked to another sheet. how about count all the cells with strings between 4 & 10 in lenth as the cells will contain patients names - thats what I wish to count. how can I count cells based on them containing a text string of say between 4 and 10 letters in lenght? cheers -- Dave Peterson |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
count blank
between 4 and 10 letters in lenght?
I assume that's inclusive? Try this: =SUMPRODUCT(--(LEN(A1:A10)=4),--(LEN(A1:A10)<=10)) That counts *all* characters. -- Biff Microsoft Excel MVP "John in Wembley" wrote in message ... hi team counta & countblank only works if the cell is cleared with 'clear contents'. Rather then educate all the staff can I do something else? The other issue is these cells are linked to another sheet. how about count all the cells with strings between 4 & 10 in lenth as the cells will contain patients names - thats what I wish to count. how can I count cells based on them containing a text string of say between 4 and 10 letters in lenght? cheers |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
count blank
On Fri, 7 Sep 2007 14:22:49 -0400, "T. Valko"
wrote: between 4 and 10 letters in lenght? I assume that's inclusive? Try this: =SUMPRODUCT(--(LEN(A1:A10)=4),--(LEN(A1:A10)<=10)) That counts *all* characters. Thank to the team |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
formula: count if not blank | Excel Worksheet Functions | |||
Count Non-Blank Rows | Excel Worksheet Functions | |||
Count Names in One Col if 2nd Col Isn't Blank | Excel Worksheet Functions | |||
Count if not blank... | Excel Discussion (Misc queries) | |||
Count Non Blank in column | Excel Discussion (Misc queries) |