Home |
Search |
Today's Posts |
#1
|
|||
|
|||
countif variable criteria
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") |
#2
|
|||
|
|||
try=sum(if(Q7:Q57=Z6,1,0)
entered as array control-shift-enter unfortunately countif won't do what you want. "neda5" wrote: 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") |
#3
|
|||
|
|||
=COUNTIF($Q$7:$Q$57,"="&Z6)
-- HTH RP (remove nothere from the email address if mailing direct) "neda5" wrote in message ... 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") |
#4
|
|||
|
|||
neda5 wrote:
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. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Countif using format criteria not number criteria? | Excel Worksheet Functions | |||
Countif using format criteria....not number criteria? | Excel Worksheet Functions | |||
counting cells (COUNTIF) based on two or more criteria | Excel Worksheet Functions | |||
Using COUNTIF with 2 criteria - SUMPRODUCT? | Excel Worksheet Functions | |||
Countif with dynamic criteria | Excel Worksheet Functions |