ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Dates & Text? (https://www.excelbanter.com/excel-discussion-misc-queries/218401-dates-text.html)

Ken

Dates & Text?
 
Excel2003 ... My Range contains "Date" values & various "Text" values ... I
wish a formula to count the "Text" values only.

01/01/09
01/02/09
H
01/04/09
V
01/06/09
01/07/09
01/08/09
O/S
01/10/09

Formula should return ... 3

Thanks ... Kha

Gary''s Student

Dates & Text?
 
=COUNTA(A1:A100)-COUNT(A1:A100)
--
Gary''s Student - gsnu200829


"Ken" wrote:

Excel2003 ... My Range contains "Date" values & various "Text" values ... I
wish a formula to count the "Text" values only.

01/01/09
01/02/09
H
01/04/09
V
01/06/09
01/07/09
01/08/09
O/S
01/10/09

Formula should return ... 3

Thanks ... Kha


Mike H

Dates & Text?
 
One way

=COUNTA(A1:A10)-COUNT(A1:A10)

Mike

"Ken" wrote:

Excel2003 ... My Range contains "Date" values & various "Text" values ... I
wish a formula to count the "Text" values only.

01/01/09
01/02/09
H
01/04/09
V
01/06/09
01/07/09
01/08/09
O/S
01/10/09

Formula should return ... 3

Thanks ... Kha


John[_22_]

Dates & Text?
 
HI Ken
Try this one also works: =SUMPRODUCT(ISTEXT(A10:A19)+0)
HTH
John
"Ken" wrote in message
...
Excel2003 ... My Range contains "Date" values & various "Text" values ...
I
wish a formula to count the "Text" values only.

01/01/09
01/02/09
H
01/04/09
V
01/06/09
01/07/09
01/08/09
O/S
01/10/09

Formula should return ... 3

Thanks ... Kha



Dave Curtis[_2_]

Dates & Text?
 
Hi,

Even shorter formula is just =COUNTIF(A1:A100,"*")

Dave

"Ken" wrote:

Excel2003 ... My Range contains "Date" values & various "Text" values ... I
wish a formula to count the "Text" values only.

01/01/09
01/02/09
H
01/04/09
V
01/06/09
01/07/09
01/08/09
O/S
01/10/09

Formula should return ... 3

Thanks ... Kha


Ken

Dates & Text?
 
A slight wrinkle here ... I just realized that some of the cells I thought
were BLANK or EMPTY actually contain a single apostrophe ( ' ) ... which this
formula picks up as "Text" ... I need to exclude these ... I could do another
minus (-) countif, but my problem will also compound in that I have 4 non
contiguous ranges. Just kill 1 snake @ a time I guess???

Thanks ... Kha

"Dave Curtis" wrote:

Hi,

Even shorter formula is just =COUNTIF(A1:A100,"*")

Dave

"Ken" wrote:

Excel2003 ... My Range contains "Date" values & various "Text" values ... I
wish a formula to count the "Text" values only.

01/01/09
01/02/09
H
01/04/09
V
01/06/09
01/07/09
01/08/09
O/S
01/10/09

Formula should return ... 3

Thanks ... Kha


Ken

Dates & Text?
 
Board ... Previously, I may have been writing this incorrectly ... :(

What I want for a returned value is:

The NETWORKDAYS ... between TODAY & 01/01/09 ... excluding any DAYs with
TEXT Codes (that are not WEEKENDS).

Thanks ... Kha




"Ken" wrote:

A slight wrinkle here ... I just realized that some of the cells I thought
were BLANK or EMPTY actually contain a single apostrophe ( ' ) ... which this
formula picks up as "Text" ... I need to exclude these ... I could do another
minus (-) countif, but my problem will also compound in that I have 4 non
contiguous ranges. Just kill 1 snake @ a time I guess???

Thanks ... Kha

"Dave Curtis" wrote:

Hi,

Even shorter formula is just =COUNTIF(A1:A100,"*")

Dave

"Ken" wrote:

Excel2003 ... My Range contains "Date" values & various "Text" values ... I
wish a formula to count the "Text" values only.

01/01/09
01/02/09
H
01/04/09
V
01/06/09
01/07/09
01/08/09
O/S
01/10/09

Formula should return ... 3

Thanks ... Kha



All times are GMT +1. The time now is 04:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com