PC Review


Reply
 
 
carlee
Guest
Posts: n/a
 
      14th Jan 2010
I am trying to use CountA to count non blank cells. But all the cells have
embedded metadata (user name and author) in it and therefore the countA will
return total number of rows in the range. How could I could get rid of the
embedded data?.
Please see example


B C E F I J K
1 S R* R S*
2 S R* R S*
3 S S S* S
4 S S S* S
5 S* S* S* S*
6 S* S* S* S*
7 S* S* R* S*
8 S* S* R* S*
9 S* S* R* S*
10 S* S* S* S*
11 S* S* S* S*
12 I* R* R* S*
13 R* R* R* S*
14 S S S* S
15 S
16 S S* S
17 S* S* R* S*
18 S
19 S S* S
20 S* S* R* S*
21 S S S* S
22 S* S* S S*
23 S* S* S S*
24 S S S* S
CountA: 24 24 24 25 24 24 24

--
carlee
 
Reply With Quote
 
 
 
 
Gary''s Student
Guest
Posts: n/a
 
      14th Jan 2010
Just subtract out the cells containing unwanted data. Say we want to count
non-blank cells in A1 thru Z100, but not include "junk".

=COUNTA(A1:Z100)-COUNTIF(A1:Z100,"junk")
--
Gary''s Student - gsnu200909


"carlee" wrote:

> I am trying to use CountA to count non blank cells. But all the cells have
> embedded metadata (user name and author) in it and therefore the countA will
> return total number of rows in the range. How could I could get rid of the
> embedded data?.
> Please see example
>
>
> B C E F I J K
> 1 S R* R S*
> 2 S R* R S*
> 3 S S S* S
> 4 S S S* S
> 5 S* S* S* S*
> 6 S* S* S* S*
> 7 S* S* R* S*
> 8 S* S* R* S*
> 9 S* S* R* S*
> 10 S* S* S* S*
> 11 S* S* S* S*
> 12 I* R* R* S*
> 13 R* R* R* S*
> 14 S S S* S
> 15 S
> 16 S S* S
> 17 S* S* R* S*
> 18 S
> 19 S S* S
> 20 S* S* R* S*
> 21 S S S* S
> 22 S* S* S S*
> 23 S* S* S S*
> 24 S S S* S
> CountA: 24 24 24 25 24 24 24
>
> --
> carlee

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: Counta Sean Timmons Microsoft Excel Misc 1 25th Sep 2008 07:13 PM
COUNTA IF(NOT) jiwolf Microsoft Excel Misc 2 25th Mar 2005 08:00 PM
counta =?Utf-8?B?cmFib2w=?= Microsoft Excel Misc 2 6th Mar 2005 05:12 PM
COUNTA Function not working =COUNTA(C3:C69,"NH") =?Utf-8?B?TWlrZWluTkg=?= Microsoft Excel Worksheet Functions 2 8th Nov 2004 01:19 AM
COUNTA R B Microsoft Excel Worksheet Functions 1 11th Sep 2004 04:19 PM


Features
 

Advertising
 

Newsgroups
 


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