Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Counting cell entries

Dear experts,
I have one column, C. In this column is a VLOOKUP to another range of cells
in another workbook. The Lookup returns whatever comment has been typed into
a particular cell on the other sheet. I want to count the number of times
comments have been entered and display it underneath the column C.

When I use COUNTA, it returns the total number of cells because the vlookup
returns the number zero if there is no comment so this gets counted as an
entry. The comments I want to count are entries like Fail, resit. Not
everyone gets a comment. How can I be more specific about what I want COUNTA
to count i.e. don't count zeros.
Thanks
Martina
PS I could count the entries from the original sheet but I just wanted to
know if it was possible to count entries in columns which have vlookups
creating the data.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Counting cell entries

Try this:

=COUNTIF(C1:C100,"*")

This will count *only* TEXT entries.

--
Biff
Microsoft Excel MVP


"jc132568" wrote in message
...
Dear experts,
I have one column, C. In this column is a VLOOKUP to another range of
cells
in another workbook. The Lookup returns whatever comment has been typed
into
a particular cell on the other sheet. I want to count the number of times
comments have been entered and display it underneath the column C.

When I use COUNTA, it returns the total number of cells because the
vlookup
returns the number zero if there is no comment so this gets counted as an
entry. The comments I want to count are entries like Fail, resit. Not
everyone gets a comment. How can I be more specific about what I want
COUNTA
to count i.e. don't count zeros.
Thanks
Martina
PS I could count the entries from the original sheet but I just wanted to
know if it was possible to count entries in columns which have vlookups
creating the data.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default Counting cell entries

However, will also count nulls ( "" ), although technically, those zero
length strings *are* text.

To count only text, and *not* count nulls:

=Countif(C1:C100,"*?")

--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

"T. Valko" wrote in message
...
Try this:

=COUNTIF(C1:C100,"*")

This will count *only* TEXT entries.

--
Biff
Microsoft Excel MVP


"jc132568" wrote in message
...
Dear experts,
I have one column, C. In this column is a VLOOKUP to another range of
cells
in another workbook. The Lookup returns whatever comment has been typed
into
a particular cell on the other sheet. I want to count the number of times
comments have been entered and display it underneath the column C.

When I use COUNTA, it returns the total number of cells because the
vlookup
returns the number zero if there is no comment so this gets counted as an
entry. The comments I want to count are entries like Fail, resit. Not
everyone gets a comment. How can I be more specific about what I want
COUNTA
to count i.e. don't count zeros.
Thanks
Martina
PS I could count the entries from the original sheet but I just wanted to
know if it was possible to count entries in columns which have vlookups
creating the data.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Counting cell entries

Thank you both, fixed my problem.
Many thanks
Martina

"RagDyeR" wrote:

However, will also count nulls ( "" ), although technically, those zero
length strings *are* text.

To count only text, and *not* count nulls:

=Countif(C1:C100,"*?")

--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

"T. Valko" wrote in message
...
Try this:

=COUNTIF(C1:C100,"*")

This will count *only* TEXT entries.

--
Biff
Microsoft Excel MVP


"jc132568" wrote in message
...
Dear experts,
I have one column, C. In this column is a VLOOKUP to another range of
cells
in another workbook. The Lookup returns whatever comment has been typed
into
a particular cell on the other sheet. I want to count the number of times
comments have been entered and display it underneath the column C.

When I use COUNTA, it returns the total number of cells because the
vlookup
returns the number zero if there is no comment so this gets counted as an
entry. The comments I want to count are entries like Fail, resit. Not
everyone gets a comment. How can I be more specific about what I want
COUNTA
to count i.e. don't count zeros.
Thanks
Martina
PS I could count the entries from the original sheet but I just wanted to
know if it was possible to count entries in columns which have vlookups
creating the data.





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default Counting cell entries

Appreciate the feed-back.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"jc132568" wrote in message
...
Thank you both, fixed my problem.
Many thanks
Martina

"RagDyeR" wrote:

However, will also count nulls ( "" ), although technically, those zero
length strings *are* text.

To count only text, and *not* count nulls:

=Countif(C1:C100,"*?")

--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

"T. Valko" wrote in message
...
Try this:

=COUNTIF(C1:C100,"*")

This will count *only* TEXT entries.

--
Biff
Microsoft Excel MVP


"jc132568" wrote in message
...
Dear experts,
I have one column, C. In this column is a VLOOKUP to another range of
cells
in another workbook. The Lookup returns whatever comment has been typed
into
a particular cell on the other sheet. I want to count the number of
times
comments have been entered and display it underneath the column C.

When I use COUNTA, it returns the total number of cells because the
vlookup
returns the number zero if there is no comment so this gets counted as
an
entry. The comments I want to count are entries like Fail, resit. Not
everyone gets a comment. How can I be more specific about what I want
COUNTA
to count i.e. don't count zeros.
Thanks
Martina
PS I could count the entries from the original sheet but I just wanted
to
know if it was possible to count entries in columns which have vlookups
creating the data.









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
Counting entries and copying pcor New Users to Excel 2 March 19th 07 03:33 PM
Counting entries Dos Equis Excel Worksheet Functions 4 November 20th 06 03:24 AM
Counting unique entries DianeandChipps Excel Discussion (Misc queries) 1 October 14th 06 07:35 PM
Counting Entries Jimbo Excel Worksheet Functions 6 April 29th 05 08:27 PM
Counting Entries in a Cell Sh0t2bts Excel Worksheet Functions 0 February 15th 05 10:08 AM


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