PC Review


Reply
Thread Tools Rate Thread

COUNTIF cell reference won't work

 
 
Kenny Newbry
Guest
Posts: n/a
 
      26th Jun 2007
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 With Quote
 
 
 
 
T. Valko
Guest
Posts: n/a
 
      26th Jun 2007
There's nothing wrong with your formula.

>I can't make the formula work


What exactly does that mean?

Biff

"Kenny Newbry" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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 With Quote
 
Vasant Nanavati
Guest
Posts: n/a
 
      26th Jun 2007
It works for me. In what way does it not work? I assume G1 contains a
number.
________________________________________________________________________



"Kenny Newbry" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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 With Quote
 
Kenny Newbry
Guest
Posts: n/a
 
      26th Jun 2007
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> There's nothing wrong with your formula.
>
> >I can't make the formula work

>
> What exactly does that mean?
>
> Biff
>
> "Kenny Newbry" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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 With Quote
 
=?Utf-8?B?Ymo=?=
Guest
Posts: n/a
 
      26th Jun 2007
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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > There's nothing wrong with your formula.
> >
> > >I can't make the formula work

> >
> > What exactly does that mean?
> >
> > Biff
> >
> > "Kenny Newbry" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > 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 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
COUNTIF - Cell reference does not work !! ideas2050@math.net Microsoft Excel Programming 1 26th Dec 2005 09:31 AM
COUNTIF less than cell reference stevepain Microsoft Excel Misc 3 12th Jul 2005 04:17 PM
Countif with cell reference =?Utf-8?B?Tmljaw==?= Microsoft Excel Worksheet Functions 2 6th May 2005 04:48 PM
countif cell reference Bob Microsoft Excel Worksheet Functions 2 27th Jan 2004 10:36 PM
COUNTIF - Cell reference Fredrik Microsoft Excel Discussion 3 24th Sep 2003 04:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:59 AM.