View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Griff Griff is offline
external usenet poster
 
Posts: 22
Default countif with cell ref vs fixed number...

I am trying to use countif to establish whether a range of cells have a value
greater than or equal to a number in another cell - the number is 21.8% and
lives in cell C4

this formula works fine =COUNTIF(C16:R16,"=21.8%")

however if I try and make this work using the cell ref I get a result of
zero, eg

=COUNTIF(C16:R16,"=C4")

Please can someone tell me what I am doing wrong, or is this a limitation of
excel?

Many thanks in advance for your help,

griff