countif variable criteria

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using the countif formula and when I hard code the criteria it works but
when I link the criteria to a cell it doesn't. Bellow is an example of what
is happening. Can anyone help?
Thanks

work: =COUNTIF($Q$7:$Q$57,"=>0.45")
doesn't work: =COUNTIF($Q$7:$Q$57,"=>&Z6")
 
try=sum(if(Q7:Q57>=Z6,1,0)
entered as array control-shift-enter

unfortunately countif won't do what you want.
 
=COUNTIF($Q$7:$Q$57,"=>"&Z6)


--

HTH

RP
(remove nothere from the email address if mailing direct)
 
neda5 said:
I am using the countif formula and when I hard code the criteria it works but
when I link the criteria to a cell it doesn't. Bellow is an example of what
is happening. Can anyone help?
Thanks

work: =COUNTIF($Q$7:$Q$57,"=>0.45")
doesn't work: =COUNTIF($Q$7:$Q$57,"=>&Z6")

=COUNTIF($Q$7:$Q$57,">="&Z6)

The relational operator that you invoke should be >=, not => as you have it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top