Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default COUNTIF cell reference won't work

I'm trying to use a cell reference in a COUNTIF statement:

=COUNTIF(C:C,""&G1)

For some reason I can't make the formula work. According all I've read,
this is the syntax that I should use.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default COUNTIF cell reference won't work

There's nothing wrong with your formula.

I can't make the formula work


What exactly does that mean?

Biff

"Kenny Newbry" wrote in message
...
I'm trying to use a cell reference in a COUNTIF statement:

=COUNTIF(C:C,""&G1)

For some reason I can't make the formula work. According all I've read,
this is the syntax that I should use.




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,080
Default COUNTIF cell reference won't work

It works for me. In what way does it not work? I assume G1 contains a
number.
__________________________________________________ ______________________



"Kenny Newbry" wrote in message
...
I'm trying to use a cell reference in a COUNTIF statement:

=COUNTIF(C:C,""&G1)

For some reason I can't make the formula work. According all I've read,
this is the syntax that I should use.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default COUNTIF cell reference won't work

The formula returns a value of "0" regardless of the contents of the
referenced cell. When I open the function window and look at the Criteria
field, it shows #VALUE! out to the right. No matter what I put in the
referenced cell, what cell I choose to reference, or what range I select
that's what I come up with. If I replace the cell reference with the value
of the referenced cell inside the quotes it works fine, but I cannot get it
to accept a reference.

"T. Valko" wrote in message
...
There's nothing wrong with your formula.

I can't make the formula work


What exactly does that mean?

Biff

"Kenny Newbry" wrote in message
...
I'm trying to use a cell reference in a COUNTIF statement:

=COUNTIF(C:C,""&G1)

For some reason I can't make the formula work. According all I've read,
this is the syntax that I should use.






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default COUNTIF cell reference won't work

if you do not use the ""& and just put in the cell reference, do you still
get the #Value in the function window, If so , you probably have a corrupted
program?
if it is OK,try < and = and see what you get.
you might be able to use a workaround of
=counta(C:C)-Countif(C:C,"<="&G1)

I also do not know why, but I occassionally have to put spaces around the &
for a fuction to work correctly.


"Kenny Newbry" wrote:

The formula returns a value of "0" regardless of the contents of the
referenced cell. When I open the function window and look at the Criteria
field, it shows #VALUE! out to the right. No matter what I put in the
referenced cell, what cell I choose to reference, or what range I select
that's what I come up with. If I replace the cell reference with the value
of the referenced cell inside the quotes it works fine, but I cannot get it
to accept a reference.

"T. Valko" wrote in message
...
There's nothing wrong with your formula.

I can't make the formula work


What exactly does that mean?

Biff

"Kenny Newbry" wrote in message
...
I'm trying to use a cell reference in a COUNTIF statement:

=COUNTIF(C:C,""&G1)

For some reason I can't make the formula work. According all I've read,
this is the syntax that I should use.







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
Now With Index -- IF Function Does Not Work With Cell Reference Gary Excel Worksheet Functions 2 June 26th 06 02:16 AM
IF Function Does Not Work With Cell Reference Gary Excel Worksheet Functions 4 June 25th 06 05:57 PM
COUNTIF less than cell reference stevepain Excel Discussion (Misc queries) 3 July 12th 05 04:17 PM
Could the "Criteria" in COUNTIF function be a cell reference? JohnSheenWSN Excel Worksheet Functions 2 June 16th 05 08:07 PM
Countif with cell reference Nick Excel Worksheet Functions 2 May 6th 05 04:48 PM


All times are GMT +1. The time now is 10:38 PM.

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"